$npx skillfedfor your agent

django-dotenv

foreman reads from .env. manage.py doesn't. Let's fix that.

With conditionsPyPI WWW/HTTPReleased Dec 2017239.9K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_dotenv-1.4.2-py2.py3-none-any.whl
v1.4.2 · released 2017-12-11

Yes, if your Django project uses Python 3.5–3.8 and corresponding Django versions from that era. The package is simple, dependency-free, and solves a real problem. No, if you are using modern Python or Django versions, because the package is abandoned and untested on those releases. Verify compatibility with your exact versions before installing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires dotenv module to be available; conflicts with python-dotenv if both are installed.
  • Installation is straightforward with no runtime dependencies.
  • However, the package is abandoned—last release was in 2017 and last commit in 2021—so it will not receive bug fixes or security updates.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.

last release 2017-12-11 (3168 days) · last repo commit 2021-11-29 · 577 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 239,863 downloads/mo, #8,914 on PyPI

Verify before relying

pip install django-dotenv

# In manage.py:
import dotenv

if __name__ == "__main__":
    dotenv.read_dotenv()
    # ... rest of manage.py
  • Whether the package works reliably with Django versions and Python releases beyond those tested (3.5, 3.6, 3.7, 3.8).
  • Compatibility implications if both django-dotenv and the similarly-named python-dotenv package are installed together.
Same gist for agents: .md · .json

What it is and what it does

django-dotenv adds a single function call to load environment variables from a .env file before Django initializes. You add dotenv.read_dotenv() at the top of manage.py or wsgi.py, and the package reads your .env file and populates os.environ, letting you follow 12-factor app principles without editing Django's core files. It has no runtime dependencies and works by wrapping the standard dotenv module.

The package is marked production-stable but abandoned: the last release was in 2017 and the repository's final commit was in 2021. It was tested on Python 3.5, 3.6, 3.7 and 3.8. Because it has not been updated since then, compatibility with modern Django or Python versions is unknown and unsupported.

Use it for

  • Load database credentials and API keys from .env during local Django development without committing secrets to version control.
  • Configure Django settings via environment variables in Docker containers or cloud deployments.
  • Set up WSGI applications to read .env files automatically on startup without modifying application code.
  • Manage different environment configurations by switching .env files at deployment time.

Worth the install?

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

With conditions

Yes, if your Django project uses Python 3.5–3.8 and corresponding Django versions from that era.

The package is simple, dependency-free, and solves a real problem. No, if you are using modern Python or Django versions, because the package is abandoned and untested on those releases. Verify compatibility with your exact versions before installing.

Install

django-dotenv on PyPI

Before you install

Installation is straightforward with no runtime dependencies. However, the package is abandoned—last release was in 2017 and last commit in 2021—so it will not receive bug fixes or security updates.

Requires dotenv module to be available; conflicts with python-dotenv if both are installed.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.

Quickstart

pip install django-dotenv

# In manage.py:
import dotenv

if __name__ == "__main__":
    dotenv.read_dotenv()
    # ... rest of manage.py

Verify before relying

  • Whether the package works reliably with Django versions and Python releases beyond those tested (3.5, 3.6, 3.7, 3.8).
  • Compatibility implications if both django-dotenv and the similarly-named python-dotenv package are installed together.

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 3,168 days since the last release
Last repo commit
First released
Downloads239,863 / month, #8,914 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.4Topic :: Internet :: WWW/HTTP

Evidence: django_dotenv-1.4.2-py2.py3-none-any.whl

Tags

Capabilities
django environment variables .envload .env file djangodjango-dotenv manage.pyenvironment configuration django12-factor app djangodotenv django integration.env file django wsgi
Topics
django-integrationenvironment-configabandoned

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 › “django environment variables .env”

  • django-dotenvLoads environment variables from a .env file into Django's manage.py…
  • django-environLoads and parses environment variables from .env files to configure…
  • dj-email-urlConfigures Django email backends from environment variables using…

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

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also django-configurations · python-dotenv · load-dotenv · dotenv · poetry-dotenv-plugin · pytest-dotenv · dj-static · django-split-settings · dotenv-linter · pydantic-settings