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.

Source Distribution

minicql-0.3.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page