Last updated:
0 purchases
prgconfig 1.0.0
prgconfig
prgconfig is a little library that ease the manage of configuration
file written in toml. It comes with nice default. The
minimum you have to specify is your program name then it does the rest.
It aims to fit to standard in use for location of configuration file. It
is also totally configurable to fit your needs.
Installation
Recommended installation is by using pip:
pip install prgconfig
Usage
PrgConfig is a dict like object.
Basic example:
from prgconfig import PrgConfig
config = PrgConfig("prgname")
config.load()
print(config["section"]["key"])
See the constructor of PrgConfig class to get an idea of possible
configuration.
Roadmap
See issues with the enhancement tag
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.