Pycassa
pycassa is a client library for Apache Cassandra.
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
Code example
The following code adds the user name with the corresponding password to the column familiesUSER and USERNAME:username = "jericevans"
password = "**********"
useruuid = str)
columns =
USER.insert
USERNAME.insert