A simple way to manage your project settings.
It is inspired by Django's settings system but is generic for any python project.
With simple-settings you just need specify your settings module in --settings arg of command line (or SIMPLE_SETTINGS of environment) and all settings will be available in simple_settings.settings.
Use pip (simple like this project 😄).
$ pip install simple-settingssimple-settings is tested with Python 2.7, 3.4, 3.5 and PyPy.
$ python app.py --settings=my_settings>>> from simple_settings import settings
>>> print(settings.FOO)
'some value in foo'- Settings by Python modules, Cfg files, Yaml files or Json files.
- Settings inheritance (like a pipeline).
- Special settings.
- Dynamic settings.
- Check more features in documentation.