harlequin-cassandra
[!CAUTION] This adapter is unstable and experimental.
Proceed with caution!
[!WARNING] This adapter does not aim to support Scylla.
[!NOTE] This adapter currently does not support execution profiles, load-balancing polices.
This is a Cassandra adapter for Harlequin.
It is based on Datastax' cassandra-driver.
Integration With Harlequin
Some quirks are to be expected.
Cassandra doesn't use cursor(s), thus HarlequinCursor and HarlequinConnection
behave differently in this adapter.
A manual translation of cassandra-driver objects types to Python types is
required for Apache Arrow to work correctly.
In this adapter, Transaction Modes refers to
Cassandra's consistency levels.
Installation
harlequin-cassandra depends on harlequin, so installing this package will also install Harlequin.
Using pip
To install this adapter into an activated virtual environment:
pip install harlequin-cassandra
Using poetry
poetry add harlequin-cassandra
Using pipx
If you do not already have Harlequin installed:
pip install harlequin-cassandra
If you would like to add the Cassandra adapter to an existing Harlequin installation:
pipx inject harlequin harlequin-cassandra
As an Extra
pip install harlequin[cassandra]
Usage and Configuration
You can open Harlequin with the Cassandra adapter by selecting it with the -a option and passing an initial hostname and credentials(if required).
harlequin -a cassandra "localhost" --username "cassandra" --password "cassandra"
Many more options are available; to see the full list, run:
harlequin --help
Things To Explore
Missing advanced configuration that may be of interest:
- Add an option to support execution profiles.
- Add an option to support load-balancing policies.
Metadata
Release files for harlequin-cassandra 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| harlequin_cassandra-0.1.4.tar.gz | 9.2 kB | Without provenance | Details for harlequin_cassandra-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| harlequin_cassandra-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for harlequin_cassandra-0.1.4-py3-none-any.whl |
Total release size: 18.7 kB
Release files / harlequin_cassandra-0.1.4.tar.gz
| Download URL | harlequin_cassandra-0.1.4.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f4d07455056606f13451ac27c148ffce7324ee65a2abc242af24443c5bcbe2d
|
|
BLAKE2b-256 checksum How to use checksums |
6fb6837778b8ead437c06e0f28cc3969ef8df89d797e165ec0d6518cb34fa0e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.6
|
Release files / harlequin_cassandra-0.1.4-py3-none-any.whl
| Download URL | harlequin_cassandra-0.1.4-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8c7dee546e30ea33888f614ae45dacffc462252be964f166239bc339e740e87
|
|
BLAKE2b-256 checksum How to use checksums |
3bf096915a9a23d7f2ac404f8f580c3b1b4d6c58e68113b022ad4d6fe4776c25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.6
|
Security for harlequin-cassandra 0.1.4
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.