Skip to main content

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.

Files for minicql, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size minicql-0.3.0.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page