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.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for dotenv_flow-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 187c5e9aba7ef04a2d9e915d71c40d9152b1061139c2846f50301a2606489bd4 |
|
MD5 | 22bd668ba9108397f875271b955dccd9 |
|
BLAKE2b-256 | 3789b51dafe1a70e8c495962c2a9416a1f6799933d483376229ff012aca00392 |