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.4.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for conf2levels-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1313e66905d28b03db9f617d3b77c12ab3433a29959a5a9061f207dd1e924c8f |
|
MD5 | 61da1552c168f52ebb25f310d71d7a25 |
|
BLAKE2b-256 | d2476eb52850001b201ebe3d5fdd0197d0498c290f416743d3e8734fd79180c4 |