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 - scylladb/python-driver: ScyllaDB Python Driver, originally DataStax Python Driver for Apache Cassandra

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

7,202 Commits
7,202 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
benchmarks
benchmarks
 
 
cassandra
cassandra
 
 
docs
docs
 
 
examples
examples
 
 
scripts
scripts
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
LICENSE
LICENSE
 
 
MAINTENANCE.md
MAINTENANCE.md
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
codecov.yml
codecov.yml
 
 
conanfile.py
conanfile.py
 
 
pyproject.toml
pyproject.toml
 
 
renovate.json
renovate.json
 
 
setup.py
setup.py
 
 
uv.lock
uv.lock
 
 

Repository files navigation

license version pyversion

Scylla Python Driver

A modern, feature-rich and highly-tunable Python client library for Scylla Open Source (2.1+) and Apache Cassandra (2.1+) and Scylla Enterprise (2018.1.x+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3.

https://github.com/scylladb/python-driver/actions/workflows/build-push.yml/badge.svg?branch=master https://github.com/scylladb/python-driver/actions/workflows/docs-pages.yml/badge.svg?branch=master https://github.com/scylladb/python-driver/actions/workflows/integration-tests.yml/badge.svg?branch=master

The driver supports Python versions 3.10-3.15.

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
  • Shard awareness
  • Tablet awareness

Installation

Installation through pip is recommended:

$ pip install scylla-driver

For more complete installation instructions, see the installation guide.

Documentation

The documentation can be found online here.

Information includes:

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

Training

The course Using Scylla Drivers in Scylla University explains how to use drivers in different languages to interact with a Scylla cluster. The lesson, Coding with Python (link), goes over a sample application that, using the Python driver, interacts with a three-node Scylla cluster. It connects to a Scylla cluster, displays the contents of a table, inserts and deletes data, and shows the contents of the table after each action. Scylla University includes other training material and online courses which will help you become a Scylla NoSQL database expert.

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.

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 by clicking the New Issue button in Github.

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

Getting Help

You can ask questions on ScyllaDB Community Forum and the Scylla Users Slack channel.

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.

About

ScyllaDB Python Driver, originally DataStax Python Driver for Apache Cassandra

python-driver.docs.scylladb.com

Topics

pythonscylladb

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

82 stars

Watchers

9 watching

Forks

66 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — 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.