A standard INI style configuration parser.
Project description
This is the Python configparser with an extra class StdConfigParser.
Provides a standard configuration syntax and the parser for it. Also contains everything to be a backport of the ConfigParser from Python 3.5 to Python 2.7.
Everything in one module easy to vendor or install as extra dependency.
Example config file:
[section] key = value envlist = env1,env2,env3 valuelist = multi line values # with comment fetchable as list complex_value = { "key 1": 1, "key 2": 2, # special list of environments "env list": ["a", "b"], } [other_section] name = ${section:key}-substitution
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
StdConfigParser-0.5.dev2.zip
(19.7 kB
view details)
Built Distribution
File details
Details for the file StdConfigParser-0.5.dev2.zip
.
File metadata
- Download URL: StdConfigParser-0.5.dev2.zip
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0119639b742b86d36012ebc64c5e92abbec34f5393011656ae7001022ad76b2e |
|
MD5 | 95f3306eb87b63841b1af1fa429d9e45 |
|
BLAKE2b-256 | 779376597faadd4c46c0146aff0b9f958acfb112891c3990d0556a36861315b1 |
File details
Details for the file StdConfigParser-0.5.dev2-py2.py3-none-any.whl
.
File metadata
- Download URL: StdConfigParser-0.5.dev2-py2.py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfb86be50eec76757c50def846ca77510c26162949e57e07fcabc592b36785dc |
|
MD5 | 69a12ddf9931e4da2fd9087e7f41d838 |
|
BLAKE2b-256 | df1104df4fb925ab0091f6813c038dbc5dd6e82cc48f57b6db34d183c600c796 |