from environs import Env # Init environment: env = Env() # read .env file, if it exists # reed more about .env file here: https://github.com/sloria/environs env.read_env()