Pycassa
This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. (May 2025) |
pycassa is a client library for Apache Cassandra.[1]
It is a Python client library having following features:
- Auto-failover for normal or thread-local connections
- Batch interface
- Connection pooling
- Method to map an existing class to a Cassandra column family
Like Apache Cassandra, pycassa is open-source.[1]
Code example
The following code adds the user name with the corresponding password to the column families (pycassa.ColumnFamily) USER and USERNAME:[2]
username = "jericevans"
password = "**********"
useruuid = str(uuid())
columns = {"id": useruuid, "username": username, "password": password}
USER.insert(useruuid, columns)
USERNAME.insert(username, {"id": useruuid})
References
- ^ a b "pycassa". github. Retrieved 2011-03-18.
- ^ "Cassandra By Example: Tying it all together". Rackspace. Archived from the original on 2011-02-21. Retrieved 2011-03-18.
- Tiwari, Shashank (31 August 2011). Professional NoSQL. John Wiley & Sons. p. 172. ISBN 978-1-118-16780-9. Retrieved 10 May 2025.
- Ramakrishnan, Lavanya; Mantha, Pradeep K.; Yao, Yushu; Canon, Richard S. "Evaluation of NoSQL and Array Databases for Scientific Applications" (PDF). The International Conference for High Performance Computing, Networking, Storage, and Analysis. Lawrence Berkeley National Lab
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.