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

  • Full Unicode support

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

Release 4.4.0 has the following changes from 4.3.2 :

  • Made the import of compiler conditional so that ConfigObj can be used with IronPython.

  • Fix for Python 2.5 compatibility.

  • String interpolation will now check the current section before checking

    DEFAULT sections. Based on a patch by Robin Munn.

  • Added Template-style interpolation, with tests, based on a patch by Robin Munn.

  • Allowed arbitrary indentation in the indent_type parameter.

  • Fixed Sourceforge bug #1523975 by adding the missing self

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

configobj-4.4.0-py2.5.egg (65.1 kB view details)

Uploaded Source

configobj-4.4.0-py2.4.egg (65.9 kB view details)

Uploaded Source

File details

Details for the file configobj-4.4.0-py2.5.egg.

File metadata

File hashes

Hashes for configobj-4.4.0-py2.5.egg
Algorithm Hash digest
SHA256 2d5345acd7aa32c1da4f5174404942f8310a2d33464b0825f7c4844d4a152a47
MD5 d72686dab3a93c00855d6ae4921274c2
BLAKE2b-256 76f75d741fe69cf996795174f73e7602867d3b48dbe3cb2adc11aff47ad2f066

See more details on using hashes here.

File details

Details for the file configobj-4.4.0-py2.4.egg.

File metadata

File hashes

Hashes for configobj-4.4.0-py2.4.egg
Algorithm Hash digest
SHA256 b8b37ae10b1fb76c9384986c9129e59bebd14a411042d026ada607444ef12914
MD5 9e7ba34b166f0a069d8e59830eeaeb58
BLAKE2b-256 3adc58d91e31d1857df1140cc190e99dc890a79e7556264a28851b17713b88f6

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