<s> import os , sys <EOL> import string , cgi <EOL> sys . path . append ( "<STR_LIT>" ) <EOL> sys . path . append ( "<STR_LIT>" ) <EOL> import SOAPpy <EOL> import time <EOL> import socket <EOL> import datetime <EOL> import os <EOL> import cgitb ; <EOL> import getopt <EOL> sys . path . append ( "<STR_LIT>" ) <EOL> import py_cassandra <EOL> import pickle <EOL> """<STR_LIT>""" <EOL> def main ( argv ) : <EOL> print "<STR_LIT>" <EOL> print py_cassandra . version ( ) <EOL> users_columns = [ "<STR_LIT:email>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> users_values = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT:1>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> apps_columns = [ "<STR_LIT:name>" , "<STR_LIT:version>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT:host>" , "<STR_LIT:port>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> apps_values = [ "<STR_LIT:name>" , "<STR_LIT:version>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT:host>" , "<STR_LIT:port>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> TABLE_NAME = "<STR_LIT>" <EOL> COLUMN_FAMILY = "<STR_LIT>" <EOL> TABLE = "<STR_LIT>" <EOL> FAMILY = "<STR_LIT>" <EOL> KEY = "<STR_LIT:test>" <EOL> COLUMN = "<STR_LIT>" <EOL> VALUE = "<STR_LIT>" <EOL> print "<STR_LIT>" , py_cassandra . get_keys ( ) <EOL> column_names = [ "<STR_LIT:name>" , "<STR_LIT:email>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> values = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> values2 = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> table = "<STR_LIT>" <EOL> key = "<STR_LIT>" <EOL> key2 = "<STR_LIT>" <EOL> print "<STR_LIT>" , py_cassandra . put_entity ( "<STR_LIT>" , "<STR_LIT>" , column_names , values ) <EOL> print "<STR_LIT>" , py_cassandra . get_schema ( "<STR_LIT>" ) [ <NUM_LIT:1> : ] <EOL> print "<STR_LIT>" , py_cassandra . get_table ( "<STR_LIT>" , column_names ) [ <NUM_LIT:1> : ] <EOL> print "<STR_LIT>" , py_cassandra . get_keys ( ) <EOL> print "<STR_LIT>" <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> try : <EOL> main ( sys . argv ) <EOL> except : <EOL> print "<STR_LIT>" <EOL> raise </s>
