Skip to content

scylladb/python-driver

 
 

Repository files navigation

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.yaml/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.6-3.11.

Features

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:

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.

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.6%
  • Cython 1.5%
  • Other 0.9%