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
For details of how this works, see the Jupyter docs on wrapper kernels, and Pexpect’s docs on the replwrap module
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
cql_kernel-0.2.1.tar.gz
(87.3 kB
view hashes)
Built Distribution
Close
Hashes for cql_kernel-0.2.1.macosx-10.10-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7701c8e3ad41c2c22aa313ad4a61c136c7dbbd9e9fe54c9e6b38ed2d7cc901e4 |
|
MD5 | 59fa347712168693a30590bc44dd2e51 |
|
BLAKE2b-256 | 89ddb5817153c3e5d19aa0959d35074d71b475c615701251e9b84d1752a9f532 |