Comparison
environ-config vs pydantic-settings vs python-envcfg vs typed-settings
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Boilerplate-free configuration with env variables.
Maintained. Last release 4 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install environ-configSettings management using Pydantic
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pydantic-settingsAccessing environment variables with a magic module.
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install python-envcfgTyped settings based on attrs classes
Actively maintained. Last release 4 weeks ago. A safe choice.
$
pip install typed-settingsIn short
- python-envcfg is archived: avoid it for new projects.
- pydantic-settings is the most used: 514.2M downloads a month, 516× more than typed-settings.
- pydantic-settings also has the best Pythie’s Index (86).
- environ-config is growing fastest: downloads +50% over the last month.
- Safe default for a new project: pydantic-settings.
Side by side
| Metric | environ-config | pydantic-settings | python-envcfg | typed-settings |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 64 | 86 |