Skip to main content

DataStax Driver for Apache Cassandra

Project description

https://travis-ci.com/datastax/python-driver.png?branch=master

A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+) and DataStax Enterprise (4.7+) using exclusively Cassandra’s binary protocol and Cassandra Query Language v3.

The driver supports Python 3.8 through 3.12.

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

Features

Installation

Installation through pip is recommended:

$ pip install cassandra-driver

For more complete installation instructions, see the installation guide.

Documentation

The documentation can be found online here.

A couple of links for getting up to speed:

Object Mapper

cqlengine (originally developed by Blake Eggleston and Jon Haddad, with contributions from the community) is now maintained as an integral part of this package. Refer to documentation here.

Contributing

See CONTRIBUTING.md.

Error Handling

While originally written for the Java driver, users may reference the Cassandra error handling done right blog for resolving error handling scenarios with Apache Cassandra.

Reporting Problems

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.

Getting Help

Your best options for getting help with the driver are the mailing list and the DataStax Community.

License

Copyright DataStax, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

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.

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cassandra-driver-3.29.1.tar.gz (292.6 kB view hashes)

Uploaded Source

Built Distributions

cassandra_driver-3.29.1-cp312-cp312-win_amd64.whl (2.6 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

cassandra_driver-3.29.1-cp312-cp312-win32.whl (2.3 MB view hashes)

Uploaded CPython 3.12 Windows x86

cassandra_driver-3.29.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.6 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

cassandra_driver-3.29.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (19.2 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

cassandra_driver-3.29.1-cp312-cp312-macosx_11_0_arm64.whl (3.2 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

cassandra_driver-3.29.1-cp312-cp312-macosx_10_9_x86_64.whl (3.6 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

cassandra_driver-3.29.1-cp311-cp311-win_amd64.whl (2.7 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

cassandra_driver-3.29.1-cp311-cp311-win32.whl (2.4 MB view hashes)

Uploaded CPython 3.11 Windows x86

cassandra_driver-3.29.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

cassandra_driver-3.29.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (20.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

cassandra_driver-3.29.1-cp311-cp311-macosx_11_0_arm64.whl (3.2 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

cassandra_driver-3.29.1-cp311-cp311-macosx_10_9_x86_64.whl (3.7 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

cassandra_driver-3.29.1-cp310-cp310-win_amd64.whl (2.7 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

cassandra_driver-3.29.1-cp310-cp310-win32.whl (2.4 MB view hashes)

Uploaded CPython 3.10 Windows x86

cassandra_driver-3.29.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.9 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

cassandra_driver-3.29.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (18.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

cassandra_driver-3.29.1-cp310-cp310-macosx_11_0_arm64.whl (3.3 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

cassandra_driver-3.29.1-cp310-cp310-macosx_10_9_x86_64.whl (3.7 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

cassandra_driver-3.29.1-cp39-cp39-win_amd64.whl (2.9 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

cassandra_driver-3.29.1-cp39-cp39-win32.whl (2.6 MB view hashes)

Uploaded CPython 3.9 Windows x86

cassandra_driver-3.29.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

cassandra_driver-3.29.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (19.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

cassandra_driver-3.29.1-cp39-cp39-macosx_11_0_arm64.whl (3.2 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

cassandra_driver-3.29.1-cp39-cp39-macosx_10_9_x86_64.whl (3.7 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

cassandra_driver-3.29.1-cp38-cp38-win_amd64.whl (2.9 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

cassandra_driver-3.29.1-cp38-cp38-win32.whl (2.6 MB view hashes)

Uploaded CPython 3.8 Windows x86

cassandra_driver-3.29.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

cassandra_driver-3.29.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (20.0 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

cassandra_driver-3.29.1-cp38-cp38-macosx_11_0_arm64.whl (3.3 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

cassandra_driver-3.29.1-cp38-cp38-macosx_10_9_x86_64.whl (3.8 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page