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.5.1 has a few new features, several bugfixes and performance enhancements.

Project details


Download files

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

Files for configobj, version 4.5.1
Filename, size File type Python version Upload date Hashes
Filename, size configobj-4.5.1-py2.4.egg (68.9 kB) File type Egg Python version 2.4 Upload date Hashes View hashes
Filename, size configobj-4.5.1-py2.5.egg (68.0 kB) File type Egg Python version 2.5 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page