DataStax Python driver for Apache Cassandra®

This page describes the versions of the DataStax Python driver that are compatible with DSE, HCD, Astra DB, and open-source Cassandra.

DataStax officially supports the latest 12 months of releases, and DataStax recommends using the latest driver version whenever possible. Compatibility isn’t guaranteed for earlier versions.

New features and bug fixes are developed on the latest minor version of the driver, and users are encouraged to stay current with those minor releases. APIs are maintained stable according to semantic versioning conventions, and upgrades should be trivial.

Unless otherwise specified, version ranges include all patch versions. For example, a range of 4.0 to 4.3 includes all versions from 4.0.0 to the last 4.3.z release.

Icon legend
Icon Description

Fully compatible

Fully compatible

Partially compatible

Partially compatible

Not compatible

Python driver ownership and other important changes in version 3.30

Starting with versions 3.30, the Python driver is maintained by the Apache Software Foundation (ASF). Prior versions were maintained by DataStax.

As of version 3.30, there is no change to the Python driver package name. You can still install the driver with pip install cassandra-driver.

However, there are important changes in version 3.30 that you should be aware of, including use of pyproject.toml, the DRIVER_NAME in STARTUP messages, and the supported Python versions. For more information, see the Python driver upgrade guide.

Python driver compatibility

  • Cassandra

  • DSE

  • HCD

  • Astra DB

Driver version

Apache Cassandra® version

5.0+

4.0+

3.0+

3.30a and later Latest cassandra-driver release on GitHub

Fully compatible

Fully compatible

Fully compatible

3.29.2 to 3.29.z

Fully compatible

Fully compatible

Fully compatible

3.28 to 3.29.1

Partially compatible b

Fully compatible

Fully compatible

3.25 to 3.27

Partially compatible c

Fully compatible

Fully compatible

3.0 to 3.24

Partially compatible f

Fully compatible

Earlier versions

a Starting with this version, this driver is maintained by the Apache Software Foundation (ASF).

b Doesn’t support vectors of arbitrary subtype.

c Doesn’t support new features introduced in Cassandra 5.0 or later. Might not be compatible with changes to existing functionality released in Cassandra 5.0 or later.

f Limited to the Cassandra 3.x API.

Driver version

DataStax Enterprise (DSE) version

6.9

6.8

5.1

3.30a and later Latest cassandra-driver release on GitHub

Fully compatible

Fully compatible

Fully compatible

3.28 to 3.29

Fully compatible

Fully compatible

Fully compatible

3.22 to 3.27

Partially compatible e

Fully compatible

Fully compatible

3.21

Partially compatible e

Partially compatible

Fully compatible

Earlier versions

a Starting with this version, this driver is maintained by the Apache Software Foundation (ASF).

e Doesn’t support the vector type.

Driver version

Hyper-Converged Database (HCD) version

1.1+

3.30a and later Latest cassandra-driver release on GitHub

Fully compatible

3.28 to 3.29

Fully compatible

3.25 to 3.27

Partially compatible e

3.22 to 3.24

Partially compatible e

Earlier versions

a Starting with this version, this driver is maintained by the Apache Software Foundation (ASF).

e Doesn’t support the vector type.

Driver version

Astra DB compatibility

3.30a and later Latest cassandra-driver release on GitHub

Fully compatible

3.28 to 3.29

Fully compatible

3.20 to 3.27

Partially compatible e

Earlier versions

a Starting with this version, this driver is maintained by the Apache Software Foundation (ASF).

e Doesn’t support the vector type.

DSE Python driver (EOL)

The DSE-only Python driver reached EOL in January 2022.

For more information, see End-of-life drivers for Apache Cassandra®.

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM