DataStax Enterprise Python Driver
A modern, feature-rich and highly-tunable Python client library for DataStax Enterprise (4.7+) using exclusively Cassandra’s binary protocol and Cassandra Query Language v3.
The driver supports Python 2.7, 3.3, 3.4, 3.5, and 3.6.
Note: DataStax products do not support big-endian systems.
Help us focus our efforts! Provide your input on the Platform and Runtime Survey (we kept it short).
- Synchronous and Asynchronous APIs
- Simple, Prepared, and Batch statements
- Asynchronous IO, parallel execution, request pipelining
- Automatic node discovery
- Automatic reconnection
- Configurable load balancing and retry policies
- Concurrent execution utilities
- Object mapper
- DSE Graph execution API
- DSE Geometric type serialization
- DSE PlainText and GSSAPI authentication
A fluent API extension for DSE Graph is available in the dse-graph package. For more information, see the documentation here.
Installation through pip is recommended:
$ pip install dse-driver
For more complete installation instructions, see the installation guide.
The documentation can be found online here.
A couple of links for getting up to speed:
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.
Copyright 2016-2017 DataStax
Licensed under the DataStax DSE Driver License; you may not use this software except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.