kaptan:口袋里的配置管理器

时间:2021-04-14 12:47:20
【文件属性】:
文件名称:kaptan:口袋里的配置管理器
文件大小:25KB
文件格式:ZIP
更新时间:2021-04-14 12:47:20
Python 开普敦 配置解析器。 安装 $ pip install kaptan 也可以作为软件包在FreeBSD,Debian,Arch Linux和Slackware上使用。 用法 支持的处理程序 字典 json yaml .ini python文件 默认(dict)处理程序 config = kaptan . Kaptan () config . import_config ({ 'environment' : 'DEV' , 'redis_uri' : 'redis://localhost:6379/0' , 'debug' : False , 'pagination' : { 'per_page' : 10 , 'limit' : 20 , } }) print config . get ( "paginati
【文件预览】:
kaptan-master
----MANIFEST.in(202B)
----.travis.yml(517B)
----README.rst(5KB)
----Pipfile(328B)
----tests()
--------test_kaptan.py(8KB)
----tox.ini(95B)
----TODO(86B)
----LICENSE(2KB)
----CHANGES(1KB)
----.tmuxp.yaml(580B)
----kaptan()
--------handlers()
--------__about__.py(287B)
--------__main__.py(63B)
--------__init__.py(6KB)
--------_compat.py(190B)
----requirements()
--------test.txt(14B)
--------base.txt(16B)
--------doc.txt(60B)
--------dev.txt(28B)
----AUTHORS(290B)
----doc()
--------history.rst(102B)
--------api.rst(1KB)
--------conf.py(9KB)
--------roadmap.rst(99B)
--------_templates()
--------cli.rst(163B)
--------requirements.txt(27B)
--------Makefile(6KB)
--------index.rst(162B)
----setup.py(2KB)
----.gitignore(426B)
----Makefile(1KB)

网友评论