Donate Share

ConfigObj

Project News for ConfigObj

  • Full Unicode Support in ConfigObj 4.2.0

    As of 4.2.0, ConfigObj has full Unicode support - as well as some additional convenient new methods for fetching keys.

    2006-02-23 22:56:38 UTC by mjfoord

  • ConfigObj 4 Beta 1 Available

    ConfigObj 4 Beta 1 is now available.

    See downlaod links and full docs at :
    http://www.voidspace.org.uk/python/configobj.html

    We're jsut packaging this properly and ironing out documentation glitches before doing a proper release.

    the actual code is *unlikely* to change before then - barring bug reports of course....

    2005-08-23 11:29:20 UTC by mjfoord

  • ConfigObj 4 - small steps

    The slow progression towards ConfigObj 4 is actually happening.
    I now have a working implementation of a config file reader that can read config files with nested sections.
    Subsections are nested by indentation.

    The inital reader is done in about 160 lines of code and is quite elegant. It's a re-write from the ground up and uses a couple of regexes to do it's parsing, which makes it much faster than ConfigObj 3.

    There is a *huge* list of features to add now - not least of which is the ``write`` and ``writein`` methods.

    Many thanks to **Nicola Larosa** for helping me work through the specs. As usual, actually creating the reader helped me hammer out the details. The new version *will* break backwards compatibility in several ways. The first of these may be controversial - we're gaining case sensitivity. The new implementation, as well as adding nested sections, allows us to lose the empty section and the difference between flatfiles and non-flatfiles. You just have a straight dictionary interface to all config files.

    The new version *will* read all current config files without change. You may need to chaneg your code to use it though....

    More details when I release some code - although you may be able to get a preview of the reader on my blog - http://www.voidspace.org.uk/python/weblog

    2005-06-28 11:43:18 UTC by mjfoord

  • ConfigObj 4

    Work has now started on ConfigObj 4.

    The *major* changes will be :

    the parser code is being rewritten to use regular expresions - this means less code, faster code, more readable code. It also means slightly less flaxibility in the different number of 'dividers' you can use in config files.

    nested sections ! As many levels of sections within sections as you want. This will scratch a major itch for many people.

    Multi line values - using triple quotes.

    Better error system - the error system will be reworked to be more like the ConfigParser one. In teh event of a badly formed config file - parsing will continue and an exception raised at the end. This exception will contain details of all errors and the parts of the file that were successfully parsed.

    I'll be implementing a 'test reader' soon. Lots of things - like 'writein', configspecs, validation, etc, may take quite a while longer.

    Regards,

    Fuzzy

    2005-05-12 10:11:47 UTC by mjfoord

  • ConfigObj 3.3.0

    Version 3.3.0 is a major update to Configobj. As well as lots of bugfixes it also introduces string interpolation, a validation schema, and unicode support to ConfigObj.

    As usual see http://www.voidspace.org.uk/python/configobj.html

    2005-03-17 10:57:47 UTC by mjfoord