Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 429 Bytes

Python-Cassandra

This package can be used to generate a Python egg for the Cassandra thrift bindings.

Installation

$ make
$ sudo easy_install dist/*.egg

Usage

from cassandra.Cassandra import *
# Get the first 100 results from Table['key'][‘ColumnFamily']
print get_slice_args('Table', 'Key', ColumnParent('ColumnFamily'), '', '',
                     True, 100)