Python github.com

Configuration done right in Python  β†¦

Steven Loria:

Stop using unversioned settings files and start storing configuration in environment variables (see The Twelve-Factor App). environs makes it easy to parse environment variables with built-in type-casting and validation. It will even read .env files, which are handy for local development.

πŸ’―% agree with using environment variables for configuration. I used to do the .gitignore a Yaml file thang, but nowadays it’s all direnv and/or dotenv.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00