utility functions for .ini style configuration files
Project description
Utility functions and classes for configuration files.
Class ConfigSectionWatcher
MRO: collections.abc.Mapping
, collections.abc.Collection
, collections.abc.Sized
, collections.abc.Iterable
, collections.abc.Container
A class for monitoring a particular clause in a config file.
Class ConfigWatcher
MRO: collections.abc.Mapping
, collections.abc.Collection
, collections.abc.Sized
, collections.abc.Iterable
, collections.abc.Container
A monitor for a windows style .ini file.
The current SafeConfigParser object is presented as the .config property.
Function load_config(config_path, parser=None)
Load a configuration from the named config_path
.
If parser
is missing or None, use SafeConfigParser (just
ConfigParser in Python 3).
Return the parser.
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.