$npx skillfedfor your agent

cassandra-driver

Apache Cassandra Python Driver

Worth itPyPI Python ModulesReleased Jul 20268.8M downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — cassandra_driver-3.30.1-cp310-cp310-macosx_10_9_x86_64.whl · cassandra_driver-3.30.1-cp310-cp310-macosx_11_0_arm64.whl · cassandra_driver-3.30.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
v3.30.1 · released 2026-07-06 · Python >=3.10 · 2 runtime deps: geomet, Deprecated

Yes. cassandra-driver is the official, actively maintained client for Cassandra in Python, with no known vulnerabilities, permissive licensing, and broad platform support. Install friction is moderate but manageable via prebuilt wheels. Choose it if you need to query Cassandra or DSE; it is the standard choice for this use case.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Cassandra (2.1+) or DataStax Enterprise (4.7+) instance accessible on the network; Python 3.10 or later required.
  • Medium install friction due to compiled wheels; prebuilt binaries available for Python 3.10, 3.11, 3.12, and 3.13 on macOS (Intel and ARM), Linux (x86_64 and aarch64), and Windows.
  • Active maintenance with a recent release 39 days ago and ongoing repository activity.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions; suitable for proprietary projects.

last release 2026-07-06 (39 days) · last repo commit 2026-07-21 · 1,427 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,784,794 downloads/mo, #1,595 on PyPI

Verify before relying

pip install cassandra-driver

from cassandra.cluster import Cluster

cluster = Cluster(['localhost'])
session = cluster.connect()
rows = session.execute('SELECT * FROM system.local')
for row in rows:
    print(row)
  • Whether the object mapper (cqlengine) is production-ready for all use cases or has known limitations.
  • Performance characteristics under high concurrency or large result sets compared to alternatives.
  • Support status for PyPy beyond the classifier listing.
Same gist for agents: .md · .json

What it is and what it does

cassandra-driver is the official Apache Cassandra Python client, maintained by DataStax. It provides both synchronous and asynchronous APIs for executing CQL queries against Cassandra clusters, with built-in connection pooling, automatic node discovery, and configurable load balancing and retry policies. The driver handles the binary protocol communication directly and supports prepared statements, batch operations, and concurrent execution utilities.

The package includes an integrated object mapper (cqlengine) for mapping Python classes to Cassandra tables, making it suitable for both low-level query control and higher-level ORM workflows. It supports DataStax Astra (cloud), DSE Graph execution, geometric type serialization, and multiple authentication schemes. Runtime dependencies are minimal (geomet and Deprecated), keeping the footprint lean.

Use it for

  • Building Python applications that query and write to Apache Cassandra or DataStax Enterprise clusters using CQL.
  • Implementing object-relational mapping for Cassandra tables via cqlengine without a separate ORM library.
  • Executing asynchronous batch operations and concurrent queries to maximize throughput in data pipelines.
  • Connecting to DataStax Astra cloud databases from Python applications.
  • Handling automatic failover and reconnection in distributed Cassandra deployments.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

cassandra-driver is the official, actively maintained client for Cassandra in Python, with no known vulnerabilities, permissive licensing, and broad platform support. Install friction is moderate but manageable via prebuilt wheels. Choose it if you need to query Cassandra or DSE; it is the standard choice for this use case.

Install

cassandra-driver on PyPI

Before you install

Medium install friction due to compiled wheels; prebuilt binaries available for Python 3.10, 3.11, 3.12, and 3.13 on macOS (Intel and ARM), Linux (x86_64 and aarch64), and Windows. Active maintenance with a recent release 39 days ago and ongoing repository activity.

Requires a running Cassandra (2.1+) or DataStax Enterprise (4.7+) instance accessible on the network; Python 3.10 or later required.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions; suitable for proprietary projects.

Quickstart

pip install cassandra-driver

from cassandra.cluster import Cluster

cluster = Cluster(['localhost'])
session = cluster.connect()
rows = session.execute('SELECT * FROM system.local')
for row in rows:
    print(row)

Verify before relying

  • Whether the object mapper (cqlengine) is production-ready for all use cases or has known limitations.
  • Performance characteristics under high concurrency or large result sets compared to alternatives.
  • Support status for PyPy beyond the classifier listing.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
2 packages
geometDeprecated
MaintenanceActively maintained 39 days since the last release
Last repo commit
First released
Downloads8,784,794 / month, #1,595 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: cassandra_driver-3.30.1-cp310-cp310-macosx_10_9_x86_64.whl; cassandra_driver-3.30.1-cp310-cp310-macosx_11_0_arm64.whl; cassandra_driver-3.30.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; cassandra_driver-3.30.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; cassandra_driver-3.30.1-cp310-cp310-win_amd64.whl; cassandra_driver-3.30.1-cp311-cp311-macosx_10_9_x86_64.whl; cassandra_driver-3.30.1-cp311-cp311-macosx_11_0_arm64.whl; cassandra_driver-3.30.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; cassandra_driver-3.30.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; cassandra_driver-3.30.1-cp311-cp311-win_amd64.whl; cassandra_driver-3.30.1-cp312-cp312-macosx_10_13_x86_64.whl; cassandra_driver-3.30.1-cp312-cp312-macosx_11_0_arm64.whl; cassandra_driver-3.30.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; cassandra_driver-3.30.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; cassandra_driver-3.30.1-cp312-cp312-win_amd64.whl; cassandra_driver-3.30.1-cp313-cp313-macosx_10_13_x86_64.whl; cassandra_driver-3.30.1-cp313-cp313-macosx_11_0_arm64.whl; cassandra_driver-3.30.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; cassandra_driver-3.30.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; cassandra_driver-3.30.1-cp313-cp313-win_amd64.whl

Tags

Capabilities
cassandra python clientcql query drivercassandra connection poolingasync cassandra queriescassandra orm mapperdse python drivercassandra batch statements
Topics
cassandradistributed-databaseasync-io
PyPI keywords
cassandracqlormdsegraph

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 › “async cassandra queries”

  • cassandra-driverA Python client library for Apache Cassandra and DataStax Enterprise…
  • scylla-driverA Python client library for querying and managing Scylla and Apache…
  • cqlshcqlsh is a command-line client for executing CQL queries against…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also cassandra-sigv4 · cassio · cqlsh · scylla-driver · acsylla · opentelemetry-instrumentation-cassandra · astrapy · apache-airflow-providers-apache-cassandra · langchain-astradb · neo4j-driver