ANN : ConfigObj 4.0.1 Config File Reader/Writer

Fuzzyman fuzzyman at gmail.com
Mon Nov 7 14:05:18 CET 2005


Version 4.0.1 of ConfigObj is now available. This includes one bugfix
and two new features.

http://www.voidspace.org.uk/python/configobj.html

What's New ?
==========

Fixed bug in ``Section.walk`` when transforming names as well as
values.

Added the ``istrue`` section method. (Fetches the boolean equivalent of
a string value).

Fixed ``list_values=False`` - single line values are not quoted or
unquoted.

See
http://www.voidspace.org.uk/python/weblog/arch_d7_2005_11_05.shtml#e129
for a description of these changes.

List values are written as ``item, item`` rather than ``item,item``.

What is ConfigObj ?
===============

ConfigObj is a simple but powerful config file reader and writer: an
ini file round tripper. It's 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. This module is
used in most Voidspace projects. See the ConfigObj Home Page for full
documentation.

It's features include :

    * Nested sections (subsections), to any level
    * List Values
    * Multiple Line Values
    * String interpolation (substitution)
    * Integrated with a powerful validation system

              o including automatic type checking/conversion
              o repeated sections
              o and allowing default values

    * All comments in the file are preserved
    * The order of keys/sections is preserved
    * No external dependencies



More information about the Python-announce-list mailing list