Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

10/31/2017

Reading time:1 min

DataStax Python Driver

by John Doe

A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+) 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.If you require compatibility with DataStax Enterprise, use the DataStax Enterprise Python Driver.Note: DataStax products do not support big-endian systems.Feedback RequestedHelp us focus our efforts! Provide your input on the Platform and Runtime Survey (we kept it short).FeaturesSynchronous and Asynchronous APIsSimple, Prepared, and Batch statementsAsynchronous IO, parallel execution, request pipeliningConnection poolingAutomatic node discoveryAutomatic reconnectionConfigurable load balancing and retry policiesConcurrent execution utilitiesObject mapperInstallationInstallation through pip is recommended:$ pip install cassandra-driverFor more complete installation instructions, see theinstallation guide.DocumentationThe documentation can be found online here.A couple of links for getting up to speed:InstallationGetting started guideAPI docsPerformance tipsObject Mappercqlengine (originally developed by Blake Eggleston and Jon Haddad, with contributions from thecommunity) is now maintained as an integral part of this package. Refer todocumentation here.ContributingSee CONTRIBUTING.md.Reporting ProblemsPlease report any bugs and make any feature requests on theJIRA issue tracker.If you would like to contribute, please feel free to open a pull request.Getting HelpYour best options for getting help with the driver are themailing listand the #datastax-drivers channel in the DataStax Academy Slack.LicenseCopyright 2013-2017 DataStaxLicensed 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 athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.

Illustration Image
https://travis-ci.org/datastax/python-driver.png?branch=master

A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (2.1+) 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.

If you require compatibility with DataStax Enterprise, use the DataStax Enterprise Python Driver.

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

Feedback Requested

Help us focus our efforts! Provide your input on the Platform and Runtime Survey (we kept it short).

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.

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-drivers channel in the DataStax Academy Slack.

License

Copyright 2013-2017 DataStax

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.

Related Articles

node
python
astra

GitHub - Anant/Cassandra.Api: Open Source Application for DataStax Astra

Anant

3/7/2024

cassandra
python

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

libraries