Configuration parser like configparser but for updating config files
Project description
ConfigUpdater
WORK IN PROGRESS!
The sole purpose of ConfigUpdater is to easily update an INI config file with no changes to the original file except the intended ones. This means comments, the ordering of sections and key/value-pairs as wells as their case are kept as in the original file. Thus ConfigUpdater provides complementary functionality to Python’s ConfigParser which is primarily meant for reading config files and writing new ones.
Differences
The key differences to ConfigParser are:
inline comments are treated as part of a key’s value,
empty lines in values are not valid,
the original case of sections and keys are kept,
control over the position of a new section/key
Following features are deliberately not implemented:
interpolation of values,
propagation of parameters from the default section,
conversions of values,
passing key/value-pairs with default argument,
non-strict mode allowing duplicate sections and keys,
Note
ConfigUpdater is mainly developed for http://pyscaffold.org/.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file configupdater-0.1a2.tar.gz.
File metadata
- Download URL: configupdater-0.1a2.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a8704e2b66652b5fea1a58a98b5de509b4a7348e21bbcebb89467b3521e054d
|
|
| MD5 |
dbb2960bb716b3a1a47ead8b57bafa9d
|
|
| BLAKE2b-256 |
49abff216a16f4f9a3e488d1cfa155fc292510a6695f9455624d43422f291389
|
File details
Details for the file configupdater-0.1a2-py2.py3-none-any.whl.
File metadata
- Download URL: configupdater-0.1a2-py2.py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
325f09462b15af4e64f0454e377a5354cafae72e3a414abfbed67f69f9fc4390
|
|
| MD5 |
56d44ce47c9d6e274d06048779d1c5e2
|
|
| BLAKE2b-256 |
e51b2d6840416ffa647e0ac8d23782d7f4dc80f803f819f0e7f29bfe258c28b4
|