Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cs.configutils, version 20190101
Filename, size File type Python version Upload date Hashes
Filename, size cs.configutils-20190101.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page