Apache Cassandra and Python

A session at PyCon US 2012

  • Jeremiah Jordan

Friday 9th March, 2012

2:40pm to 3:20pm (PST)

Using Apache Cassandra from Python is easy to do. This talk will cover setting up and using a local development instance of Cassandra from Python. It will cover using the low level thrift interface, as well as using the higher level pycassa library.

  • Very brief intro to Apache Cassandra
  • What is Apache Cassandra and where do I get it?
  • Using the Cassandra CLI to setup a keyspace (table) to hold our data
  • Installing the Cassandra thrift API module
  • Using Cassandra from the thrift API
  • Connecting
  • Writing
  • Reading
  • Batch operations
  • Installing the pycassa module
  • Using Cassandra from the pycassa module
  • Connecting
  • Reading
  • Writing
  • Batch operations
  • Indexing in Cassandra
  • Automatic vs Rolling your own
  • Using Composite Columns
  • Setting them up from the CLI
  • How to using them from pycassa
  • Lessons learned

About the speaker

This person is speaking at this event.
Jeremiah Jordan

Next session in E2

3:20pm Putting Python in PostgreSQL by Frank Wiles

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 2:40pm3:20pm PST

Date Fri 9th March 2012

Short URL


Official session page


View the schedule



See something wrong?

Report an issue with this session