skip to navigation
skip to content

confpluspy 1.0

Expansion of standard configuration files by Python functionality

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.

File Type Py Version Uploaded on Size
confpluspy-1.0.tar.bz2 (md5) Source 2014-07-29 13KB