Module Expr Str ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str For NameStore TupleLoad Str Str Str body If Call AttributeLoad NameLoad attr NameLoad body Break If CompareIn NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num orelse Assign NameStore Str Assign NameStore NameLoad If BoolOpAnd NameLoad NameLoad body Return NameLoad decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad NameLoad Return BoolOpOr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore SubscriptLoad Call NameLoad NameLoad Index Num If BoolOpAnd CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list
N/A N/A 
RDF- and RDFlib-centric file and URL path utilities.
 os.path splitext uri_leaf N/A N/A uri N/A N/A N/A 
    Get the "leaf" - fragment id or last segment - of a URI. Useful e.g. for
    getting a term from a "namespace like" URI. Examples:

        >>> uri_leaf('http://example.org/ns/things#item')
        'item'
        >>> uri_leaf('http://example.org/ns/stuff/item')
        'item'
        >>> uri_leaf('http://example.org/ns/stuff/')
        >>>
        >>> uri_leaf('urn:example.org:stuff')
        'stuff'
        >>> uri_leaf('example.org')
        >>>
     N/A char N/A # / : N/A N/A N/A N/A uri endswith char N/A N/A N/A N/A char uri N/A N/A sep char N/A leaf N/A N/A N/A uri rsplit char N/A -1 N/A N/A sep N/A leaf uri N/A N/A sep leaf N/A N/A leaf N/A N/A SUFFIX_FORMAT_MAP N/A rdf rdfs owl n3 ttl nt trix xhtml html svg nq trig xml xml xml n3 n3 nt trix rdfa rdfa rdfa nquads trig guess_format N/A N/A fpath fmap N/A None N/A N/A 
    Guess RDF serialization based on file suffix. Uses
    ``SUFFIX_FORMAT_MAP`` unless ``fmap`` is provided. Examples:

        >>> guess_format('path/to/file.rdf')
        'xml'
        >>> guess_format('path/to/file.owl')
        'xml'
        >>> guess_format('path/to/file.ttl')
        'n3'
        >>> guess_format('path/to/file.xhtml')
        'rdfa'
        >>> guess_format('path/to/file.svg')
        'rdfa'
        >>> guess_format('path/to/file.xhtml', {'xhtml': 'grddl'})
        'grddl'

    This also works with just the suffixes, with or without leading dot, and
    regardless of letter case::

        >>> guess_format('.rdf')
        'xml'
        >>> guess_format('rdf')
        'xml'
        >>> guess_format('RDF')
        'xml'
     N/A fmap N/A fmap SUFFIX_FORMAT_MAP N/A N/A N/A N/A fmap get N/A _get_ext fpath N/A N/A fmap get N/A N/A fpath lower N/A _get_ext N/A N/A fpath lower N/A True N/A N/A 
    Gets the file extension from a file(path); stripped of leading '.' and in
    lower case. Examples:

        >>> _get_ext("path/to/file.txt")
        'txt'
        >>> _get_ext("OTHER.PDF")
        'pdf'
        >>> _get_ext("noext")
        ''
        >>> _get_ext(".rdf")
        'rdf'
     N/A ext N/A N/A splitext fpath N/A -1 N/A N/A N/A ext N/A N/A fpath startswith . N/A N/A ext fpath N/A lower N/A N/A ext N/A N/A ext lower N/A N/A N/A ext startswith . N/A N/A ext N/A ext N/A 1 N/A ext N/A