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.3.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for conf2levels-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11285aec76958a63e965b88b3071141d5cfc69e532b2b2596c91251d7a8bccde |
|
MD5 | 70e208fc26ecdcee3fc3da26b0545deb |
|
BLAKE2b-256 | 4677bc042a6487c19bef20745f71dc320834ad0ff052dc2ddea21ff1e718063f |