Module Assign NameStore ListLoad Str Import alias alias ImportFrom alias Import alias identifier Import alias Import alias FunctionDef arguments args NameParam NameParam defaults TupleLoad Str Num body Expr Str Import alias alias alias alias Import alias alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str TupleLoad Num Num Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr TryExcept body TryFinally body For NameStore NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad finalbody If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return ExceptHandler type AttributeLoad NameLoad attr name NameStore body Return handlers ExceptHandler body Print AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list decorator_list Print BinOpMod Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults TupleLoad Str Num body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print BinOpMod Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Return Call NameLoad NameLoad NameLoad keyword Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpMult Num Num While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Expr Yield NameLoad Expr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Yield NameLoad decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call NameLoad NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases body FunctionDef arguments args NameParam defaults vararg body Return NameLoad decorator_list decorator_list Assign AttributeStore NameLoad attr AttributeLoad Call NameLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults vararg body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Print NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A __all__ N/A runsimple N/A sys os SimpleHTTPServer SimpleHTTPRequestHandler N/A webapi web N/A net N/A utils runbasic N/A N/A func server_address N/A N/A 0.0.0.0 8080 N/A N/A 
    Runs a simple HTTP server hosting WSGI app `func`. The directory `static/` 
    is hosted statically.

    Based on [WsgiServer][ws] from [Colin Stewart][cs].
    
  [ws]: http://www.owlfish.com/software/wsgiutils/documentation/wsgi-server-api.html
  [cs]: http://www.owlfish.com/
     N/A SimpleHTTPServer SocketServer BaseHTTPServer urlparse N/A socket errno N/A traceback WSGIHandler N/A N/A SimpleHTTPServer SimpleHTTPRequestHandler N/A run_wsgi_app N/A N/A self N/A N/A N/A N/A protocol host path parameters query fragment N/A N/A urlparse urlparse N/A http://dummyhost%s N/A self path N/A env N/A wsgi.version wsgi.url_scheme wsgi.input wsgi.errors wsgi.multithread wsgi.multiprocess wsgi.run_once REQUEST_METHOD REQUEST_URI PATH_INFO QUERY_STRING CONTENT_TYPE CONTENT_LENGTH REMOTE_ADDR SERVER_NAME SERVER_PORT SERVER_PROTOCOL N/A 1 0 http N/A self rfile N/A sys stderr 1 0 0 N/A self command N/A self path path query N/A N/A N/A self headers get Content-Type N/A N/A N/A self headers get Content-Length N/A N/A self client_address N/A 0 N/A N/A N/A self server server_address N/A 0 N/A str N/A N/A N/A self server server_address N/A 1 N/A self request_version N/A N/A http_header http_value N/A N/A N/A self headers items N/A N/A N/A env N/A N/A HTTP_%s N/A N/A N/A N/A http_header replace - _ upper http_value N/A N/A self wsgi_sent_headers 0 N/A N/A self wsgi_headers N/A N/A N/A N/A result N/A N/A N/A self server app env N/A self wsgi_start_response N/A N/A N/A N/A N/A data result N/A N/A data N/A N/A N/A N/A self wsgi_write_data data N/A N/A N/A hasattr result close N/A N/A N/A N/A result close N/A N/A N/A N/A socket error N/A socket_err N/A N/A N/A N/A N/A socket_err args N/A 0 N/A N/A errno ECONNABORTED N/A errno EPIPE N/A N/A N/A N/A N/A socket timeout N/A socket_timeout N/A N/A N/A N/A N/A N/A N/A web debug N/A N/A traceback format_exc N/A N/A N/A self wsgi_sent_headers N/A N/A N/A N/A self wsgi_write_data N/A N/A N/A do_POST run_wsgi_app N/A do_PUT run_wsgi_app N/A do_DELETE run_wsgi_app do_GET N/A N/A self N/A N/A N/A N/A N/A N/A self path startswith /static/ N/A N/A N/A N/A N/A SimpleHTTPServer SimpleHTTPRequestHandler do_GET self N/A N/A N/A N/A self run_wsgi_app N/A wsgi_start_response N/A N/A self response_status response_headers exc_info N/A None N/A N/A N/A self wsgi_sent_headers N/A N/A N/A Exception Headers already sent and start_response called again! N/A N/A self wsgi_headers N/A response_status response_headers N/A N/A self wsgi_write_data N/A wsgi_write_data N/A N/A self data N/A N/A N/A N/A N/A self wsgi_sent_headers N/A N/A N/A status headers N/A self wsgi_headers N/A status_code N/A status N/A N/A N/A status find N/A status_msg N/A status N/A N/A N/A N/A status find 1 N/A N/A N/A self send_response N/A int status_code status_msg N/A N/A header value headers N/A N/A N/A N/A self send_header header value N/A N/A N/A self end_headers N/A N/A self wsgi_sent_headers 1 N/A N/A N/A N/A self wfile write data N/A N/A WSGIServer N/A N/A SocketServer ThreadingMixIn N/A BaseHTTPServer HTTPServer N/A __init__ N/A N/A self func server_address N/A N/A N/A N/A N/A N/A BaseHTTPServer HTTPServer __init__ self server_address WSGIHandler N/A N/A self app func N/A N/A self serverShuttingDown 0 N/A N/A N/A N/A http://%s:%d/ server_address N/A N/A N/A N/A WSGIServer func server_address serve_forever N/A runsimple N/A N/A func server_address N/A N/A 0.0.0.0 8080 N/A N/A 
    Runs [CherryPy][cp] WSGI server hosting WSGI app `func`. 
    The directory `static/` is hosted statically.

    [cp]: http://www.cherrypy.org
     N/A func N/A StaticMiddleware func N/A func N/A LogMiddleware func N/A server N/A WSGIServer server_address func N/A N/A http://%s:%d/ server_address N/A N/A N/A N/A N/A server start N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A server stop N/A WSGIServer N/A N/A server_address wsgi_app N/A N/A N/A Creates CherryPy WSGI server listening at `server_address` to serve `wsgi_app`.
    This function can be overwritten to customize the webserver or use a different webserver.
     wsgiserver CherryPyWSGIServer N/A N/A CherryPyWSGIServer server_address wsgi_app server_name localhost N/A StaticApp N/A SimpleHTTPRequestHandler N/A N/A WSGI application for serving static files. __init__ N/A N/A self environ start_response N/A N/A N/A N/A self headers N/A N/A N/A self environ environ N/A N/A self start_response start_response N/A send_response N/A N/A self status msg N/A N/A N/A N/A self status N/A N/A N/A str status msg N/A send_header N/A N/A self name value N/A N/A N/A N/A N/A N/A self headers append N/A name value N/A end_headers N/A N/A self N/A N/A N/A N/A log_message N/A N/A N/A a N/A N/A N/A __iter__ N/A N/A self N/A N/A N/A environ N/A self environ N/A N/A self path N/A N/A environ get PATH_INFO N/A N/A self client_address N/A N/A N/A environ get REMOTE_ADDR - N/A N/A environ get REMOTE_PORT - N/A N/A self command N/A N/A environ get REQUEST_METHOD - cStringIO StringIO N/A N/A self wfile N/A StringIO N/A N/A N/A path N/A N/A self translate_path N/A self path N/A etag N/A "%s" N/A N/A N/A os path getmtime path N/A client_etag N/A N/A environ get HTTP_IF_NONE_MATCH N/A N/A N/A self send_header ETag etag N/A N/A etag client_etag N/A N/A N/A N/A self send_response 304 Not Modified N/A N/A N/A self start_response N/A self status N/A self headers N/A StopIteration N/A N/A N/A OSError N/A N/A N/A f N/A N/A self send_head N/A N/A N/A self start_response N/A self status N/A self headers N/A f N/A N/A block_size N/A 16 1024 N/A True N/A N/A buf N/A N/A f read block_size N/A N/A buf N/A N/A N/A N/A buf N/A N/A N/A f close N/A N/A value N/A N/A N/A self wfile getvalue N/A N/A value N/A N/A StaticMiddleware N/A N/A N/A WSGI middleware for serving static files. __init__ N/A N/A self app prefix N/A /static/ N/A N/A N/A self app app N/A N/A self prefix prefix N/A __call__ N/A N/A self environ start_response N/A N/A N/A path N/A N/A environ get PATH_INFO N/A N/A N/A path startswith N/A self prefix N/A N/A N/A StaticApp environ start_response N/A N/A N/A N/A self app environ start_response N/A N/A LogMiddleware N/A N/A N/A WSGI middleware for logging the status. __init__ N/A N/A self app N/A N/A N/A N/A self app app N/A N/A self format %s - - [%s] "%s %s %s" - %s BaseHTTPServer BaseHTTPRequestHandler N/A StringIO N/A f N/A N/A StringIO StringIO FakeSocket N/A N/A makefile N/A N/A self N/A a N/A N/A f N/A N/A N/A N/A self log_date_time_string N/A N/A BaseHTTPRequestHandler N/A FakeSocket None None log_date_time_string N/A __call__ N/A N/A self environ start_response N/A N/A xstart_response N/A N/A status response_headers N/A args N/A N/A out N/A start_response status response_headers args N/A N/A N/A self log status environ N/A out N/A N/A N/A N/A self app environ xstart_response N/A log N/A N/A self status environ N/A N/A N/A outfile N/A N/A environ get wsgi.errors N/A web debug N/A req N/A N/A environ get PATH_INFO _ N/A protocol N/A N/A environ get ACTUAL_SERVER_PROTOCOL - N/A method N/A N/A environ get REQUEST_METHOD - N/A host N/A %s:%s N/A N/A N/A environ get REMOTE_ADDR - N/A N/A environ get REMOTE_PORT - N/A time N/A N/A self log_date_time_string N/A msg N/A N/A self format N/A host time protocol method req status N/A outfile N/A N/A utils safestr msg N/A N/A