DSE and OSS drivers unified under single DataStax driver

As of the 3.21.0 release of the Datastax Python Driver for Apache Cassandra® (OSS Driver), the Datastax Enterprise Python Driver (DSE driver) functionality has been merged into this single, DataStax driver. Please refer to the blog post for more information on this change.

DataStax Enterprise Python Driver

This is the documentation for the DataStax Enterprise Python Driver for DSE.

The driver supports DSE 4.7+ and Python 2.7, 3.3, 3.4, 3.5, 3.6 and 3.7.

Note: DataStax products do not support big-endian systems.



How to install the driver.

Getting Started

A guide through the first steps of connecting to Cassandra and executing queries

Execution Profiles

An introduction to a more flexible way of configuring request execution

Lightweight Transactions (Compare-and-set)

Working with results of conditional requests

Object Mapper

Introduction to the integrated object mapper, cqlengine

Performance Notes

Tips for getting good performance.

Paging Large Queries

Notes on paging large query results


An overview of the security features of the driver


A guide to upgrading versions of the driver

User Defined Types

Working with Cassandra 2.1’s user-defined types

Working with Dates and Times

Some discussion on the driver’s approach to working with timestamp, date, time types


A guide to connecting to Datastax Apollo

Frequently Asked Questions

A collection of Frequently Asked Questions

DSE Authentication

Example configuring DSE authentication

DSE Geometry Types

Working with DSE geometry types

DSE Graph Queries

Graph queries with DSE Graph

API Documentation

The API documentation.


Log of changes to the driver, organized by version.

Getting Help

Visit the FAQ section in this documentation.

Please send questions to the mailing list.

Alternatively, you can use the #datastax-drivers channel in the DataStax Acadamy Slack to ask questions in real time.

Reporting Issues

Please report any bugs and make any feature requests on the JIRA issue tracker.

If you would like to contribute, please feel free to open a pull request.