Caution

You are not reading the most current version of the documentation. If you want up-to-date information, please have a look at 3.24.1-scylla .

Python Driver for Scylla and Apache Cassandra®

A Python client driver for Scylla. This driver works exclusively with the Cassandra Query Language v3 (CQL3) and Cassandra’s native protocol.

The driver supports Python 2.7, 3.4, 3.5, 3.6, 3.7 and 3.8.

This driver is open source under the Apache v2 License. The source code for this driver can be found on GitHub.

Scylla Driver is a fork from DataStax Python Driver, including some non-breaking changes for Scylla optimization, with more updates planned.

Contents

Installation

How to install the driver.

Getting Started

A guide through the first steps of connecting to Scylla and executing queries

Execution Profiles

An introduction to a more flexible way of configuring request execution

Lightweight Transactions (Compare-and-set)

Working with results of conditional requests

Object Mapper

Introduction to the integrated object mapper, cqlengine

Performance Notes

Tips for getting good performance.

Paging Large Queries

Notes on paging large query results

Security

An overview of the security features of the driver

Upgrading

A guide to upgrading versions of the driver

User Defined Types

Working with Scylla’s user-defined types (UDT)

Working with Dates and Times

Some discussion on the driver’s approach to working with timestamp, date, time types

CHANGELOG

Log of changes to the driver, organized by version.

Frequently Asked Questions

A collection of Frequently Asked Questions

API Documentation

The API documentation.

Getting Help

Visit the FAQ section in this documentation.

Please send questions to the Scylla user list.

Reporting Issues

Please report any bugs and make any feature requests on the Github project issues