Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str While AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Continue Assign AttributeStore NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Num body Assign NameStore Str Assign NameStore ListLoad SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Continue Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore ListLoad NameLoad If CompareEq NameLoad Str body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Str handlers ExceptHandler body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If BoolOpAnd NameLoad NameLoad body TryExcept body Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Dict SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad orelse TryExcept body Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Dict SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad While AttributeLoad NameLoad attr body Expr Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If UnaryOpNot BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Print BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body While NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A threading N/A zmq N/A leveldb N/A json N/A optparse time sleep workerThread N/A N/A threading Thread N/A N/A workerThread __init__ N/A N/A self context db N/A N/A N/A N/A N/A N/A threading Thread __init__ self N/A N/A self context context N/A N/A self db db N/A N/A self running True N/A N/A self processing False N/A N/A self socket N/A N/A N/A self context socket N/A zmq XREQ N/A run N/A N/A self N/A N/A N/A N/A N/A N/A self socket connect inproc://backend N/A N/A self running N/A N/A N/A N/A msg N/A N/A N/A self socket recv_multipart N/A N/A N/A N/A zmq ZMQError N/A N/A N/A self running False N/A N/A N/A self processing True N/A N/A N/A len msg 3 N/A N/A value None N/A reply N/A N/A msg N/A 0 value N/A N/A N/A N/A self socket send_multipart reply N/A N/A id N/A msg N/A 0 N/A op N/A msg N/A 1 N/A data N/A N/A json loads N/A msg N/A 2 N/A reply N/A id N/A N/A op get N/A N/A N/A N/A value N/A N/A N/A self db Get data N/A N/A N/A N/A value N/A N/A N/A reply append value N/A N/A N/A op put N/A N/A N/A N/A N/A N/A N/A self db Put N/A data N/A 0 N/A data N/A 1 N/A value True N/A N/A N/A N/A value N/A N/A N/A reply append value N/A N/A N/A op delete N/A N/A N/A N/A N/A self db Delete data N/A value N/A N/A N/A reply append value N/A N/A N/A op range N/A N/A start N/A data N/A 0 N/A end N/A data N/A 1 N/A N/A start end N/A N/A N/A N/A arr N/A N/A value N/A N/A N/A self db RangeIter start end N/A N/A N/A N/A arr append N/A N/A value N/A 0 N/A value N/A 1 N/A N/A N/A reply append N/A N/A json dumps arr N/A N/A N/A N/A value N/A N/A N/A reply append value N/A N/A N/A N/A arr N/A N/A value N/A N/A N/A self db RangeIter N/A N/A N/A N/A arr append N/A N/A value N/A 0 N/A value N/A 1 N/A N/A N/A reply append N/A N/A json dumps arr N/A N/A N/A N/A value N/A N/A N/A reply append value N/A N/A value N/A N/A N/A reply append value N/A N/A N/A N/A self socket send_multipart reply N/A N/A self processing False N/A close N/A N/A self N/A N/A N/A N/A self running False N/A N/A self processing N/A N/A N/A sleep 1 N/A N/A N/A N/A self socket close N/A N/A N/A N/A __name__ __main__ N/A N/A optparser N/A N/A optparse OptionParser prog leveldb-server.py version 0.1.1 description leveldb-server usage N/A %prog 
	-p [port and host settings] Default: tcp://127.0.0.1:5147
 	-f [database file name] Default: level.db N/A N/A N/A optparser add_option --host -p dest host default tcp://127.0.0.1:5147 N/A N/A N/A optparser add_option --dbfile -d dest dbfile default level.db N/A N/A options arguments N/A N/A optparser parse_args N/A N/A N/A N/A options host N/A options dbfile N/A N/A N/A N/A optparser print_help N/A N/A Starting leveldb-server %s N/A options host N/A context N/A N/A zmq Context N/A frontend N/A N/A context socket N/A zmq XREP N/A N/A N/A frontend bind N/A options host N/A backend N/A N/A context socket N/A zmq XREQ N/A N/A N/A backend bind inproc://backend N/A poll N/A N/A zmq Poller N/A N/A N/A poll register frontend N/A zmq POLLIN N/A N/A N/A poll register backend N/A zmq POLLIN N/A db N/A N/A leveldb LevelDB N/A options dbfile N/A workers N/A N/A i N/A xrange 3 N/A N/A worker N/A workerThread context db N/A N/A N/A worker start N/A N/A N/A workers append worker N/A N/A N/A True N/A N/A sockets N/A dict N/A N/A poll poll N/A N/A frontend sockets N/A N/A N/A N/A sockets N/A frontend N/A zmq POLLIN N/A N/A msg N/A N/A frontend recv_multipart N/A N/A N/A backend send_multipart msg N/A N/A backend sockets N/A N/A N/A N/A sockets N/A backend N/A zmq POLLIN N/A N/A msg N/A N/A backend recv_multipart N/A N/A N/A frontend send_multipart msg N/A N/A N/A KeyboardInterrupt N/A N/A worker workers N/A N/A N/A N/A worker close N/A N/A N/A frontend close N/A N/A N/A backend close N/A N/A N/A context term