Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareNotEq Call NameLoad NameLoad Str NameLoad NameLoad Return TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr While NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body Print Str
N/A N/A csv N/A os N/A sys N/A psycopg2 N/A psycopg2.extensions N/A redis N/A settings N/A tempfile N/A time tweepy.api API tweepy.utils convert_to_utf8_str tweepy.utils import_simplejson tweepy.models Status N/A api N/A API N/A json N/A import_simplejson gen_tuple N/A N/A jsontweet N/A N/A N/A tweet N/A N/A Status parse api N/A N/A json loads jsontweet N/A retweeted N/A N/A getattr tweet retweeted_status None None N/A N/A N/A N/A tweet author id N/A tweet created_at N/A convert_to_utf8_str N/A tweet text retweeted N/A bulk_load N/A N/A listkey tweets db N/A N/A N/A N/A bulk-loading %d tweets from '%s' N/A N/A len tweets listkey N/A insert_cmd INSERT INTO tweets (author_id, created_at, tweet, retweeted) VALUES (%s, %s, %s, %s); N/A cur N/A N/A db cursor N/A N/A N/A cur executemany insert_cmd N/A N/A gen_tuple jsontweet N/A jsontweet tweets N/A N/A N/A db commit N/A poll_data N/A N/A r db N/A N/A N/A listkey N/A N/A r rpoplpush N/A settings TO_INDEX N/A settings CONSUMED_INDICES N/A N/A listkey None N/A N/A tweets N/A N/A r lrange listkey 0 -1 N/A N/A bulk_load listkey tweets db N/A N/A N/A r lrem N/A settings CONSUMED_INDICES listkey 0 N/A N/A N/A r delete listkey N/A main N/A N/A N/A N/A N/A r N/A N/A redis Redis host N/A settings REDIS_HOSTNAME port N/A settings REDIS_PORT db N/A settings REDIS_DB N/A conn_str N/A dbname='%s' user='%s' host='%s' password='%s' N/A N/A settings DATABASE_NAME N/A settings DATABASE_USER N/A settings DATABASE_HOST N/A settings DATABASE_PASSWORD N/A db N/A N/A psycopg2 connect conn_str N/A N/A N/A db set_isolation_level N/A N/A psycopg2 extensions ISOLATION_LEVEL_SERIALIZABLE N/A True N/A N/A N/A poll_data r db N/A N/A N/A time sleep N/A settings POLL_TIME N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A main N/A N/A N/A KeyboardInterrupt N/A N/A 
Goodbye!