Module Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str orelse Assign AttributeStore NameLoad attr IfExp NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpAnd CompareGt NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return BinOpAdd Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Call NameLoad NameLoad orelse Return BinOpAdd Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num BinOpSub Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr BinOpAdd SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Slice Num orelse Expr Call AttributeLoad NameLoad attr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad Str Assign NameStore Call NameLoad ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp BinOpAdd BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Str SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Return Call AttributeLoad Str attr ListComp BinOpAdd NameLoad NameLoad comprehension NameStore NameLoad decorator_list decorator_list Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str
N/A N/A logging N/A log N/A N/A logging getLogger __name__ record Record UriRecord N/A Record N/A N/A Wraps an NDEF URI record and provides access to the :attr:`uri`
    content. The URI RTD specification defines the payload of the URI
    record as a URI identifier code byte followed by a URI string. The
    URI identifier code provides one byte code points for
    abbreviations of commonly used URI protocol names. The
    :class:`UriRecord` class handles abbreviations transparently by
    expanding and compressing when decoding and encoding.

    :param uri: URI string or :class:`nfc.ndef.Record` object

    The `uri` argument may alternatively supply an instance of class
    :class:`nfc.ndef.Record`. Initialization is then done by parsing
    the record payload. If the record type does not match
    'urn:nfc:wkt:U' a :exc:`ValueError` exception is raised.

    >>> nfc.ndef.UriRecord(nfc.ndef.Record())
    >>> nfc.ndef.UriRecord("http://nfcpy.org")
     __init__ N/A N/A self uri N/A None N/A N/A N/A N/A N/A super UriRecord self __init__ urn:nfc:wkt:U N/A N/A isinstance uri Record N/A N/A record uri N/A N/A N/A record type N/A self type N/A N/A N/A self name N/A record name N/A N/A self data N/A record data N/A N/A N/A ValueError record type mismatch N/A N/A N/A self uri N/A uri uri N/A __repr__ N/A N/A self N/A N/A N/A s nfc.ndef.UriRecord(uri='{0}') N/A N/A N/A s format N/A self uri N/A data N/A N/A self N/A N/A N/A N/A i p N/A enumerate protocol_strings N/A N/A N/A N/A i 0 N/A N/A N/A self uri startswith p N/A N/A N/A N/A chr i N/A N/A self uri N/A N/A len p N/A N/A N/A N/A self uri N/A property data N/A N/A self string N/A N/A N/A N/A N/A log debug N/A decode uri record  N/A repr string N/A N/A N/A len string 0 N/A N/A p N/A min N/A ord N/A string N/A 0 N/A N/A len protocol_strings 1 N/A N/A self uri N/A N/A protocol_strings N/A p N/A string N/A 1 N/A N/A N/A N/A log error nothing to parse N/A N/A data setter uri N/A N/A self N/A N/A N/A The URI string, including any abbreviation that is possibly
        available. A :exc:`ValueError` exception is raised if the
        string contains non ascii characters. N/A N/A self _uri N/A property uri N/A N/A self value N/A N/A N/A N/A N/A N/A self _uri N/A N/A value encode ascii N/A N/A N/A UnicodeDecodeError N/A N/A N/A ValueError uri value must be an ascii string N/A N/A AttributeError N/A N/A N/A TypeError uri value must be a str type N/A N/A uri setter pretty N/A N/A self indent N/A 0 N/A N/A lines N/A list N/A N/A self name N/A N/A N/A N/A lines append N/A identifier N/A repr N/A self name N/A N/A N/A lines append N/A resource N/A self uri N/A indent N/A indent N/A lwidth N/A max N/A N/A len N/A line N/A 0 N/A line lines N/A lines N/A N/A N/A N/A N/A N/A line N/A 0 ljust lwidth  =  N/A line N/A 1 N/A line lines N/A N/A N/A join N/A N/A indent line N/A line lines N/A N/A N/A protocol_strings N/A http://www. https://www. http:// https:// tel: mailto: ftp://anonymous:anonymous@ ftp://ftp. ftps:// sftp:// smb:// nfs:// ftp:// dav:// news: telnet:// imap: rtsp:// urn: pop: sip: sips: tftp: btspp:// btl2cap:// btgoep:// tcpobex:// irdaobex:// file:// urn:epc:id: urn:epc:tag: urn:epc:pat: urn:epc:raw: urn:epc: urn:nfc: RFU: