ConfigObj 4.3.1 and validate 0.2.2 are now available.
These are both minor bugfix/feature enhancement releases.
Changes since ConfigObj 4.3.0 :
Changes since validate 0.2.1 :
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
String interpolation (substitution)
Integrated with a powerful validation system
- including automatic type checking/conversion
- repeated sections
- and allowing default values
All comments in the file are preserved
The order of keys/sections is preserved
No external dependencies
Full Unicode support
A powerful unrepr mode for storing basic datatypes
validate.py is a module for validating values against a specification. It can be used with ConfigObj, or as a standalone module.
It is extensible, and as well as doing type conversion from strings, you can easily implement your own functions for transforming values in any way you please.
Posted by Fuzzyman on 2006-04-29 12:25:19.
Categories:
Python, Projects
Visit the Voidspace Techie Blog to read this entry and more.