Parsenvy:令人羡慕的环境变量解析

时间:2021-05-08 22:07:06
【文件属性】:
文件名称:Parsenvy:令人羡慕的环境变量解析
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-08 22:07:06
python library Python Parsenvy:优雅的环境变量解析 Parsenvy是羡慕优雅的环境变量解析Python库。 默认情况下,环境变量是字符串。 如果您要处理许多不同类型的期望值,这可能会很不方便。 Parsenvy旨在提供直观,明确的界面,以人性化的语法检索适当类型的这些值。 特征 仅与Python 3.6+兼容(最新的Python 2兼容版本为 )。 在Linux,macOS和Windows上进行了全面测试。 Python标准库之外没有任何依赖项。 BSD(3条款)许可。 绝对很棒。 现在有了 ! 例子 >> > import parsenvy >> > parsenvy . bool ( 'DEBUG_ENABLED' ) # DEBUG_ENABLED=True True >> > parsenvy . int ( 'POSTS_PER_PAGE' ) # POSTS_PER_PAG
【文件预览】:
Parsenvy-main
----README.rst(3KB)
----poetry.lock(61KB)
----.readthedocs.yaml(537B)
----bin()
--------cicd_install.sh(170B)
--------cd_validate_build.sh(304B)
----CODE_OF_CONDUCT.rst(3KB)
----pyproject.toml(2KB)
----parsenvy()
--------parsenvy.py(5KB)
--------__init__.py(103B)
----docs()
--------make.bat(799B)
--------Makefile(638B)
--------source()
----.github()
--------workflows()
----CONTRIBUTING.rst(3KB)
----tests()
--------test_str.py(244B)
--------test_tuple.py(661B)
--------test_float.py(1KB)
--------test_bool.py(986B)
--------test_default_if_none.py(957B)
--------test_list.py(648B)
--------test_int.py(744B)
--------test_set.py(638B)
----LICENSE(1KB)
----.gitignore(2KB)
----CHANGELOG.md(5KB)
----Makefile(884B)
----.flake8(23B)

网友评论