MCPcopy Create free account

hub / github.com/GeoInsights/ChinaAQIData / functions

Functions251 in github.com/GeoInsights/ChinaAQIData

↓ 53 callersMethodread
(self, *args, **kwargs)
python-wcfbin/proxy.py:308
↓ 19 callersMethodwrite
(self, *args, **kwargs)
python-wcfbin/proxy.py:307
↓ 18 callersMethodto_bytes
>>> AttributeRecord('x', 'test', TrueTextRecord()).to_bytes() b'\\x05\\x01x\\x04test\\x86'
python-wcfbin/wcf/records/attributes.py:99
↓ 17 callersMethodparse
>>> from io import BytesIO >>> fp = BytesIO(b'\\x01x\\x04test\\x86') >>> ar = AttributeRecord.parse(fp) >>> str(ar.pr
python-wcfbin/wcf/records/attributes.py:115
↓ 12 callersMethodclose
(self)
python-wcfbin/proxy.py:310
↓ 10 callersMethodto_bytes
Generates the representing bytes of the record >>> from wcf.records import * >>> Record(0xff).to_bytes() b'\\xff'
python-wcfbin/wcf/records/base.py:60
↓ 9 callersMethodto_bytes
r""" >>> Int8TextRecord(42).to_bytes() b'\x88*'
python-wcfbin/wcf/records/text.py:114
↓ 8 callersMethoderror
(self, message)
python-wcfbin/wcf/MyHTMLParser.py:123
↓ 8 callersMethodto_bytes
>>> ElementRecord('x', 'Envelope').to_bytes() b'A\\x01x\\x08Envelope'
python-wcfbin/wcf/records/elements.py:100
↓ 6 callersMethodadd_records
adds records to the lookup table :param records: list of Record subclasses :type records: list(Record)
python-wcfbin/wcf/records/base.py:47
↓ 6 callersMethodparse
>>> from io import BytesIO >>> buf = BytesIO(b'\\x00\\x00\\x06\\x00\\x00\\x00\\x00\\x00\\x80-N\\x00\\x00\\x00\\x00\\x00') >>>
python-wcfbin/wcf/datatypes.py:211
↓ 6 callersMethodparse
r""" >>> from io import BytesIO >>> fp = BytesIO(b'\x01x\x08Envelope') >>> er = ElementRecord.parse(fp) >>> str(er)
python-wcfbin/wcf/records/elements.py:117
↓ 6 callersMethodto_bytes
>>> Utf8String("abc").to_bytes() b'\\x03\x61\x62\x63' >>> Utf8String("\xfcber").to_bytes() b'\\x05\\xc3\\xbcber'
python-wcfbin/wcf/datatypes.py:133
↓ 5 callersFunctiondump_records
returns the byte representation of a given record tree :param records: the record tree :type records: wcf.records.Record :returns: a
python-wcfbin/wcf/records/__init__.py:90
↓ 5 callersMethodhandle_data
(self, data)
python-wcfbin/wcf/MyHTMLParser.py:354
↓ 5 callersMethodparse
Parses the binary data from fp into Record objects :param fp: file like object to read from :returns: a root Record object w
python-wcfbin/wcf/records/base.py:77
↓ 4 callersMethod__init__
(self, prefix, name, value)
python-wcfbin/wcf/records/attributes.py:94
↓ 4 callersMethod_parse_data
(self, data, is_cdata=False)
python-wcfbin/wcf/xml2records.py:91
↓ 4 callersMethod_store_data
(self, data, end=False, is_cdata=False)
python-wcfbin/wcf/xml2records.py:81
↓ 4 callersMethodhandle_data
(self, data)
python-wcfbin/wcf/xml2records.py:250
↓ 4 callersMethodto_bytes
>>> MultiByteInt31(268435456).to_bytes() b'\\x80\\x80\\x80\\x80\\x01' >>> MultiByteInt31(0x7f).to_bytes() b'\\x7f'
python-wcfbin/wcf/datatypes.py:45
↓ 3 callersMethodfeed
r"""Feed data to the parser. Call this as often as you want, with as little or as much text as you want (may include '\n').
python-wcfbin/wcf/MyHTMLParser.py:110
↓ 3 callersFunctionprint_records
prints the given record tree into a file like object :param records: a tree of record objects :type records: wcf.records.Record :para
python-wcfbin/wcf/records/__init__.py:42
↓ 2 callersMethod__init__
(self, prefix, name, *args, **kwargs)
python-wcfbin/wcf/records/elements.py:96
↓ 2 callersMethod_connect_to
(self, netloc, soc)
python-wcfbin/proxy.py:55
↓ 2 callersMethod_parse_attr
(self, name, value)
python-wcfbin/wcf/xml2records.py:177
↓ 2 callersMethod_parse_tag
(self, tag)
python-wcfbin/wcf/xml2records.py:49
↓ 2 callersMethodgoahead
(self, end)
python-wcfbin/wcf/MyHTMLParser.py:141
↓ 2 callersMethodhandle_endtag
(self, tag)
python-wcfbin/wcf/MyHTMLParser.py:342
↓ 2 callersMethodhandle_starttag
(self, tag, attrs)
python-wcfbin/wcf/MyHTMLParser.py:338
↓ 2 callersMethodparse
(cls, fp)
python-wcfbin/wcf/records/text.py:82
↓ 2 callersMethodunescape
(self, s)
python-wcfbin/wcf/MyHTMLParser.py:374
↓ 2 callersFunctionusage
(msg=None)
python-wcfbin/proxy.py:287
↓ 1 callersMethod__init__
(self)
python-wcfbin/proxy.py:306
↓ 1 callersMethod__str__
(self)
python-wcfbin/wcf/records/text.py:78
↓ 1 callersMethod_read_write
(self, soc, max_idling=20, local=False)
python-wcfbin/proxy.py:221
↓ 1 callersMethod_send_with_handler
(self, soc)
python-wcfbin/proxy.py:140
↓ 1 callersMethodcheck_for_whole_start_tag
(self, i)
python-wcfbin/wcf/MyHTMLParser.py:287
↓ 1 callersMethodclear_cdata_mode
(self)
python-wcfbin/wcf/MyHTMLParser.py:135
↓ 1 callersMethodclose
Handle any buffered data.
python-wcfbin/wcf/MyHTMLParser.py:119
↓ 1 callersFunctiondaemonize
(logger)
python-wcfbin/proxy.py:304
↓ 1 callersFunctiondata_from_xml_json
(xmlfile)
xml2json.py:8
↓ 1 callersFunctionencode_decode
(headers, data)
python-wcfbin/WcfPlugin.py:12
↓ 1 callersFunctionescape
(text)
python-wcfbin/wcf/records/text.py:49
↓ 1 callersFunctionescapecp
(cp)
python-wcfbin/wcf/records/text.py:45
↓ 1 callersMethodfileno
(self)
python-wcfbin/proxy.py:309
↓ 1 callersMethodhandle_charref
(self, name)
python-wcfbin/wcf/MyHTMLParser.py:346
↓ 1 callersMethodhandle_entityref
(self, name)
python-wcfbin/wcf/MyHTMLParser.py:350
↓ 1 callersMethodhandle_pi
(self, data)
python-wcfbin/wcf/MyHTMLParser.py:366
↓ 1 callersMethodhandle_startendtag
(self, tag, attrs)
python-wcfbin/wcf/MyHTMLParser.py:333
↓ 1 callersFunctionlogSetup
(filename, log_size, daemon)
python-wcfbin/proxy.py:263
↓ 1 callersMethodlog_error
(self, format, *args)
python-wcfbin/proxy.py:252
↓ 1 callersFunctionmain
()
python-wcfbin/proxy.py:338
↓ 1 callersMethodparse_endtag
(self, i)
python-wcfbin/wcf/MyHTMLParser.py:317
↓ 1 callersMethodparse_pi
(self, i)
python-wcfbin/wcf/MyHTMLParser.py:224
↓ 1 callersMethodparse_starttag
(self, i)
python-wcfbin/wcf/MyHTMLParser.py:236
↓ 1 callersMethodreset
Reset this instance. Loses all unprocessed data.
python-wcfbin/wcf/MyHTMLParser.py:103
↓ 1 callersMethodset_cdata_mode
(self)
python-wcfbin/wcf/MyHTMLParser.py:132
↓ 1 callersMethodto_bytes
>>> Decimal(False, 0, 5123456, 6).to_bytes() b'\\x00\\x00\\x06\\x00\\x00\\x00\\x00\\x00\\x80-N\\x00\\x00\\x00\\x00\\x00'
python-wcfbin/wcf/datatypes.py:176
↓ 1 callersMethodunknown_decl
(self, data)
python-wcfbin/wcf/MyHTMLParser.py:369
↓ 1 callersFunctionxmlparse
parse air quality xml data to dict list
xml2json.py:19
Method__init__
(self, server_address, RequestHandlerClass, logger=None)
python-wcfbin/proxy.py:258
Method__init__
(self, obj)
python-wcfbin/proxy.py:312
Method__init__
(self, *args, **kwargs)
python-wcfbin/tests/alltests.py:47
Method__init__
(self, msg, position=(None, None))
python-wcfbin/wcf/MyHTMLParser.py:61
Method__init__
Initialize and reset this instance.
python-wcfbin/wcf/MyHTMLParser.py:99
Method__init__
(self, *args)
python-wcfbin/wcf/datatypes.py:42
Method__init__
(self, *args)
python-wcfbin/wcf/datatypes.py:128
Method__init__
(self, sign, high, low, scale)
python-wcfbin/wcf/datatypes.py:167
Method__init__
(self, value)
python-wcfbin/wcf/records/text.py:111
Method__init__
(self, value)
python-wcfbin/wcf/records/text.py:227
Method__init__
(self, string)
python-wcfbin/wcf/records/text.py:258
Method__init__
(self, prefix, index)
python-wcfbin/wcf/records/text.py:360
Method__init__
(self, value)
python-wcfbin/wcf/records/text.py:401
Method__init__
(self, value)
python-wcfbin/wcf/records/text.py:445
Method__init__
(self, value)
python-wcfbin/wcf/records/text.py:489
Method__init__
(self, value, tz)
python-wcfbin/wcf/records/text.py:518
Method__init__
(self, value)
python-wcfbin/wcf/records/text.py:569
Method__init__
(self, *args, **kwargs)
python-wcfbin/wcf/records/text.py:662
Method__init__
(self, data)
python-wcfbin/wcf/records/text.py:705
Method__init__
(self, data)
python-wcfbin/wcf/records/text.py:738
Method__init__
(self, data)
python-wcfbin/wcf/records/text.py:771
Method__init__
(self, value)
python-wcfbin/wcf/records/text.py:816
Method__init__
(self, index)
python-wcfbin/wcf/records/text.py:845
Method__init__
(self, name, *args, **kwargs)
python-wcfbin/wcf/records/elements.py:54
Method__init__
(self, index, *args, **kwargs)
python-wcfbin/wcf/records/elements.py:133
Method__init__
(self, prefix, index, *args, **kwargs)
python-wcfbin/wcf/records/elements.py:175
Method__init__
(self, name)
python-wcfbin/wcf/records/elements.py:223
Method__init__
(self, index)
python-wcfbin/wcf/records/elements.py:254
Method__init__
(self, type=None)
python-wcfbin/wcf/records/base.py:56
Method__init__
(self, comment, *args, **kwargs)
python-wcfbin/wcf/records/base.py:160
Method__init__
(self, element, data, attributes)
python-wcfbin/wcf/records/base.py:202
Method__init__
(self, name, value)
python-wcfbin/wcf/records/attributes.py:55
Method__init__
(self, index, value)
python-wcfbin/wcf/records/attributes.py:138
Method__init__
(self, prefix, index, value)
python-wcfbin/wcf/records/attributes.py:179
Method__init__
(self, index)
python-wcfbin/wcf/records/attributes.py:224
Method__init__
(self, prefix, index)
python-wcfbin/wcf/records/attributes.py:258
Method__init__
(self, value, *args, **kwargs)
python-wcfbin/wcf/records/attributes.py:297
Method__init__
(self, name, value, *args, **kwargs)
python-wcfbin/wcf/records/attributes.py:329
Method__init__
(self, name, value)
python-wcfbin/wcf/records/attributes.py:361
next →1–100 of 251, ranked by callers