wiki:PyerConf

PyerConf

Introduction

PyerConf is a pythonic hierarchical configuration parser.

Example

>>> import pyerconf
>>> cfg = pyerconf.Config('./sample.cfg')
>>> print cfg.strval
this is a string
>>> print cfg.orgchart.boss
Mr Goldmine
>>> print cfg.orgchart.head_office
{'VP': 'Miz dho', 'CTO': 'John Bugs'}

>>> print cfg.foobar
AttributeError

Requirements

Download

Contact

PyerConf is written by Guillaume Bour <guillaume@…>

License

PyerConf is distributed under GNU GPL v3 License.

Last modified 6 years ago Last modified on Oct 26, 2011, 7:10:36 PM