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. It has lots of other features though :

  • 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

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.1.tar.gz (32.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: configobj-5.0.1.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for configobj-5.0.1.tar.gz
Algorithm Hash digest
SHA256 ae0200a5707b2a63f2ed4ffbe211d603b36bb8a0407b74cb224487456e8138c3
MD5 c8a41fb55689e2d0e1ae53b6f1ab5e2e
BLAKE2b-256 c83fb8d9b1b540bcab4b6c2e3a5d2f483575ea9e01e2df73fdafa71a41c7c139

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