import os
from prettyconf import config
from prettyconf.loaders import RecursiveSearch, Environment
config.loaders = [Environment(), RecursiveSearch(starting_path=os.getcwd())]
CONF_A = config('CONF_A')
CONF_B = config('CONF_B', cast=int)
Created
January 4, 2021 03:09
-
-
Save washingweb/54200d49e41fdde31ea0b0b5ab0cfe9f to your computer and use it in GitHub Desktop.
python conf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment