[ANN] ConfigObj 4.3.1 & validate 0.2.2

Fuzzyman fuzzyman at gmail.com
Sat Apr 29 14:33:18 CEST 2006

`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

* Updated to `validate.py`_ 0.2.2.

* Preserve tuples when calling the ``dict`` method. (Thanks to Gustavo

* 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 :

* Addressed bug where a string would pass the ``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 :

* 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

What 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.

More information about the Python-announce-list mailing list