toml:适用于TOML的Python库

时间:2021-05-13 05:45:21
【文件属性】:
文件名称:toml:适用于TOML的Python库
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-13 05:45:21
hacktoberfest hacktoberfest2020 Python 汤姆 一个用于解析和创建Python库。 该模块通过。 也可以看看: 安装 要在上安装最新版本,只需运行: pip install toml 或安装最新的开发版本,运行: git clone https://github.com/uiri/toml.git cd toml python setup.py install 快速教程 toml.loads接收一个包含标准TOML格式数据的字符串,并返回一个包含已解析数据的字典。 >>> import toml >>> toml_string = """ ... # This is a TOML document. ... ... title = " TOML Example " ... ... [owner] ... name = " Tom Preston-Werner " ... dob = 1979 - 0 5 - 27T07
【文件预览】:
toml-master
----MANIFEST.in(121B)
----.travis.yml(528B)
----README.rst(6KB)
----tests()
--------decoding_test3.sh(66B)
--------decoding_test2.sh(66B)
--------decoding_test.py(2KB)
--------__init__.py(0B)
--------test_api.py(7KB)
--------decoding_test.sh(65B)
----tox.ini(370B)
----test.toml(1KB)
----LICENSE(1KB)
----toml()
--------tz.py(701B)
--------encoder.py(10KB)
--------tz.pyi(276B)
--------decoder.pyi(2KB)
--------ordered.pyi(224B)
--------__init__.py(723B)
--------encoder.pyi(1KB)
--------decoder.py(38KB)
--------ordered.py(354B)
--------__init__.pyi(603B)
----CONTRIBUTING(1KB)
----RELEASE.rst(555B)
----setup.cfg(66B)
----examples()
--------example-v0.4.0.toml(5KB)
--------example-v0.4.0.out(2KB)
----setup.py(1KB)
----.gitignore(1KB)
----.flake8(343B)
----.coveragearc(54B)

网友评论

  • 用户下载后在一定时间内未进行评价,系统默认好评。