Comparison
django-environ vs environs vs pydantic-settings vs python-decouple
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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 environsSettings management using Pydantic
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pydantic-settingsStrict separation of settings from code.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install python-decoupleIn short
- python-decouple is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- pydantic-settings is the most used: 514.2M downloads a month, 58× more than django-environ.
- Maintenance is comparable: pydantic-settings 87, environs 83, django-environ 51 on Pythie’s Index.
- pydantic-settings is growing fastest: downloads +15% over the last month.
- Safe default for a new project: pydantic-settings.
Side by side
| Metric | django-environ | environs | pydantic-settings | python-decouple |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 51 | Pythie’s Index: 83 | Pythie’s Index: 87 | Pythie’s Index: 19 |
| Verdict | Maintained | Actively maintained | Actively maintained | Slowing down |
| Downloads / month | 8.9M | 3.2M | 514.2M | 7.2M |
| Downloads, month over month | +6% | -10% | +15% | +4% |
| GitHub stars | 3.2K | 1.4K | 1.5K | 3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 165 | 177 | 9.9K | 563 |
| Last release | Jun 18, 2026 | Aug 29, 2026 | Nov 13, 2026 | Mar 1, 2023 |
| Releases, 12 months | 3 | 5 | 10 | 0 |
| Weeks with commits | 4 / 26 | 14 / 26 | 26 / 26 | 0 / 26 |
| Recent contributors | 14 | 9 | 44 | 29 |
| First release | Apr 2013 | Apr 2016 | Aug 2019 | Feb 2014 |
| Python versions | 3.9 – 3.14 | 3.10 – 3.14 | 3.11 – 3.15 | – |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.