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.
Source Distribution
File details
Details for the file cs.configutils-20190101.tar.gz.
File metadata
- Download URL: cs.configutils-20190101.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d64541f89ab8d9fb8f735c69ed869d54ae87d861487d572ee7a6b2ebd0d8f40
|
|
| MD5 |
f8473c30364fbf68d2da6953ccd46cf6
|
|
| BLAKE2b-256 |
266a45fdf56d68a0c4347d5ff5c625c8d2dc724d5fd55eccc01440e646c21320
|