pycassa
It is proposed that this article be deleted because of the following concern:
If you can address this concern by improving, copyediting, sourcing, renaming, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it. This message has remained in place for seven days, so the article may be deleted without further notice. Find sources: "Pycassa" – news · newspapers · books · scholar · JSTOR Nominator: Please consider notifying the author/project: {{subst:proposed deletion notify|Pycassa|concern=Fails [[WP:GNG]]}} ~~~~ Timestamp: 20250505184500 18:45, 5 May 2025 (UTC) Administrators: delete |
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.
External links