Comparison
attrs-strict vs probatio vs pydantic vs yamale
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Runtime validators for attrs
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install attrs-strictA modern Python data validation library
Actively maintained. Last release 2 months ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install probatioData validation using Python type hints
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pydanticA schema and validator for YAML.
Maintained. Last release 12 months ago, commits in 6 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install yamaleIn short
- attrs-strict is archived: avoid it for new projects.
- pydantic is the most used: 1.2B downloads a month, 480× more than yamale.
- Maintenance is comparable: pydantic 87, probatio 83, yamale 43 on Pythie’s Index.
- probatio is growing fastest: downloads +53% over the last month.
- probatio is the newcomer: first released Jun 2026.
- Safe default for a new project: pydantic.
Side by side
| Metric | attrs-strict | probatio | pydantic | yamale |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | 83 |