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.2.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for dotenv_flow-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 550db02e21dfb10a1c68700b47f635f53d730529d14ed4861637464bc4664e5e |
|
MD5 | 8034c371f409f986cc9c4e56b0ddcd02 |
|
BLAKE2b-256 | 591b6fd97b4079874badc2e808f1d7298991d516aab89e09bb4f591bce5ec43a |