Module Expr Str ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num attr Str Num Index Num 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 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 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/')
        ''
     N/A N/A N/A N/A N/A N/A N/A uri rsplit / 1 N/A -1 rsplit # 1 N/A -1 N/A N/A SUFFIX_FORMAT_MAP N/A rdf rdfs owl n3 ttl nt trix xhtml html svg xml xml xml n3 n3 nt trix rdfa rdfa rdfa 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")
        ''
     N/A ext N/A N/A splitext fpath N/A -1 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