ANN: cfgparse-0.1 - An alternative to ConfigParser

  • Thread starter Paramjit Oberoi
  • Start date
P

Paramjit Oberoi

http://www.cs.wisc.edu/~param/software/cfgparse/

cfgparse is a Python module that provides mechanisms for managing
configuration information. It is backward compatible with
ConfigParser, in addition to having the following features:

* Preserves structure of INI files: Order of sections & options,
indentation (to some extent), comments, and blank lines are
preserved when data is updated.

* More convenient than ConfigParser: Values can be accessed using
dotted notation, or using container syntax (cfg[key]).

* Backward compatibility: Backward compatible implementations of
ConfigParser, RawConfigParser, and SafeConfigParser are included
that are API-compatible with the Python standard library. They
pass all the unit tests in Python-2.3.4.

* Extensible: It is possible to add other configuration formats,
and to convert between different formats (as long as the data
models are compatible).

Bug reports/suggestions/comments welcome.
Contact: Paramjit Oberoi <[email protected]>
 

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,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top