A simple configuration file tool
Project description
confutilPPP
1.安装
pip install confutilPPP
2.导入并使用
import confutilPPP
def test():
# _object : dict, 包含配置对象
# _filename : str, 配置文件名 默认为 config
# return : dict, 配置字典
# 首次当前位置生成 *.yml 文件,之后直接读取
# *.yaml也可用
CONFIG = {
'test': 'test'
}
conf = confutilPPP.check_config(_object=CONFIG, _filename='config')
print(conf)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
confutilPPP-1.2.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for confutilPPP-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98dc3f7a902555b7b9f84086f044734a3ee1d6164495af8ea94f4fd41bdaa37b |
|
MD5 | 819544071461bd6d1ff6ff2a913d504d |
|
BLAKE2b-256 | afdf744dc9f70beb2f6d12674116cb708d020f678f1cbdda531aee56d535f1c9 |