DataStax News: Astra Streaming now GA with new built-in support for Kafka and RabbitMQ. Read the press release.

Toggle Menu

DataStax Python Driver for Apache Cassandra™ Quickstart

Learn how to insert, retrieve, and delete data with the DataStax Python Driver for Apache Cassandra™.


The Datastax Python Driver for Apache Cassandra™ is a modern, feature-rich and highly tunable Python client library for Apache Cassandra® (2.1+) and DataStax Enterprise (4.7+), and DataStax Astra, using exclusively Cassandra’s binary protocol and Cassandra Query Language (CQL) v3.

In this scenario, you will:

  • Connect to an Apache Cassandra™ instance with the DataStax Python driver
  • Use the driver to execute CQL statements against Apache Cassandra™ that do the following:
    • Create a keyspace and table programmatically
    • Insert a user into a table
    • Select that user back out
    • Update the user's email
    • Delete the user from the table
  • Process CQL query results programmatically

Time to Complete