GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - apache/cassandra-python-driver: Python Driver for Apache Cassandra®

BranchesTags
Open more actions menu

Latest commit

 

History

6,119 Commits
6,119 Commits

Folders and files

NameName
Last commit message
Last commit date
benchmarks
benchmarks
 
 
cassandra
cassandra
 
 
docs
docs
 
 
examples
examples
 
 
tests
tests
 
 
.asf.yaml
.asf.yaml
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
Jenkinsfile
Jenkinsfile
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
NOTICE
NOTICE
 
 
README-dev.rst
README-dev.rst
 
 
README.rst
README.rst
 
 
SECURITY.md
SECURITY.md
 
 
docs.yaml
docs.yaml
 
 
doxyfile
doxyfile
 
 
example_core.py
example_core.py
 
 
example_mapper.py
example_mapper.py
 
 
fix-jenkinsfile-libev.py
fix-jenkinsfile-libev.py
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 
test-datastax-requirements.txt
test-datastax-requirements.txt
 
 
test-requirements.txt
test-requirements.txt
 
 
tox.ini
tox.ini
 
 

Repository files navigation

license version pyversion travis

Apache Cassandra Python Driver

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.11 through 3.15.

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

Features

  • Synchronous and Asynchronous APIs
  • Simple, Prepared, and Batch statements
  • Asynchronous IO, parallel execution, request pipelining
  • Connection pooling
  • Automatic node discovery
  • Automatic reconnection
  • Configurable load balancing and retry policies
  • Concurrent execution utilities
  • Object mapper
  • Connecting to DataStax Astra database (cloud)
  • DSE Graph execution API
  • DSE Geometric type serialization
  • DSE PlainText and GSSAPI authentication

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:

  • Installation
  • Getting started guide
  • API docs
  • Performance tips

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.rst.

Reporting Problems

Please report any bugs and make any feature requests on the CASSPYTHON project of the ASF JIRA.

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

Getting Help

You can talk about the driver, ask questions and get help in the #cassandra-drivers channel on ASF Slack.

License

Copyright 2013 The Apache Software Foundation

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.

About

Python Driver for Apache Cassandra®

docs.datastax.com/en/developer/python-driver/3.29/index.html

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1.4k stars

Watchers

74 watching

Forks

595 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.