Learn X in Y minutes when X is Dynaconf
Dynaconf is a library aimed to be the best choice to manage configuration in Python.
It can read settings from various sources including environment variables, files, config servers, vaults etc.
It works for any kind of Python programs including Flask and Django extensions.
It is highly customizable and heavily tested.