anyser-python:多种序列化格式的通用接口

时间:2021-04-23 07:13:05
【文件属性】:
文件名称:anyser-python:多种序列化格式的通用接口
文件大小:27KB
文件格式:ZIP
更新时间:2021-04-23 07:13:05
Python Anyser 多种序列化格式的通用接口。 原料药 dumps(obj, format: str, **options) -> str dumpb(obj, format: str, **options) -> bytes loads(s: str, format: str, **options) -> object loadb(b: bytes, format: str, **options) -> object 格式可以是: 格式 资料格式 要求 json json , .json 泡菜 pickle XML文件 xml , .xml json5 json5 , .json5 安装anyser[json5] 托姆 toml , .toml 安装anyser[toml] yaml yaml , .yaml , .yml 安装anyser[yaml]
【文件预览】:
anyser-python-master
----requirements.yaml.txt(6B)
----.gitattributes(66B)
----Pipfile.lock(25KB)
----requirements.json5.txt(5B)
----.travis.yml(320B)
----LICENSE(1KB)
----setup.py(180B)
----README.md(793B)
----Pipfile(206B)
----requirements.toml.txt(4B)
----tests()
--------test_impl_bson.py(519B)
--------test_impl_bencode.py(832B)
--------test_impl_xml.py(541B)
--------test_impl_pickle.py(454B)
--------test_impl_json.py(1KB)
--------test_anyser.py(935B)
--------test_impl_toml.py(517B)
--------test_impl_yaml.py(835B)
--------test_impl_json5.py(775B)
----.gitignore(2KB)
----requirements.bson.txt(4B)
----requirements.bencode.txt(10B)
----anyser()
--------abc.py(4KB)
--------impls()
--------g.py(595B)
--------err.py(303B)
--------__init__.py(1001B)
--------core.py(4KB)

网友评论