cqlsh
cqlsh is a Python-based command-line client for running CQL commands on a cassandra cluster.
Decision gist · record as of 2026-08-14
Yes, if you need to query Cassandra clusters and want to avoid installing the full Cassandra server. The package is actively maintained, has no known vulnerabilities, supports modern Python versions, and carries a permissive license. Install it when you need a lightweight Cassandra client for development, operations, or automation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Cassandra cluster accessible at the specified host and port; cassandra-driver will fail to connect if the cluster is unavailable.
- Low install friction with a pure Python wheel.
- The package is actively maintained with a recent release (120 days ago) and supports current Python versions (3.10–3.14).
License · maintenance · safety
permissive license (permissive) — Licensed under the Apache License (permissive treatment), which permits commercial and private use with minimal restrictions—typical for Apache Cassandra tooling.
last release 2026-04-16 (120 days) · last repo commit 2026-04-16 · 25 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 170,928 downloads/mo, #10,384 on PyPI
Alternatives
Verify before relying
pip install cqlsh
cqlsh --help
# or connect to a running Cassandra cluster:
cqlsh 127.0.0.1 9042- Whether the package works as a library (importable module) or only as a command-line tool—the description mentions module packaging but does not detail the API surface.
What it is and what it does
cqlsh is a Python-based command-line interface for Cassandra clusters, extracted from the Apache Cassandra project and repackaged as a standalone PyPI module. Normally it ships as part of a full Cassandra installation; this package lets you install just the client without the server, reducing download and disk footprint. It depends on cassandra-driver for cluster communication, pure-sasl for authentication, and wcwidth for terminal formatting.
You run it as a shell command (cqlsh) to connect to a Cassandra cluster and execute CQL queries interactively. The package tracks Cassandra releases—version 6.2.2 packages cqlsh 6.2.0 from Cassandra 5.0.5—and includes features like command history, replica information display, and role autocompletion. It requires Python 3.10 or later.
Use it for
- Connect to a Cassandra cluster from a development machine or CI/CD pipeline without installing the full Cassandra server.
- Run ad-hoc CQL queries and schema inspections against a remote Cassandra cluster from the command line.
- Automate Cassandra database operations (backups, schema changes, data queries) in scripts that invoke cqlsh as a subprocess.
- Troubleshoot and debug Cassandra cluster issues by interactively querying the database and inspecting cluster state.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to query Cassandra clusters and want to avoid installing the full Cassandra server.
The package is actively maintained, has no known vulnerabilities, supports modern Python versions, and carries a permissive license. Install it when you need a lightweight Cassandra client for development, operations, or automation.
Install
cqlsh on PyPI
Before you install
Low install friction with a pure Python wheel. The package is actively maintained with a recent release (120 days ago) and supports current Python versions (3.10–3.14). Three runtime dependencies (cassandra-driver, pure-sasl, wcwidth) are standard and well-established.
Requires a running Cassandra cluster accessible at the specified host and port; cassandra-driver will fail to connect if the cluster is unavailable.
License in practice
Licensed under the Apache License (permissive treatment), which permits commercial and private use with minimal restrictions—typical for Apache Cassandra tooling.
Quickstart
pip install cqlsh
cqlsh --help
# or connect to a running Cassandra cluster:
cqlsh 127.0.0.1 9042
Verify before relying
- Whether the package works as a library (importable module) or only as a command-line tool—the description mentions module packaging but does not detail the API surface.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagescassandra-driverpure-saslwcwidth |
| Maintenance | Actively maintained 120 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 170,928 / month, #10,384 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: cqlsh-6.2.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cassandra command line client”
- cqlshcqlsh is a command-line client for executing CQL queries against…
- cassandra-driverA Python client library for Apache Cassandra and DataStax Enterprise…
- scylla-driverA Python client library for querying and managing Scylla and Apache…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also cassandra-driver · scylla-driver · acsylla · cassandra-sigv4 · apache-airflow-providers-apache-cassandra · opentelemetry-instrumentation-cassandra · cassio · coiled · pygeofilter · sfctl