MCPcopy Create free account

hub / github.com/GeoInsights/ChinaAQIData / functions

Functions251 in github.com/GeoInsights/ChinaAQIData

Methodparse
>>> from io import BytesIO >>> fp = BytesIO(b'\\x01a\\x06') >>> dxar = DictionaryXmlnsAttributeRecord.parse(fp) >>> s
python-wcfbin/wcf/records/attributes.py:277
Methodparse
>>> from io import BytesIO >>> fp = BytesIO(b'\\x04test') >>> sxar = ShortXmlnsAttributeRecord.parse(fp) >>> str(sxar
python-wcfbin/wcf/records/attributes.py:314
Methodparse
r""" >>> from io import BytesIO >>> fp = BytesIO(b'\x04name\x05value') >>> str(XmlnsAttributeRecord.parse(fp)) 'xmlns:
python-wcfbin/wcf/records/attributes.py:348
Methodparse
r""" >>> from io import BytesIO >>> fp = BytesIO(b'\x04name\x86') >>> paar = PrefixAttributeARecord.parse(fp) >>> str(
python-wcfbin/wcf/records/attributes.py:374
Methodparse
r""" >>> from io import BytesIO >>> fp = BytesIO(b'\02\x86') >>> pdabr = PrefixDictionaryAttributeBRecord.parse(fp) >>
python-wcfbin/wcf/records/attributes.py:403
Methodparse_marked_section
(self, i, report=1)
python-wcfbin/wcf/xml2records.py:276
MethodprocessProxyMessage
(self, *args, **kwargs)
python-wcfbin/WcfPlugin.py:45
Methodread
(self, *args, **kwargs)
python-wcfbin/proxy.py:314
MethodreplaceEntities
(s)
python-wcfbin/wcf/MyHTMLParser.py:377
Functionrepr_records
(records, skip=0)
python-wcfbin/wcf/records/__init__.py:81
Methodreset
(self)
python-wcfbin/wcf/xml2records.py:40
MethodrunTest
(self)
python-wcfbin/tests/alltests.py:38
Methodto_bytes
r""" >>> Int16TextRecord(1337).to_bytes() b'\x8a9\x05'
python-wcfbin/wcf/records/text.py:139
Methodto_bytes
r""" >>> Int32TextRecord(1337).to_bytes() b'\x8c9\x05\x00\x00'
python-wcfbin/wcf/records/text.py:161
Methodto_bytes
r""" >>> Int64TextRecord(1337).to_bytes() b'\x8e9\x05\x00\x00\x00\x00\x00\x00'
python-wcfbin/wcf/records/text.py:183
Methodto_bytes
r""" >>> UInt64TextRecord(1337).to_bytes() b'\xb29\x05\x00\x00\x00\x00\x00\x00'
python-wcfbin/wcf/records/text.py:205
Methodto_bytes
r""" >>> BoolTextRecord(True).to_bytes() b'\xb4\x01' >>> BoolTextRecord(False).to_bytes() b'\xb4\x00'
python-wcfbin/wcf/records/text.py:230
Methodto_bytes
>>> UnicodeChars8TextRecord('abc').to_bytes() b'\\xb6\\x06a\\x00b\\x00c\\x00' >>> UnicodeChars8TextRecord(u'abc').to_bytes()
python-wcfbin/wcf/records/text.py:264
Methodto_bytes
>>> UnicodeChars16TextRecord('abc').to_bytes() b'\\xb8\\x06\\x00a\\x00b\\x00c\\x00' >>> UnicodeChars16TextRecord(u'abc').to_b
python-wcfbin/wcf/records/text.py:296
Methodto_bytes
>>> UnicodeChars32TextRecord('abc').to_bytes() b'\\xba\\x06\\x00\\x00\\x00a\\x00b\\x00c\\x00' >>> UnicodeChars32TextRecord(u'
python-wcfbin/wcf/records/text.py:328
Methodto_bytes
>>> QNameDictionaryTextRecord('b', 2).to_bytes() b'\\xbc\\x01\\x00\\x00\\x02'
python-wcfbin/wcf/records/text.py:364
Methodto_bytes
r""" >>> FloatTextRecord(1.337).to_bytes() b'\x90\xd1"\xab?'
python-wcfbin/wcf/records/text.py:404
Methodto_bytes
r""" >>> DoubleTextRecord(1.337).to_bytes() b'\x921\x08\xac\x1cZd\xf5?'
python-wcfbin/wcf/records/text.py:448
Methodto_bytes
r""" >>> DecimalTextRecord(Decimal(False, 0, 1337, 3)).to_bytes() b'\x94\x00\x00\x03\x00\x00\x00\x00\x009\x05\x00\x00\x00\x00\x00\x00'
python-wcfbin/wcf/records/text.py:495
Methodto_bytes
>>> str(''.join('%02X' % i for i in DatetimeTextRecord(632834208000000000, 0).to_bytes())) '9600408EF95B47C808' >>> str(''.jo
python-wcfbin/wcf/records/text.py:534
Methodto_bytes
r""" >>> Chars8TextRecord('abc').to_bytes() b'\x98\x03abc'
python-wcfbin/wcf/records/text.py:578
Methodto_bytes
r""" >>> Chars16TextRecord('abc').to_bytes() b'\x9a\x03\x00abc'
python-wcfbin/wcf/records/text.py:606
Methodto_bytes
r""" >>> Chars32TextRecord('abc').to_bytes() b'\x9c\x03\x00\x00\x00abc'
python-wcfbin/wcf/records/text.py:634
Methodto_bytes
>>> UniqueIdTextRecord('urn:uuid:33221100-5544-7766-8899-aabbccddeeff').to_bytes() b'\\xac\\x00\\x11"3DUfw\\x88\\x99\\xaa\\xbb\\xcc\\
python-wcfbin/wcf/records/text.py:665
Methodto_bytes
r""" >>> Bytes8TextRecord(b'abc').to_bytes() b'\x9e\x03abc'
python-wcfbin/wcf/records/text.py:708
Methodto_bytes
r""" >>> Bytes16TextRecord(b'abc').to_bytes() b'\xa0\x03\x00abc'
python-wcfbin/wcf/records/text.py:744
Methodto_bytes
r""" >>> Bytes32TextRecord(b'abc').to_bytes() b'\xa2\x03\x00\x00\x00abc'
python-wcfbin/wcf/records/text.py:777
Methodto_bytes
r""" >>> TimeSpanTextRecord(36000000).to_bytes() b'\xae\x00Q%\x02\x00\x00\x00\x00'
python-wcfbin/wcf/records/text.py:819
Methodto_bytes
r""" >>> DictionaryTextRecord(2).to_bytes() b'\xaa\x02'
python-wcfbin/wcf/records/text.py:848
Methodto_bytes
>>> ShortElementRecord('Envelope').to_bytes() b'@\\x08Envelope'
python-wcfbin/wcf/records/elements.py:59
Methodto_bytes
>>> ShortDictionaryElementRecord(2).to_bytes() b'B\\x02'
python-wcfbin/wcf/records/elements.py:145
Methodto_bytes
>>> DictionaryElementRecord('x', 2).to_bytes() b'C\\x01x\\x02'
python-wcfbin/wcf/records/elements.py:192
Methodto_bytes
r""" >>> PrefixElementARecord('test').to_bytes() b'^\x04test'
python-wcfbin/wcf/records/elements.py:226
Methodto_bytes
r""" >>> PrefixDictionaryElementARecord(2).to_bytes() b'D\x02'
python-wcfbin/wcf/records/elements.py:257
Methodto_bytes
>>> CommentRecord('test').to_bytes() b'\\x02\\x04test'
python-wcfbin/wcf/records/base.py:163
Methodto_bytes
>>> from wcf.records.text import Int32TextRecord >>> from wcf.records.elements import ShortElementRecord >>> ArrayRecord(Shor
python-wcfbin/wcf/records/base.py:215
Methodto_bytes
>>> ShortAttributeRecord('test', TrueTextRecord()).to_bytes() b'\\x04\\x04test\\x86'
python-wcfbin/wcf/records/attributes.py:59
Methodto_bytes
>>> ShortDictionaryAttributeRecord(3, TrueTextRecord()).to_bytes() b'\\x06\\x03\\x86'
python-wcfbin/wcf/records/attributes.py:142
Methodto_bytes
>>> DictionaryAttributeRecord('x', 2, TrueTextRecord()).to_bytes() b'\\x07\\x01x\\x02\\x86'
python-wcfbin/wcf/records/attributes.py:184
Methodto_bytes
>>> ShortDictionaryXmlnsAttributeRecord(6).to_bytes() b'\\n\\x06'
python-wcfbin/wcf/records/attributes.py:230
Methodto_bytes
>>> DictionaryXmlnsAttributeRecord('a', 6).to_bytes() b'\\x0b\\x01\x61\\x06'
python-wcfbin/wcf/records/attributes.py:265
Methodto_bytes
>>> ShortXmlnsAttributeRecord('test').to_bytes() b'\\x08\\x04test'
python-wcfbin/wcf/records/attributes.py:301
Methodto_bytes
>>> XmlnsAttributeRecord('name', 'value').to_bytes() b'\\t\\x04name\\x05value'
python-wcfbin/wcf/records/attributes.py:334
Methodto_bytes
r""" >>> PrefixAttributeARecord('name', TrueTextRecord()).to_bytes() b'&\x04name\x86'
python-wcfbin/wcf/records/attributes.py:364
Methodto_bytes
r""" >>> PrefixDictionaryAttributeBRecord(2, TrueTextRecord()).to_bytes() b'\r\x02\x86'
python-wcfbin/wcf/records/attributes.py:393
Methodwrite
(self, string)
python-wcfbin/proxy.py:313
← previous201–251 of 251, ranked by callers