A ConfigParser bootstraping library
Project description
Metaconfig is a library for centralising your Python’s ConfigParser files. It is inspired by the logging module where it is increadibly easy to start writing code that depends on logging whilst deferring how log messages will be handled until later.
To get started with metaconfig just do:
import metaconfig conf = metaconfig.get_config(__name__)
conf will be a ConfigParser instance. You can create a centralised config file in ~/.metaconfig.conf to configure multiple applications and libraries. See the tests for examples.
Note: I am still experimenting with this. The API is liable to change without notice until version 0.2.