Name : python3-ConfigUpdater
| |
Version : 3.0.1
| Vendor : Fedora Project
|
Release : 6.fc36
| Date : 2022-01-21 12:30:25
|
Group : Unspecified
| Source RPM : python-configupdater-3.0.1-6.fc36.src.rpm
|
Size : 0.19 MB
| |
Packager : Fedora Project
| |
Summary : Parser like ConfigParser but for updating configuration files
|
Description :
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 well as their cases 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.
Features:
The key differences to ConfigParser are:
• minimal invasive changes in the update configuration file, • proper handling of comments, • only a single config file can be updated at a time, • the original case of sections and keys are kept, • control over the position of a new section/key
The 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.
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/releases/36/Everything/aarch64/os/Packages/p |