Skip to main content

License Downloads PyPI version

A Jupyter kernel for Apache Cassandra

To install:

pip install cqljupyter

To configure the Cassandra host or IP address:

python -m cqljupyter.install  [<hostname> <port>] [--ssl] [-u user] [-p password]

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

then start the notebook:

jupyter notebook

In the notebook interface, select CQL from the New menu

To run the sample CQL:

jupyter notebook Sample.ipynb

Syntax

All standard CQL syntax is supported since this package reuses the CQLSH python module.

Auto-complete

Use the TAB key to invoke auto-complete

HTML

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

Build

Build using:

python -m build

Implementation Notes

  1. The cqlsh.py script was ported from 3.11 and converted using 2to3 to python3 syntax

    https://github.com/apache/cassandra/blob/cassandra-3.11.10/bin/cqlsh.py

    ToDo: upgrade to Cassandra 4.0 cqlsh

For details of how this works, see these Jupyter docs:

Author

This package was developed by Brad Schoening for Python 3. It is based upon earlier work by Steve Lowenthal and uses the open source Apache Cassandra CQLSH library.

License

This project is licensed under the terms of the Apache 2.0 license.

Metadata

Release files for cqljupyter 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cqljupyter 1.0.3
File Size Uploaded Provenance
cqljupyter-1.0.3.tar.gz 32.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cqljupyter 1.0.3
File Interpreter ABI Platform
cqljupyter-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 65.9 kB

Release files / cqljupyter-1.0.3.tar.gz

Download URL cqljupyter-1.0.3.tar.gz
Size 32.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2a3ea745a0ae5f401e0c129687a6566e4be3526615b43ed00902608d88da88ee
BLAKE2b-256 checksum
How to use checksums
07902a3fe0bc36870e17d78f7ead24c46a2bf5d7fca24c657a49058e63b5e616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.9

Release files / cqljupyter-1.0.3-py3-none-any.whl

Download URL cqljupyter-1.0.3-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ed2790ef7132d90c8b6023994da97dc88b46caa71eec75662d60aa678589acc
BLAKE2b-256 checksum
How to use checksums
c50555f6493692aab7e60ca8e808f8a63e973a606818dd76ca934801bdbe037b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.9

Security for cqljupyter 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page