Metadata-Version: 1.0
Name: pyerconf
Version: 0.1.0
Summary: Pythonic Hierarchical Configuration parser
Home-page: http://devedge.bour.cc/wiki/PyerConf
Author: Guillaume Bour
Author-email: guillaume@bour.cc
License: GNU General Public License v3
Download-URL: http://devedge.bour.cc/resources/pyerconf/src/pyerconf.latest.tar.gz
Description: 
        Sample config::
        
            # a value is set with: key : value
            # values are typed. allowed types are:
            #  - string (simple or double quotes)
            #  - boolean (True or False. is case sensitive)
            #  - integer
        
            strval : 'this is a string'
            boolval: True
            intval : 142
        
            # you can define hierarchies with dictionaries
            # ! no comma to se
            orgchart : {
                boss : 'Mr Goldmine'
            
                head_office : {
                    VP  : 'Miz dho'
                    CTO : 'John Bugs'
                }
            }
        
        Loaded from python::
        
            >>> 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
        
            
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Environment :: X11 Applications
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: English
Classifier: Natural Language :: French
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
