$npx skillfedfor your agent

poetry-dotenv-plugin

A Poetry plugin to automatically load environment variables from .env files

With conditionsPyPI Software DevelopmentReleased Jul 2023141.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — poetry_dotenv_plugin-0.2.0-py3-none-any.whl
v0.2.0 · released 2023-07-16 · Python >=3.7,<4 · 2 runtime deps: poetry, python-dotenv

Yes, if you use Poetry and rely on `.env` files for local development. The plugin is simple, low-friction to install, and solves a common workflow gap for Pipenv users switching to Poetry. However, note that maintenance is dormant (last release July 2023); if you need active support or compatibility with very recent Poetry versions, verify compatibility first or consider alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Poetry to be installed and a `.env` file present in your project directory.
  • Low friction: pure Python wheel with only two runtime dependencies (poetry and python-dotenv).
  • Maintenance is dormant—last release was 2023-07-16, over a year ago, though the repo remains active with no archived flag and a recent commit on 2024-07-19.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in your own projects.

last release 2023-07-16 (1125 days) · last repo commit 2024-07-19 · 158 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 141,326 downloads/mo, #11,242 on PyPI

Verify before relying

poetry self add poetry-dotenv-plugin

# Then in your project with a .env file:
poetry run python -c 'import os; print(os.environ.get("MY_ENV_VAR"))'
  • Whether the plugin works correctly with Poetry versions released after 2024-07-19 (last commit date).
  • Current compatibility with the latest python-dotenv release and any breaking changes in its API.
Same gist for agents: .md · .json

What it is and what it does

Poetry Dotenv Plugin is a Poetry plugin that automatically injects environment variables from `.env` files into the environment before Poetry commands execute. It wraps python-dotenv to handle variable expansion and interpolation, making it a drop-in replacement for users migrating from Pipenv who relied on automatic `.env` loading. The plugin integrates via Poetry's event handler system and can be controlled through environment variables like POETRY_DOTENV_LOCATION and POETRY_DONT_LOAD_ENV, mirroring Pipenv's interface for ease of transition.

The plugin is lightweight, requiring only Poetry and python-dotenv as runtime dependencies. It supports Python 3.7 and later, and by default overrides existing environment variables—though this can be disabled by setting POETRY_DOTENV_DONT_OVERRIDE to true. Installation is straightforward via `poetry self add`, and it requires no additional configuration beyond having a `.env` file in your project.

Use it for

  • Migrating from Pipenv to Poetry while preserving existing `.env` loading workflows without code changes.
  • Automatically loading development secrets and configuration from `.env` files during local Poetry runs.
  • Using POSIX variable expansion in `.env` files (e.g., `${VAR}` syntax) via python-dotenv's interpolation support.
  • Controlling `.env` loading behavior per project using POETRY_DOTENV_LOCATION and POETRY_DONT_LOAD_ENV environment variables.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use Poetry and rely on `.env` files for local development.

The plugin is simple, low-friction to install, and solves a common workflow gap for Pipenv users switching to Poetry. However, note that maintenance is dormant (last release July 2023); if you need active support or compatibility with very recent Poetry versions, verify compatibility first or consider alternatives.

Install

poetry-dotenv-plugin on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (poetry and python-dotenv). Maintenance is dormant—last release was 2023-07-16, over a year ago, though the repo remains active with no archived flag and a recent commit on 2024-07-19.

Requires Poetry to be installed and a `.env` file present in your project directory.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in your own projects.

Quickstart

poetry self add poetry-dotenv-plugin

# Then in your project with a .env file:
poetry run python -c 'import os; print(os.environ.get("MY_ENV_VAR"))'

Verify before relying

  • Whether the plugin works correctly with Poetry versions released after 2024-07-19 (last commit date).
  • Current compatibility with the latest python-dotenv release and any breaking changes in its API.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7,<4
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
poetrypython-dotenv
MaintenanceDormant 1,125 days since the last release
Last repo commit
First released
Downloads141,326 / month, #11,242 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: System :: Systems AdministrationTopic :: Utilities

Evidence: poetry_dotenv_plugin-0.2.0-py3-none-any.whl

Tags

Capabilities
poetry dotenv pluginload env files poetrypoetry environment variables.env file poetrypoetry plugin dotenvautomatic env loading poetrypoetry pipenv migration
Topics
poetry-plugindotenv-loaderpipenv-migration
PyPI keywords
poetrypoetry-pluginplugindotenv

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “poetry dotenv plugin”

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also load-dotenv · migrate-to-uv · pytest-dotenv · python-dotenv · dotenv · pytest-env · django-dotenv · dump-env · pipenv · expandvars