load-dotenv
Automatically and implicitly load environment variables from .env file
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release September 2022, no maintenance since), and its core value—avoiding one line of code—is minimal compared to the risk of incompatibility with current python-dotenv versions or Python releases. Use python-dotenv directly with an explicit load_dotenv() call instead; it is actively maintained and the one-line cost is negligible.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires the LOAD_DOTENV environment variable to be explicitly set to 'true', 'yes', or '1' for the package to activate; it will not load .env files by default.
- Installation is straightforward with no complex dependencies—only python-dotenv as a runtime requirement.
- However, the package has been abandoned since its only release on 2022-09-02, with no commits or maintenance activity since then.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), which imposes minimal restrictions on use or modification.
last release 2022-09-02 (1442 days) · last repo commit 2022-09-02
0 known vulnerabilities (OSV.dev, 2026-08-14) · 266,146 downloads/mo, #8,307 on PyPI
Alternatives
Verify before relying
pip install load-dotenv
# Create .env file in your working directory
# Set LOAD_DOTENV=true (or yes, or 1) and run your application
# The package will automatically load variables from .env- Whether the package actually works with current versions of python-dotenv or modern Python releases, given no maintenance since 2022.
- How the automatic loading mechanism integrates with application startup—whether it hooks into import time or requires a specific entry point.
- Whether LOAD_DOTENV_PATH environment variable for custom .env file paths is fully documented and reliable.
What it is and what it does
load-dotenv wraps python-dotenv to automatically load environment variables from a .env file during application startup, triggered by setting the LOAD_DOTENV environment variable to true, yes, or 1. This avoids the need to add explicit load_dotenv() calls in your code, which is useful if you want to keep production code clean while still supporting .env-based configuration during development.
The package is designed as a convenience layer: instead of manually invoking python-dotenv in your application code, you set an environment variable before running your app and the .env file is loaded implicitly. You can also specify a custom path to the .env file via the LOAD_DOTENV_PATH variable. However, the project has been abandoned since its only release in September 2022, so it may not be compatible with recent versions of python-dotenv or Python itself.
Use it for
- Development environments where you want .env files loaded automatically without modifying application code.
- Keeping production code free of development-only configuration logic by relying on environment variables to trigger loading.
- Quick setup for small projects where adding explicit load_dotenv() calls feels like unnecessary boilerplate.
- Testing scenarios where you want to toggle .env loading on and off via an environment variable without code changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release September 2022, no maintenance since), and its core value—avoiding one line of code—is minimal compared to the risk of incompatibility with current python-dotenv versions or Python releases. Use python-dotenv directly with an explicit load_dotenv() call instead; it is actively maintained and the one-line cost is negligible.
Install
load-dotenv on PyPI
Before you install
Installation is straightforward with no complex dependencies—only python-dotenv as a runtime requirement. However, the package has been abandoned since its only release on 2022-09-02, with no commits or maintenance activity since then.
Requires the LOAD_DOTENV environment variable to be explicitly set to 'true', 'yes', or '1' for the package to activate; it will not load .env files by default.
License in practice
Licensed under Apache Software License (permissive), which imposes minimal restrictions on use or modification.
Quickstart
pip install load-dotenv
# Create .env file in your working directory
# Set LOAD_DOTENV=true (or yes, or 1) and run your application
# The package will automatically load variables from .env
Verify before relying
- Whether the package actually works with current versions of python-dotenv or modern Python releases, given no maintenance since 2022.
- How the automatic loading mechanism integrates with application startup—whether it hooks into import time or requires a specific entry point.
- Whether LOAD_DOTENV_PATH environment variable for custom .env file paths is fully documented and reliable.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepython-dotenv |
| Maintenance | Abandoned 1,442 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 266,146 / month, #8,307 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Topic :: Software Development |
Evidence: load_dotenv-0.1.0-py3-none-any.whl
Tags
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 › “automatic dotenv loading”
- load-dotenvAutomatically loads environment variables from a .env file into your…
- poetry-dotenv-pluginA Poetry plugin that automatically loads environment variables from…
- dotenvLoads environment variables from a .env file into the process…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also dotenv · poetry-dotenv-plugin · python-dotenv · django-dotenv · pytest-dotenv · envparse · typed-settings · rootutils · pyyaml-env-tag · cabina