Like the dotenv-flow NodeJS library, for Python
Project description
dotenv_flow
Loads different dotenv files based on the value of the PY_ENV
variable.
Values in more specific files override previous values.
Files have 2 flavors:
- public (ex: .env.dev) that should be committed to version control
- private (ex: .env.dev.local) that has preference over the previous one if present, and should NOT
This is the python version of Node's dotenv-flow
dotenv files are loaded with python-dotenv
This should be added to version control ignore file:
# local .env* files
.env.local
.env.*.local
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dotenv_flow-0.3.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for dotenv_flow-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601ffacae67c9d5b0dc04eb9e831bfbd7370e37517834ea2956aad3c50e95fa8 |
|
MD5 | 83d2882b6931b3559f0d20ec8dd807f9 |
|
BLAKE2b-256 | eec6a3eb56c428e906201de7c76a0161e5424e079c9e55f1490d87f2c4872cb9 |