Expansion of standard configuration files by Python functionality
Project description
Reads file with configurations and returns dictionary with sections and options. All options will be turned into python objects (DON’T FORGET PUT ALL STRING OPTIONS WITHIN QUOTES).
You can use @SECTION:OPTION@ notation to refer to existed python object, or $SECTION:OPTION$ to convert object back into a string and insert a string.
Returns option dictionary or raise an error. Empty dictionary indicates error with file opening, reading or parsing.
If confreader couldn’t turn option into some python object, this options is skipped and Warning message will put in logger.
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
File details
Details for the file confpluspy-1.0.tar.bz2
.
File metadata
- Download URL: confpluspy-1.0.tar.bz2
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4802c3091f4ba726b064d37848bbcade880375447454d3671eb04fcc814905 |
|
MD5 | e06094dc931e9cbd8d7f8d726dbff27e |
|
BLAKE2b-256 | 26de1367b96fa7857c62634caa7fd77bc5e9912b600eac5fc572b83cd93e2398 |