Python Cassandra
from cassandra.cluster import Cluster
cluster = Cluster() # To connect to localhost
cluster = Cluster(['192.168.0.1', '192.168.0.2']) # To connect to any one of these possible IPs.
Fair Fox