A simple reader for TOML configuration files.
Project description
A simple reader for configuration file with TOML syntax.
Usage
This modules implements the Singleton pattern. Hence, after the first call of the class, the the module can be accessed simply recalling it.
At first, import the module as follows
from tomler import Config
After that, you can call for the first time the configuration file as follows
config = Config('<path to the configuration file>', [True | False])
The second parameter is optional. It activates (or deactivates) the hot reloading of the configuration file each time a value is accessed.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
tomler-0.1-py3.6.egg
(4.5 kB
view hashes)