Skip to main content

Add a short description here!

Project description

https://travis-ci.org/pyscaffold/configupdater.svg?branch=master https://coveralls.io/repos/pyscaffold/configupdater/badge.png

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,

  • 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,

  • non-strict mode allowing duplicate sections and keys,

Note

ConfigUpdater is mainly developed for http://pyscaffold.org/.

Project details


Download files

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

Source Distribution

configupdater-0.1a1.dev1.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

configupdater-0.1a1.dev1-py2.py3-none-any.whl (17.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file configupdater-0.1a1.dev1.tar.gz.

File metadata

File hashes

Hashes for configupdater-0.1a1.dev1.tar.gz
Algorithm Hash digest
SHA256 938ee7c2a13d8318567d81c7bff0a3f444fce2fdf8353bf713718195b138cf01
MD5 019ebbf5416be80dbfe4c416298dc414
BLAKE2b-256 9248678140bea7b6580b0f1964946cb9bdb6069244d29576a14d2d5ef883221e

See more details on using hashes here.

File details

Details for the file configupdater-0.1a1.dev1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for configupdater-0.1a1.dev1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cd33edf3c5345777bdcbe1f108a738f3106bc56fdc418b14596643e35553b060
MD5 238365ae7e89fe248bd091f50ca84699
BLAKE2b-256 afb52fe956060a82c19cf9a41437118b3b37ff31d208b0d5b5c3a1c15e472625

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page