Comparison
config vs lib-layered-config vs pydantic-settings vs typed-settings
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A hierarchical, easy-to-use, powerful configuration module for Python
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install configCross-platform layered configuration loader for Python
Actively maintained. Last release 12 days ago, commits in 20 of the last 26 weeks. A safe choice.
$
pip install lib-layered-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-settingsTyped settings based on attrs classes
Actively maintained. Last release 4 weeks ago. A safe choice.
$
pip install typed-settingsIn short
- config looks abandoned: avoid it for new projects.
- pydantic-settings is the most used: 525M downloads a month, 525× more than typed-settings.
- Maintenance is comparable: pydantic-settings 87, lib-layered-config 82, typed-settings 74 on Pythie’s Index.
- pydantic-settings is growing fastest: downloads +18% over the last month.
- lib-layered-config is the newcomer: first released Oct 2025.
- Safe default for a new project: pydantic-settings.
Side by side
| Metric | config | lib-layered-config | pydantic-settings | typed-settings |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 82 |