Yet another Cassandra database driver
Project description
Yet another Cassandra (CQL protocol) database driver.
Requirement
Python3.5+
Example
Simple example
import minicql conn = minicql.connect('server_name', 'keyspace') cur = conn.cursor() cur.execute("select * from test") for c in cur.fetchall(): print(c) conn.close()
Use Cosmos DB cassandra API
import minicql conn = minicql.connect( 'xxxxx.cassandra.cosmos.azure.com', 'keyspace', user='xxxxx', password='?????', port=10350, use_ssl=True ) ...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
minicql-0.3.0.tar.gz
(5.8 kB
view hashes)