Projects / Python config module

Python config module

The Python config module allows a hierarchical configuration scheme with support for mappings and sequences, cross-references between one part of the configuration and another, the ability to flexibly access real Python objects without full-blown eval(), an include facility, simple expression evaluation, and the ability to change, save, cascade, and merge configurations. It interfaces easily with environment variables and command line options. It has been developed on Python 2.3, but should work on version 2.2 or greater.

Tags
Operating Systems
Implementation

Recent releases

  •  05 Oct 2007 15:02

    Release Notes: This release adds Mapping.__delitem__, makes Mapping.__getattribute__ no longer return "" when asked for "__class__" (doing so causes pickle to crash), and allows negative numbers.

    •  09 Mar 2006 20:54

      Release Notes: This release makes classes derive from an object (previously, they were old-style classes). ConfigMerger has been changed to use a more flexible merge strategy. Multi-line strings (using """ or ''') are now supported. A typo involving raising a ConfigError was fixed.

      •  31 Jan 2006 21:26

        Release Notes: Improved Unicode support, documentation, and the addition of support for the iterator protocol.

        •  22 Nov 2004 05:43

          No changes have been submitted for this release.

          Screenshot

          Project Spotlight

          OpenStack4j

          A Fluent OpenStack client API for Java.

          Screenshot

          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.