The config-manager package is a basic configuration reader and manager. It reads the configuration data from an external YAML or JSON file and it injects this data into the application that is called from. It's currently tested on Python 2.7.
pip install config-manager
or
download the latest release and run
python setup.py install
#configs.yaml contains the configuration data from config_manager import ConfigManager confman = ConfigManager(config_file_path='/path/to/configs.yaml', defaults={'maintenance':'False'}, required=['maintenance']) maintenance = confman['maintenance']
This project is licensed under the MIT license.