ConfigObj 4.3.1
<http://www.voidspace.org.uk/python/configobj.html>
_
and validate 0.2.2
<http://www.voidspace.org.uk/python/validate.html>
_ are now available.
These are both minor bugfix/feature enhancement releases.
What is New in ConfigObj ?
Changes since ConfigObj 4.3.0 :
Added validate.py
back into configobj.zip
. (Thanks to
Stewart
Midwinter)
Updated to validate.py
_ 0.2.2.
Preserve tuples when calling the dict
method. (Thanks to Gustavo
Niemeyer.)
Changed __repr__
to return a string that contains ConfigObj({
... })
.
Change so that an options dictionary isn't modified by passing it to ConfigObj. (Thanks to Artarious.)
Added ability to handle negative integers in unrepr
. (Thanks to
Kevin Dangoor.)
What is New in validate ?
Changes since validate 0.2.1 :
is_list
test. (Thanks
to Konrad Wojas.)What is ConfigObj ?
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 :
Integrated with a powerful validation system
All comments in the file are preserved
unrepr
mode for storing basic datatypesWhat is validate ?
validate.py <http://www.voidspace.org.uk/python/validate.html>
_ 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.
python-announce-list@python.org