Skip to main content

poetry-dotenv - is the plugin that automatically loads environment variables from a dotenv file into the environment before poetry commands are run.

Project description

license python pypi release sphinx numpydoc

black isort wemake mypy safety semantic_release

dependabot integration deployment codeql wheel

coverage codeclimate downloads stars

issues issues pr pr contributors commit

buymeacoffee

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry_dotenv-0.2.1.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

poetry_dotenv-0.2.1-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page