A configuration reader which reads values stored in two key levels. The first key level is named “section” and the second level “key”.
Project description
A configuration reader which reads values stored in two key levels. The first key level is named section and the second level key.
argparse arguments (argparse): (You have to specify a mapping)
mapping = {
'section.key': 'args_attribute'
}
A python dictionary (dictonary):
{
'section': {
'key': 'value'
}
}
Environment variables (environ):
export prefix__section__key=value
INI file (ini):
[section]
key = value
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
conf2levels-0.2.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for conf2levels-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca4e405b8740b5b8c8b42e2950e088a81f5d58d1d00420ef164c51a2d2e7fd9e |
|
MD5 | cb36282c42819e525b2ecb0714ab25bc |
|
BLAKE2b-256 | 832ba2702461a360a3540e2e96cd98ac42ccb0387f11fca5aca0510cad5358a2 |