soil

load simple config

load_simple.py
1
2
3
4
5
6
7
8

from configpp.soil import Config

cfg = Config('app.json')

cfg.load()

print(cfg.data)

more

For more examples please see the unit tests: https://github.com/voidpp/configpp/tree/master/test/test_soil