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 details)
File details
Details for the file minicql-0.3.0.tar.gz.
File metadata
- Download URL: minicql-0.3.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7367785d2fea615da74d52616a608ac3eec5ec89a70ed6a8475aaf41218fb552
|
|
| MD5 |
e0a398793cf4ccb238a50b0f60fae5fc
|
|
| BLAKE2b-256 |
e6327cccdb0da96b96ee5bbe4c5d0d850d3e1159c6c2aa5282595300de6f2dba
|