Comparison
django-dotenv vs django-environ vs environs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
foreman reads from .env. manage.py doesn't. Let's fix that.
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install django-dotenvA package that allows you to utilize 12factor inspired environment variables to configure your Django application.
Maintained. Last release 5 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install django-environsimplified environment variable parsing
Actively maintained. Last release 3 months ago, commits in 14 of the last 26 weeks. A safe choice.
$
pip install environsIn short
- django-dotenv looks abandoned: avoid it for new projects.
- django-environ is the most used: 8.9M downloads a month, 2.7× more than environs.
- environs is better maintained: Pythie’s Index 83 against 51.
Side by side
| Metric | django-dotenv | django-environ | environs |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | Pythie’s Index: 51 | Pythie’s Index: 83 |
| Verdict | Likely abandoned | Maintained | Actively maintained |
| Downloads / month | 212.6K | 8.9M | 3.2M |
| Downloads, month over month | +3% | +6% | -10% |
| GitHub stars | 577 | 3.2K | 1.4K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 5 | 165 | 177 |
| Last release | Dec 11, 2017 | Jun 18, 2026 | Aug 29, 2026 |
| Releases, 12 months | 0 | 3 | 5 |
| Weeks with commits | 0 / 26 | 4 / 26 | 14 / 26 |
| Recent contributors | 12 | 14 | 9 |
| First release | Jun 2013 | Apr 2013 | Apr 2016 |
| Python versions | 3.2 – 3.4 | 3.9 – 3.14 | 3.10 – 3.14 |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.