Module ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str ClassDef bases Call NameLoad Str NameLoad body Expr Str Assign NameStore TupleLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BoolOpOr AttributeLoad NameLoad attr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore BinOpAdd Str AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Continue If BoolOpOr CompareIs NameLoad NameLoad CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareLt NameLoad Num body Return TupleLoad NameLoad Str NameLoad Return TupleLoad SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Call NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad ListLoad Str Str Str If NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If BoolOpAnd NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num AugAssignAdd NameStore Str If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If UnaryOpNot NameLoad body Assign NameStore NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad orelse If BoolOpAnd UnaryOpNot NameLoad NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return TupleLoad BoolOpOr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list
N/A collections namedtuple exceptions LocationParseError N/A url_attrs N/A scheme auth host port path query fragment Url N/A N/A namedtuple Url url_attrs N/A N/A 
    Datastructure for representing an HTTP URL. Used as a return value for
    :func:`parse_url`.
     N/A slots N/A __new__ N/A N/A cls scheme auth host port path query fragment N/A None None None None None None None N/A N/A N/A N/A N/A super Url cls __new__ cls scheme auth host port path query fragment N/A hostname N/A N/A self N/A N/A N/A For backwards-compatibility with urlparse. We're nice like that. N/A N/A self host N/A property request_uri N/A N/A self N/A N/A N/A Absolute path including the query string. N/A uri N/A N/A self path / N/A N/A N/A self query None N/A N/A uri N/A ? N/A self query N/A uri N/A property netloc N/A N/A self N/A N/A N/A Network location including host and port N/A N/A self port N/A N/A N/A %s:%d N/A N/A self host N/A self port N/A N/A self host N/A property N/A split_first N/A N/A s delims N/A N/A N/A 
    Given a string and an iterable of delimiters, split on the first found
    delimiter. Return two split parts and the matched delimiter.

    If not found, then the first part is the full input string.

    Example::

        >>> split_first('foo/bar?baz', '?/=')
        ('foo', 'bar?baz', '/')
        >>> split_first('foo/bar?baz', '123')
        ('foo/bar?baz', '', None)

    Scales linearly with number of delims. Not ideal for large number of delims.
     N/A min_idx None N/A min_delim None N/A d delims N/A N/A idx N/A N/A s find d N/A N/A idx 0 N/A N/A N/A N/A N/A min_idx None N/A idx min_idx N/A N/A min_idx idx N/A min_delim d N/A N/A N/A min_idx None N/A min_idx 0 N/A N/A N/A s None N/A N/A N/A s N/A min_idx N/A s N/A N/A min_idx 1 min_delim N/A parse_url N/A N/A url N/A N/A N/A 
    Given a url, return a parsed :class:`.Url` namedtuple. Best-effort is
    performed to parse incomplete urls. Fields not provided will be None.

    Partly backwards-compatible with :mod:`urlparse`.

    Example::

        >>> parse_url('http://google.com/mail/')
        Url(scheme='http', host='google.com', port=None, path='/', ...)
        >>> parse_url('google.com:80')
        Url(scheme=None, host='google.com', port=80, path=None, ...)
        >>> parse_url('/foo?bar')
        Url(scheme=None, host=None, port=None, path='/foo', query='bar', ...)
     N/A N/A url N/A N/A N/A Url N/A scheme None N/A auth None N/A host None N/A port None N/A path None N/A fragment None N/A query None N/A N/A :// url N/A N/A N/A scheme url N/A N/A url split :// 1 N/A N/A url path_ delim N/A split_first url N/A / ? # N/A delim N/A N/A path N/A delim path_ N/A N/A @ url N/A N/A N/A auth url N/A N/A url rsplit @ 1 N/A N/A url N/A N/A url N/A 0 [ N/A N/A N/A host url N/A N/A url split ] 1 N/A host ] N/A N/A : url N/A N/A N/A _host port N/A N/A url split : 1 N/A N/A host N/A N/A host _host N/A port N/A N/A N/A N/A N/A port isdigit N/A N/A N/A LocationParseError url N/A port N/A int port N/A N/A port None N/A N/A N/A N/A host url N/A N/A host url N/A N/A path N/A N/A N/A Url scheme auth host port path query fragment N/A N/A # path N/A N/A N/A path fragment N/A N/A path split # 1 N/A N/A ? path N/A N/A N/A path query N/A N/A path split ? 1 N/A N/A Url scheme auth host port path query fragment N/A get_host N/A N/A url N/A N/A N/A 
    Deprecated. Use :func:`.parse_url` instead.
     N/A p N/A parse_url url N/A N/A N/A N/A p scheme http N/A p hostname N/A p port N/A