apache/cassandra-python-driver
Python Driver for Apache Cassandra® observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 93
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4804
- days_rel: n/a
- days_push: 43
- n_releases_24m: 0
Adoption not part of the score
1427 stars · 585 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official Python client driver for Apache Cassandra (and DataStax Enterprise/Astra), communicating via Cassandra's binary protocol and CQL3. It provides sync/async execution, prepared and batch statements, connection pooling, load balancing, retry policies, and an integrated object mapper (cqlengine).
Use cases
- connect to cassandra from python
- run cql queries from a python application
- execute async queries against cassandra
- map python classes to cassandra tables
- connect to datastax astra cloud database
- tune load balancing and retry policies for cassandra
- use prepared statements with cassandra in python
When to choose
- your application is written in Python and talks to Apache Cassandra 2.1+ or DSE 4.7+
- you need async IO, connection pooling, and tunable load-balancing/retry policies
- you want an object mapper (cqlengine) for Cassandra tables
- you connect to DataStax Astra or use DSE features like Graph or GSSAPI auth
When to avoid
- you use a different database (e.g. MongoDB, PostgreSQL) - use its dedicated driver
- you need a non-Python language - use the Java, C++, C#, or Node.js drivers
- you run on big-endian systems, which are not supported
Facets
library · maturity stable
database-driver orm serialization caching databases developer-tools backend big-data python windows cross-platform cassandra cql nosql datastax asyncio connection-pooling object-mapper linux macos
6 sources
- readme: https://github.com/apache/cassandra-python-driver · fetched 2026-08-28 · ab1931e32ae3
- homepage: https://docs.datastax.com/en/developer/python-driver/3.29/index.html · fetched 2026-08-29 · 58c7e818880e
- site_page: https://docs.datastax.com/en/developer/python-driver/3.29/installation · fetched 2026-08-29 · 15d8ed7c02ad
- site_page: https://docs.datastax.com/en/developer/python-driver/3.29/CHANGELOG · fetched 2026-08-29 · aea025d6756f
- site_page: https://docs.datastax.com/en/developer/python-driver/3.29/faq · fetched 2026-08-29 · 80f8d20d8085
- site_page: https://docs.datastax.com/en/developer/python-driver/3.29/api · fetched 2026-08-29 · 41fd7c7b8bf4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apache/cassandra-python-driver | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="apache/cassandra-python-driver")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem