Scylla Documentation Logo Documentation
  • Server
    • Scylla Open Source
    • Scylla Enterprise
    • Scylla Alternator
  • Cloud
    • Scylla Cloud
    • Scylla Cloud Docs
  • Tools
    • Scylla Manager
    • Scylla Monitoring Stack
    • Scylla Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
Download
Menu

Caution

You're viewing documentation for a previous version of Cassandra Driver. Switch to the latest stable version.

Cassandra Driver Python Driver for Scylla and Apache Cassandra®

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

Scylla Specific Features

A list of feature available only on scylla-driver

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

Scylla Cloud

Connect to Scylla Cloud

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

Copyright¶

© 2013-2017 DataStax

© 2016, The Apache Software Foundation. Apache®, Apache Cassandra®, Cassandra®, the Apache feather logo and the Apache Cassandra® Eye logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. No endorsement by The Apache Software Foundation is implied by the use of these marks.

NEXT
API Documentation
  • 3.24.8
    • 3.25.4
    • 3.24.8
    • 3.22.3
    • 3.21.0
  • API Documentation
    • cassandra - Exceptions and Enums
    • cassandra.cluster - Clusters and Sessions
    • cassandra.policies - Load balancing and Failure Handling Policies
    • cassandra.auth - Authentication
    • cassandra.graph - Graph Statements, Options, and Row Factories
    • cassandra.metadata - Schema and Ring Topology
    • cassandra.metrics - Performance Metrics
    • cassandra.query - Prepared Statements, Batch Statements, Tracing, and Row Factories
    • cassandra.pool - Hosts and Connection Pools
    • cassandra.protocol - Protocol Features
    • cassandra.encoder - Encoders for non-prepared Statements
    • cassandra.decoder - Data Return Formats
    • cassandra.concurrent - Utilities for Concurrent Statement Execution
    • cassandra.connection - Low Level Connection Info
    • cassandra.util - Utilities
    • cassandra.timestamps - Timestamp Generation
    • cassandra.io.asyncioreactor - asyncio Event Loop
    • cassandra.io.asyncorereactor - asyncore Event Loop
    • cassandra.io.eventletreactor - eventlet-compatible Connection
    • cassandra.io.libevreactor - libev Event Loop
    • cassandra.io.geventreactor - gevent-compatible Event Loop
    • cassandra.io.twistedreactor - Twisted Event Loop
    • cassandra.cqlengine.models - Table models for object mapping
    • cassandra.cqlengine.columns - Column types for object mapping models
    • cassandra.cqlengine.query - Query and filter model objects
    • cassandra.cqlengine.connection - Connection management for cqlengine
    • cassandra.cqlengine.management - Schema management for cqlengine
    • cassandra.cqlengine.usertype - Model classes for User Defined Types
    • cassandra.datastax.graph - Graph Statements, Options, and Row Factories
    • cassandra.datastax.graph.fluent
    • cassandra.datastax.graph.fluent.query
    • cassandra.datastax.graph.fluent.predicates
  • Installation
  • Getting Started
  • Scylla Specific Features
  • Upgrading
  • Execution Profiles
  • Performance Notes
  • Paging Large Queries
  • Lightweight Transactions (Compare-and-set)
  • Security
  • User Defined Types
  • Object Mapper
    • Upgrade Guide
    • Models
    • Making Queries
    • Batch Queries
    • Connections
    • Third party integrations
    • Frequently Asked Questions
  • Working with Dates and Times
  • Scylla Cloud
  • Frequently Asked Questions
  • Create an issue
  • Edit this page

On this page

  • Python Driver for Scylla and Apache Cassandra®
    • Contents
    • Getting Help
    • Reporting Issues
    • Copyright
Logo
Docs Contact Us About Us
Mail List Icon Slack Icon
© ScyllaDB 2021 and © DataStax 2013-2017
Powered by Sphinx 4.3.2 & ScyllaDB Theme 1.2.1