gcfg

convert *.ini to python Model for easy access


License
MIT
Install
pip install gcfg==0.2

Documentation

ConfigParser to Module
==========================
UsageExample
files(_config.ini) content
```
[db]
dbtype = mysql
```

files(_config.default.ini) content
```
[db]
dbtype = sqlite
user = guest
```

sample code
```
import gcfg
gcfg.DEFAULTFILES = ['_config.ini', '_config.default.ini']
print gcfg.db.dbtype # expect mysql
print gcfg.db.user   # expect guest
```