Skip to main content

Config file reading, writing and validation.

Project description

ConfigObj is a simple but powerful config file reader and writer: an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer’s interface and a simple syntax for config files.

List of Features

  • Nested sections (subsections), to any level

  • List values

  • Multiple line values

  • Full Unicode support

  • String interpolation (substitution)

  • Integrated with a powerful validation system

    • including automatic type checking/conversion

    • and allowing default values

    • repeated sections

  • All comments in the file are preserved

  • The order of keys/sections is preserved

  • Powerful unrepr mode for storing/retrieving Python data-types

Changelog

Release 5.0.8

  • fixing/test for a regression introduced in 5.0.7 that prevented import validate from working

Release 5.0.7

  • update testing to validate against python version 2.7 and 3.5-3.11

  • update broken links / non-existent services and references

Older Releases

  • Release 5.0.6 improves error messages in certain edge cases

  • Release 5.0.5 corrects a unicode-bug that still existed in writing files

  • Release 5.0.4 corrects a unicode-bug that still existed in reading files after fixing lists of string in 5.0.3

  • Release 5.0.3 corrects errors related to the incorrectly handling unicode encoding and writing out files

  • Release 5.0.2 adds a specific error message when trying to install on Python versions older than 2.5

  • Release 5.0.1 fixes a regression with unicode conversion not happening in certain cases PY2

  • Release 5.0.0 updates the supported Python versions to 2.6, 2.7, 3.2, 3.3 and is otherwise unchanged

  • Release 4.7.2 fixes several bugs in 4.7.1

  • Release 4.7.1 fixes a bug with the deprecated options keyword in 4.7.0.

  • Release 4.7.0 improves performance adds features for validation and fixes some bugs.

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

configobj-5.0.8.tar.gz (38.0 kB view details)

Uploaded Source

Built Distributions

configobj-5.0.8-py3.8.egg (72.2 kB view details)

Uploaded Source

configobj-5.0.8-py2.py3-none-any.whl (36.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file configobj-5.0.8.tar.gz.

File metadata

  • Download URL: configobj-5.0.8.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for configobj-5.0.8.tar.gz
Algorithm Hash digest
SHA256 6f704434a07dc4f4dc7c9a745172c1cad449feb548febd9f7fe362629c627a97
MD5 8dda7b31bb3aea87ecfe3b7a87812b17
BLAKE2b-256 cb8717d4c6d634c044ab08b11c0cd2a8a136d103713d438f8792d7be2c5148fb

See more details on using hashes here.

File details

Details for the file configobj-5.0.8-py3.8.egg.

File metadata

  • Download URL: configobj-5.0.8-py3.8.egg
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for configobj-5.0.8-py3.8.egg
Algorithm Hash digest
SHA256 d808d7e04e6f81fbb23d5ac2cd50e69ccbee58eaf9360eb89ede22d93216a314
MD5 10994bb58b44f5fc51e28cb87e460348
BLAKE2b-256 3c53e447e55d195e2d9859822766a0df3abd8f41574d8ec4e8b545e8fadbbef6

See more details on using hashes here.

File details

Details for the file configobj-5.0.8-py2.py3-none-any.whl.

File metadata

  • Download URL: configobj-5.0.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for configobj-5.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a7a8c6ab7daade85c3f329931a807c8aee750a2494363934f8ea84d8a54c87ea
MD5 74b7399c2d1bf2948289865a3a0a7c40
BLAKE2b-256 d3bbd10e531b297dd1d46f6b1fd11d018247af9f2d460037554bb7bb9011c6ac

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