ConfigObj is a simple but powerful config file reader and writer for Python applications. It is very easy to use and has a straightforward programmer's interface and a simple syntax for config files. It also supports nested sections to any level, list values, multiple line values, string interpolation, a powerful validation system, including automatic type checking and conversion, repeated sections, default values, preservation of comments and the order of keys and sections, and no external dependencies.
| Licenses | BSD Original |
|---|---|
| Operating Systems | OS Independent |
| Implementation | Python |
Recent releases


Changes: Bufixes, removal of deprecated methods, and improvements making configspec handling more flexible.


Changes: An obscure bug when validating a configuration file with "copy=True" and "__many__" sections was fixed.


Changes: This release adds a few new features, several bugfixes, and minor performance enhancements.


Changes: This release includes a few new features, some minor performance enhancements, and several bugfixes.


Changes: The import of the compiler has been made conditional, so ConfigObj can be used with IronPython. Python 2.5 compatibility has been fixed. The string interpolation will now check the current section before checking DEFAULT sections. Template-style interpolation has been added, with tests. Arbitrary indentation is allowed in the indent_type parameter. Sourceforge bug #1523975 has been fixed.