[ANN] ConfigObj 4.3.1 & validate 0.2.2

F

Fuzzyman

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top