Module Expr Str Import alias identifier Import alias alias alias Import alias Import alias ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Pass Assign NameStore ListLoad Str Str Str Str Str Str Str ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Dict NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr If NameLoad body FunctionDef arguments args defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad NameLoad Str NameLoad Return BoolOpAnd NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad If CompareEq NameLoad Str body Assign NameStore Call NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad ListLoad Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If BoolOpAnd Call NameLoad CompareIn Str AttributeLoad NameLoad attr body TryExcept body Expr Call NameLoad Call NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num 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 NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad Str NameLoad NameLoad kwarg body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore Dict Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad Assign NameStore BoolOpOr NameLoad Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index BinOpAdd Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str If CompareNotIn NameLoad ListLoad Str Str body Assign NameStore BoolOpOr NameLoad Str Import alias If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr attr Str CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad Str attr Call Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body TryExcept body If NameLoad body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num Return Call NameLoad Lambda arguments args defaults Call NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Raise ExceptHandler type TupleLoad NameLoad NameLoad body Raise ExceptHandler body Print AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr decorator_list Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Str Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body If CompareNotEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore ListLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Expr Yield Str decorator_list Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad decorator_list For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body ImportFrom alias Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If CompareIn Call AttributeLoad NameLoad attr Str ListLoad Str Str body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str orelse If CompareIn Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr ListLoad Str Str Str body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Index Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr Str Str orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareEq NameLoad Str UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str If NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad Raise Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad ListLoad Str Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad Str body Return Call NameLoad orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore NameLoad body If Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad orelse Continue orelse If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str attr NameLoad If NameLoad body Return TupleLoad NameLoad ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareGt NameLoad Num body Return SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index BinOpSub NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr orelse If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Import alias Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases body Assign NameStore NameLoad Assign NameStore NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Index Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str attr NameLoad If NameLoad body Return TupleLoad NameLoad ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad Return Call NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call NameLoad Assign NameStore BoolOpAnd NameLoad Call NameLoad NameLoad Str handlers ExceptHandler body Expr Call NameLoad Raise If NameLoad body Return Call NameLoad NameLoad orelse Expr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call NameLoad Raise decorator_list Assign NameStore Call NameLoad NameLoad While NameLoad body Expr Yield Call NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore ListLoad BinOpAdd Str NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore ListLoad If Call NameLoad NameLoad NameLoad body TryExcept body Return Call Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr orelse Raise Call AttributeLoad NameLoad attr decorator_list Return NameLoad decorator_list ClassDef bases body Expr Str Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Str orelse Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot BoolOpAnd NameLoad Call NameLoad NameLoad Str AttributeLoad NameLoad attr body Return TryExcept body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Slice Num body Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num attr NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body TryExcept body Expr Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr
N/A N/A 
Web application
(from web.py)
 N/A webapi web N/A webapi wsgi utils N/A debugerror N/A httpserver utils lstrips safeunicode N/A sys N/A urllib N/A traceback N/A itertools N/A os N/A types exceptions SystemExit N/A N/A N/A wsgiref.handlers N/A N/A N/A ImportError N/A N/A N/A __all__ N/A application auto_application subdir_application subdomain_application loadhook unloadhook autodelegate application N/A N/A N/A 
    Application to delegate requests based on path.
    
        >>> urls = ("/hello", "hello")
        >>> app = application(urls, globals())
        >>> class hello:
        ...     def GET(self): return "hello"
        >>>
        >>> app.request("/hello").data
        'hello'
     __init__ N/A N/A self mapping fvars autoreload N/A N/A N/A None N/A N/A N/A autoreload None N/A N/A autoreload N/A N/A N/A web config get debug False N/A N/A N/A self init_mapping mapping N/A N/A self fvars fvars N/A N/A self processors N/A N/A N/A N/A self add_processor N/A loadhook N/A self _load N/A N/A N/A self add_processor N/A unloadhook N/A self _unload N/A autoreload N/A main_module_name N/A N/A N/A N/A N/A mod N/A N/A sys modules N/A __main__ N/A file N/A getattr mod __file__ None N/A N/A file N/A N/A N/A N/A os path splitext N/A N/A N/A os path basename file N/A 0 N/A modname N/A N/A fvars N/A N/A N/A find name of the module name from fvars. N/A N/A file name N/A N/A N/A fvars get __file__ N/A N/A fvars get __name__ N/A N/A N/A file None N/A name None N/A N/A None N/A N/A name __main__ N/A N/A name N/A main_module_name N/A name N/A N/A mapping_name N/A N/A utils dictfind fvars mapping N/A module_name N/A modname fvars reload_mapping N/A N/A N/A N/A N/A loadhook to reload mapping and fvars. N/A mod N/A __import__ module_name None None N/A N/A mapping N/A getattr mod mapping_name None N/A mapping N/A N/A N/A self fvars N/A mod __dict__ N/A N/A N/A self init_mapping mapping N/A N/A N/A N/A self add_processor N/A loadhook N/A Reloader N/A N/A mapping_name module_name N/A N/A N/A N/A self add_processor N/A loadhook reload_mapping N/A N/A N/A main_module_name N/A __main__ N/A sys argv N/A N/A N/A N/A N/A __import__ N/A main_module_name N/A N/A N/A ImportError N/A N/A N/A _load N/A N/A self N/A N/A N/A N/A N/A N/A N/A web ctx app_stack append self N/A _unload N/A N/A self N/A N/A N/A N/A N/A web ctx app_stack N/A N/A N/A web ctx app_stack N/A -1 N/A N/A N/A web ctx app_stack N/A N/A oldctx N/A N/A N/A web ctx get _oldctx N/A oldctx N/A N/A N/A N/A web ctx home N/A oldctx home N/A N/A N/A web ctx homepath N/A oldctx homepath N/A N/A N/A web ctx path N/A oldctx path N/A N/A N/A web ctx fullpath N/A oldctx fullpath N/A _cleanup N/A N/A self N/A N/A N/A N/A N/A N/A utils ThreadedDict clear_all N/A init_mapping N/A N/A self mapping N/A N/A N/A N/A self mapping N/A list N/A N/A utils group mapping 2 N/A add_mapping N/A N/A self pattern classname N/A N/A N/A N/A N/A N/A self mapping append N/A pattern classname N/A add_processor N/A N/A self processor N/A N/A N/A 
        Adds a processor to the application. 
        
            >>> urls = ("/(.*)", "echo")
            >>> app = application(urls, globals())
            >>> class echo:
            ...     def GET(self, name): return name
            ...
            >>>
            >>> def hello(handler): return "hello, " +  handler()
            ...
            >>> app.add_processor(hello)
            >>> app.request("/web.py").data
            'hello, web.py'
         N/A N/A N/A N/A self processors append processor N/A request N/A N/A self localpart method data host headers https N/A / GET None 0.0.0.0:8080 None False kw N/A N/A Makes request to this application for the specified path and method.
        Response will be a storage object with data, status and headers.

            >>> urls = ("/hello", "hello")
            >>> app = application(urls, globals())
            >>> class hello:
            ...     def GET(self): 
            ...         web.header('Content-Type', 'text/plain')
            ...         return "hello"
            ...
            >>> response = app.request("/hello")
            >>> response.data
            'hello'
            >>> response.status
            '200 OK'
            >>> response.headers['Content-Type']
            'text/plain'

        To use https, use https=True.

            >>> urls = ("/redirect", "redirect")
            >>> app = application(urls, globals())
            >>> class redirect:
            ...     def GET(self): raise web.seeother("/foo")
            ...
            >>> response = app.request("/redirect")
            >>> response.headers['Location']
            'http://0.0.0.0:8080/foo'
            >>> response = app.request("/redirect", https=True)
            >>> response.headers['Location']
            'https://0.0.0.0:8080/foo'

        The headers argument specifies HTTP headers as a mapping object
        such as a dict.

            >>> urls = ('/ua', 'uaprinter')
            >>> class uaprinter:
            ...     def GET(self):
            ...         return 'your user-agent is ' + web.ctx.env['HTTP_USER_AGENT']
            ... 
            >>> app = application(urls, globals())
            >>> app.request('/ua', headers = {
            ...      'User-Agent': 'a small jumping bean/1.0 (compatible)'
            ... }).data
            'your user-agent is a small jumping bean/1.0 (compatible)'

         N/A N/A path maybe_query N/A N/A urllib splitquery localpart N/A query N/A maybe_query N/A N/A env kw N/A N/A env N/A kw N/A env N/A N/A env N/A N/A env N/A dict env HTTP_HOST host REQUEST_METHOD method PATH_INFO path QUERY_STRING query HTTPS N/A str https N/A headers N/A headers N/A N/A N/A k v N/A N/A headers items N/A N/A N/A env N/A N/A HTTP_ N/A N/A N/A N/A k upper replace - _ v N/A N/A HTTP_CONTENT_LENGTH env N/A N/A N/A env N/A CONTENT_LENGTH N/A N/A env pop HTTP_CONTENT_LENGTH N/A N/A HTTP_CONTENT_TYPE env N/A N/A N/A env N/A CONTENT_TYPE N/A N/A env pop HTTP_CONTENT_TYPE N/A N/A method N/A HEAD GET N/A N/A data N/A data N/A StringIO N/A N/A isinstance data dict N/A N/A q N/A N/A urllib urlencode data N/A N/A q data N/A N/A env N/A wsgi.input N/A N/A StringIO StringIO q N/A N/A N/A N/A N/A N/A N/A N/A N/A env get CONTENT_TYPE lower startswith multipart/ N/A CONTENT_LENGTH env N/A N/A N/A env N/A CONTENT_LENGTH N/A len q N/A response N/A N/A web storage start_response N/A N/A status headers N/A N/A N/A N/A response status status N/A N/A response headers N/A dict headers N/A N/A response header_items headers N/A N/A N/A response data N/A N/A join N/A N/A N/A self wsgifunc env start_response N/A response N/A browser N/A N/A self N/A N/A N/A browser N/A N/A N/A browser AppBrowser self N/A handle N/A N/A self N/A N/A N/A N/A fn args N/A N/A self _match N/A self mapping N/A N/A web ctx path N/A N/A N/A self _delegate fn N/A self fvars args N/A handle_with_processors N/A N/A self N/A N/A process N/A N/A processors N/A N/A N/A N/A N/A processors N/A N/A N/A p processors N/A N/A processors N/A 0 N/A processors N/A 1 N/A N/A p N/A N/A N/A N/A N/A process processors N/A N/A N/A N/A self handle N/A N/A N/A N/A web HTTPError N/A N/A N/A N/A N/A KeyboardInterrupt SystemExit 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 internalerror N/A N/A N/A process N/A self processors N/A wsgifunc N/A N/A self N/A middleware N/A N/A Returns a WSGI-compatible function for this application. peep N/A N/A iterator N/A N/A N/A Peeps into an iterator by doing an iteration
            and returns an equivalent iterator.
             N/A N/A N/A firstchunk N/A N/A iterator next N/A N/A N/A StopIteration N/A N/A firstchunk N/A N/A N/A itertools chain N/A firstchunk iterator N/A is_generator N/A N/A x N/A N/A N/A N/A x N/A hasattr x next N/A wsgi N/A N/A env start_resp N/A N/A N/A N/A N/A self _cleanup N/A N/A N/A self load env N/A N/A N/A N/A N/A N/A N/A N/A web ctx method upper N/A N/A web ctx method N/A N/A N/A N/A web nomethod N/A result N/A N/A self handle_with_processors N/A N/A is_generator result N/A N/A result N/A peep result N/A N/A result N/A result N/A N/A N/A N/A web HTTPError N/A e N/A N/A result N/A N/A e data N/A result N/A N/A web safestr N/A iter result N/A N/A status headers N/A N/A N/A web ctx status N/A N/A web ctx headers N/A N/A start_resp status headers cleanup N/A N/A N/A N/A N/A N/A N/A self _cleanup N/A N/A N/A N/A N/A N/A itertools chain result N/A cleanup N/A N/A m middleware N/A N/A wsgi N/A m wsgi N/A wsgi N/A run N/A N/A self N/A middleware N/A N/A 
        Starts handling requests. If called in a CGI or FastCGI context, it will follow
        that protocol. If called from the command line, it will start an HTTP
        server on the port named in the first command line argument, or, if there
        is no argument, on port 8080.
        
        `middleware` is a list of WSGI middleware which is applied to the resulting WSGI
        function.
         N/A N/A N/A wsgi runwsgi N/A N/A self wsgifunc middleware N/A stop N/A N/A self N/A N/A N/A Stops the http server started by run.
         N/A N/A httpserver server N/A N/A N/A N/A N/A httpserver server stop N/A N/A httpserver server None N/A cgirun N/A N/A self N/A middleware N/A N/A 
        Return a CGI handler. This is mostly useful with Google App Engine.
        There you can just do:
        
            main = app.cgirun()
         N/A wsgiapp N/A N/A self wsgifunc middleware N/A N/A google.appengine.ext.webapp.util run_wsgi_app N/A N/A run_wsgi_app wsgiapp N/A N/A N/A ImportError N/A N/A N/A N/A N/A N/A N/A wsgiref handlers CGIHandler run wsgiapp N/A load N/A N/A self env N/A N/A N/A Initializes ctx using env. N/A ctx N/A web ctx N/A N/A N/A ctx clear N/A N/A ctx status 200 OK N/A N/A ctx headers N/A N/A N/A ctx output N/A N/A ctx environ N/A ctx env env N/A N/A ctx host N/A N/A env get HTTP_HOST N/A N/A N/A N/A env get wsgi.url_scheme N/A http https N/A N/A N/A ctx protocol N/A env N/A wsgi.url_scheme N/A N/A N/A N/A N/A N/A N/A env get HTTPS lower N/A on true 1 N/A N/A N/A ctx protocol https N/A N/A N/A ctx protocol http N/A N/A ctx homedomain N/A N/A N/A ctx protocol :// N/A N/A env get HTTP_HOST [unknown] N/A N/A ctx homepath N/A N/A N/A os environ get REAL_SCRIPT_NAME N/A N/A env get SCRIPT_NAME N/A N/A ctx home N/A N/A ctx homedomain N/A ctx homepath N/A N/A ctx realhome N/A ctx home N/A N/A ctx ip N/A N/A env get REMOTE_ADDR N/A N/A ctx method N/A N/A env get REQUEST_METHOD N/A N/A ctx path N/A N/A env get PATH_INFO N/A N/A N/A N/A N/A env get SERVER_SOFTWARE startswith lighttpd/ N/A N/A N/A ctx path N/A lstrips N/A N/A N/A N/A N/A env get REQUEST_URI split ? N/A 0 N/A ctx homepath N/A N/A ctx path N/A N/A urllib unquote N/A ctx path N/A N/A N/A env get QUERY_STRING N/A N/A N/A ctx query N/A ? N/A N/A env get QUERY_STRING N/A N/A N/A ctx query N/A N/A ctx fullpath N/A N/A ctx path N/A ctx query N/A N/A k v N/A N/A ctx iteritems N/A N/A N/A isinstance v str N/A N/A N/A ctx N/A k N/A N/A v decode utf-8 replace N/A N/A ctx status 200 OK N/A N/A ctx app_stack N/A N/A _delegate N/A N/A self f fvars args N/A N/A N/A handle_class N/A N/A cls N/A N/A N/A meth N/A N/A web ctx method N/A N/A N/A meth HEAD N/A N/A hasattr cls meth N/A N/A meth GET N/A N/A N/A hasattr cls meth N/A N/A N/A N/A web nomethod cls N/A tocall N/A getattr N/A cls meth N/A N/A tocall args N/A is_class N/A N/A o N/A N/A N/A N/A isinstance o N/A N/A types ClassType type N/A N/A N/A f None N/A N/A N/A N/A web notfound N/A N/A N/A isinstance f application N/A N/A N/A N/A f handle_with_processors N/A N/A N/A is_class f N/A N/A N/A handle_class f N/A N/A N/A isinstance f basestring N/A N/A N/A N/A f startswith redirect  N/A N/A url N/A N/A N/A f split 1 N/A 1 N/A N/A N/A N/A web ctx method GET N/A N/A x N/A N/A N/A N/A web ctx env get QUERY_STRING N/A x N/A N/A url N/A ? x N/A N/A N/A web redirect url N/A N/A N/A . f N/A N/A N/A mod cls N/A N/A f rsplit . 1 N/A mod N/A __import__ mod None None N/A N/A cls N/A getattr mod cls N/A N/A cls N/A fvars N/A f N/A N/A handle_class cls N/A N/A N/A hasattr f __call__ N/A N/A N/A f N/A N/A N/A N/A web notfound N/A _match N/A N/A self mapping value N/A N/A N/A N/A pat what mapping N/A N/A N/A isinstance what application N/A N/A N/A N/A value startswith pat N/A N/A f N/A N/A N/A N/A N/A N/A self _delegate_sub_application pat what N/A N/A f None N/A N/A N/A N/A N/A isinstance what basestring N/A N/A N/A what result N/A N/A utils re_subm N/A N/A ^ pat $ what value N/A N/A result N/A N/A N/A N/A utils re_compile N/A N/A ^ pat $ match value N/A result N/A N/A N/A what N/A x N/A x N/A N/A result groups N/A N/A None None N/A _delegate_sub_application N/A N/A self dir app N/A N/A N/A Deletes request to sub application `app` rooted at the directory `dir`.
        The home, homepath, path and fullpath values in web.ctx are updated to mimic request
        to the subapp and are restored after it is handled. 
        
        @@Any issues with when used with yield?
         N/A N/A N/A web ctx _oldctx N/A N/A web storage N/A web ctx N/A N/A N/A web ctx home dir N/A N/A N/A web ctx homepath dir N/A N/A N/A web ctx path N/A N/A N/A web ctx path N/A N/A len dir N/A N/A N/A web ctx fullpath N/A N/A N/A web ctx fullpath N/A N/A len dir N/A N/A N/A app handle_with_processors N/A get_parent_app N/A N/A self N/A N/A N/A N/A self N/A N/A web ctx app_stack N/A N/A index N/A N/A N/A N/A web ctx app_stack index self N/A N/A index 0 N/A N/A N/A N/A N/A web ctx app_stack N/A N/A index 1 N/A notfound N/A N/A self N/A N/A N/A Returns HTTPError with '404 not found' message N/A parent N/A N/A self get_parent_app N/A parent N/A N/A N/A N/A parent notfound N/A N/A N/A N/A web _NotFound N/A internalerror N/A N/A self N/A N/A N/A Returns HTTPError with '500 internal error' message N/A parent N/A N/A self get_parent_app N/A parent N/A N/A N/A N/A parent internalerror N/A N/A N/A N/A N/A web config get debug N/A N/A debugerror N/A N/A N/A debugerror debugerror N/A N/A N/A N/A web _InternalError N/A N/A auto_application N/A application N/A N/A Application similar to `application` but urls are constructed 
    automatiacally using metaclass.

        >>> app = auto_application()
        >>> class hello(app.page):
        ...     def GET(self): return "hello, world"
        ...
        >>> class foo(app.page):
        ...     path = '/foo/.*'
        ...     def GET(self): return "foo"
        >>> app.request("/hello").data
        'hello, world'
        >>> app.request('/foo/bar').data
        'foo'
     __init__ N/A N/A self N/A N/A N/A N/A N/A application __init__ self metapage N/A type N/A __init__ N/A N/A klass name bases attrs N/A N/A N/A N/A N/A type __init__ klass name bases attrs N/A path N/A N/A attrs get path N/A / name N/A N/A path None N/A N/A N/A N/A self add_mapping path klass N/A N/A page N/A N/A N/A path None N/A __metaclass__ metapage N/A N/A N/A self page page N/A N/A N/A subdir_application application subdomain_application N/A application N/A N/A 
    Application to delegate requests based on the host.

        >>> urls = ("/hello", "hello")
        >>> app = application(urls, globals())
        >>> class hello:
        ...     def GET(self): return "hello"
        >>>
        >>> mapping = (r"hello\.example\.com", app)
        >>> app2 = subdomain_application(mapping)
        >>> app2.request("/hello", host="hello.example.com").data
        'hello'
        >>> response = app2.request("/hello", host="something.example.com")
        >>> response.status
        '404 Not Found'
        >>> response.data
        'not found'
     handle N/A N/A self N/A N/A N/A host N/A N/A N/A N/A N/A web ctx host split : N/A 0 N/A N/A fn args N/A N/A self _match N/A self mapping host N/A N/A N/A self _delegate fn N/A self fvars args N/A _match N/A N/A self mapping value N/A N/A N/A N/A pat what mapping N/A N/A N/A isinstance what basestring N/A N/A N/A what result N/A N/A utils re_subm N/A N/A ^ pat $ what value N/A N/A result N/A N/A N/A N/A utils re_compile N/A N/A ^ pat $ match value N/A result N/A N/A N/A what N/A x N/A x N/A N/A result groups N/A N/A None None N/A N/A loadhook N/A N/A h N/A N/A N/A 
    Converts a load hook into an application processor.
    
        >>> app = auto_application()
        >>> def f(): "something done before handling request"
        ...
        >>> app.add_processor(loadhook(f))
     processor N/A N/A handler N/A N/A N/A N/A h N/A N/A handler N/A N/A processor N/A unloadhook N/A N/A h N/A N/A N/A 
    Converts an unload hook into an application processor.
    
        >>> app = auto_application()
        >>> def f(): "something done after handling request"
        ...
        >>> app.add_processor(unloadhook(f))    
     processor N/A N/A handler N/A N/A N/A N/A N/A result N/A handler N/A is_generator N/A result N/A hasattr result next N/A N/A N/A N/A N/A h N/A N/A is_generator N/A N/A N/A wrap result N/A N/A N/A h N/A result N/A wrap N/A N/A result N/A N/A next N/A N/A N/A N/A N/A N/A N/A N/A N/A result next N/A N/A N/A N/A N/A h N/A N/A N/A result N/A iter result N/A True N/A N/A N/A N/A next N/A N/A processor N/A autodelegate N/A N/A prefix N/A N/A N/A 
    Returns a method that takes one argument and calls the method named prefix+arg,
    calling `notfound()` if there isn't one. Example:

        urls = ('/prefs/(.*)', 'prefs')

        class prefs:
            GET = autodelegate('GET_')
            def GET_password(self): pass
            def GET_privacy(self): pass

    `GET_password` would get called for `/prefs/password` while `GET_privacy` for 
    `GET_privacy` gets called for `/prefs/privacy`.
    
    If a user visits `/prefs/password/change` then `GET_password(self, '/change')`
    is called.
     internal N/A N/A self arg N/A N/A N/A N/A / arg N/A N/A N/A first rest N/A N/A arg split / 1 N/A func N/A prefix first N/A args N/A N/A / rest N/A N/A func N/A prefix arg N/A args N/A N/A N/A hasattr self func N/A N/A N/A N/A N/A N/A getattr self func args N/A N/A N/A TypeError N/A N/A N/A N/A web notfound N/A N/A N/A N/A web notfound N/A N/A internal N/A Reloader N/A N/A N/A Checks to see if any loaded modules have changed on disk and, 
    if so, reloads them.
     N/A File suffix of compiled modules. N/A N/A N/A N/A sys platform startswith java N/A N/A SUFFIX $py.class N/A N/A SUFFIX .pyc __init__ N/A N/A self N/A N/A N/A N/A self mtimes N/A N/A __call__ N/A N/A self N/A N/A N/A mod N/A N/A N/A sys modules values N/A N/A N/A N/A self check mod N/A check N/A N/A self mod N/A N/A N/A N/A N/A mod N/A hasattr mod __file__ N/A mod __file__ N/A N/A N/A N/A N/A mtime N/A N/A N/A os stat N/A mod __file__ st_mtime N/A N/A N/A N/A OSError IOError N/A N/A N/A N/A N/A N/A N/A mod __file__ endswith N/A N/A self __class__ SUFFIX N/A N/A N/A os path exists N/A N/A mod __file__ N/A -1 N/A N/A mtime N/A max N/A N/A N/A os stat N/A N/A mod __file__ N/A -1 st_mtime mtime N/A N/A mod N/A self mtimes N/A N/A N/A N/A self mtimes N/A mod mtime N/A N/A N/A N/A N/A self mtimes N/A mod mtime N/A N/A N/A N/A N/A reload mod N/A N/A N/A self mtimes N/A mod mtime N/A N/A N/A ImportError N/A N/A N/A N/A N/A N/A __name__ __main__ N/A N/A doctest N/A N/A N/A doctest testmod