Cassandra Simple Authentication Example with pycassa

There is a Simple Python Example
For Cassandra SimpleAuthentication

from pycassa import index, connect, connect_thread_local, gm_timestamp, ColumnFamily, 
        ColumnFamilyMap, ConsistencyLevel, NotFoundException, String, Int64, 
        Float64, DateTime, IntString, FloatString, DateTimeString

import pycassa

auth = {'username':'username','password':'password'}
pool = pycassa.connect('Tweet', ['localhost:9160'], True, 10, auth)

cf = ColumnFamily(pool, 'Standard1')

print cf.get('charsyam2')
print cf.get('charsyam')