poetry-dotenv - is the plugin that automatically loads environment variables from a dotenv file into the environment before poetry commands are run.
Project description
Overview
poetry-dotenv
- is the plugin that automatically loads environment variables from a dotenv file
into the environment before poetry
commands are run.
This plugin doesn't have any dependencies, but therefore it also supports features that
python-dotenv
supports (e.g. templates, interpolating variables using POSIX
variable expansions etc).
Usage
By default plugin will load the .env
file from the current working directory or "higher directories".
To prevent poetry
from loading the dotenv file, set the POETRY_DONT_LOAD_ENV
environment variable.
If your dotenv file is located in a different path or has a different name you may set
the POETRY_DOTENV_LOCATION
environment variable.
Installation
poetry self add poetry-dotenv
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
Built Distribution
Hashes for poetry_dotenv-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04dfb3b183a1a30ab131bc9f8e513363cdc858d4f4c47f697bcb22ee2efe776a |
|
MD5 | f38448267a85aff7f6f20e8fd6ada882 |
|
BLAKE2b-256 | 69fc897d75e1bc38cb1c7c2669b0523a0dd51371f26d0215a05b499d67309c24 |