from dynaconf import Dynaconf CONFIG = Dynaconf( envvar_prefix="DYNACONF", # export envvars with `export DYNACONF_FOO=bar`. settings_files=['./cfg/config.yml'], # Load files in the given order. )