Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

CQL Kernel for Jupyter based on cqlsh

Project Description
A Jupyter kernel for the Apache Cassandra Database

To install::

pip install cql_kernel
python -m cql_kernel.install [<cassandra hostname>]

You can always rerun the the above command to change the hostname. It's best to restart Jupyter after running it.
You can get away with closing your notebook, and then refreshing the main Jupyter page too, but that's error-prone.

To use it, run one of::

ipython notebook
# In the notebook interface, select CQL from the 'New' menu
ipython qtconsole --kernel cql
ipython console --kernel cql

Syntax::

All regular cqlsh syntax is supported.

Auto-complete::

Use the <TAB> key to invoke auto-complete

%%html magic::

If you start a cell with %%html, the html will be returned and rendered

For details of how this works, see the Jupyter docs on `wrapper kernels
<http://jupyter-client.readthedocs.org/en/latest/wrapperkernels.html>`_, and
Pexpect's docs on the `replwrap module
<http://pexpect.readthedocs.org/en/latest/api/replwrap.html>`_

To build::

python setup.py sdist upload
python setup.py bdist upload
Release History

Release History

This version
History Node

3.0.1

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cql_kernel-3.0.1.tar.gz (350.5 kB) Copy SHA256 Checksum SHA256 Source May 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting