Comparison
beartype vs marshmallow vs pydantic vs trycast
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Unbearably fast near-real-time pure-Python runtime-static type-checker.
Actively maintained. Last release 7 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install beartypeA lightweight library for converting complex datatypes to and from native Python datatypes.
Actively maintained. Last release 4 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install marshmallowData validation using Python type hints
Actively maintained. Last release 13 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pydanticMaintained. Last release 6 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install trycastIn short
- pydantic is the most used: 1.2B downloads a month, 11× more than beartype.
- Maintenance is comparable: marshmallow 93, pydantic 87, beartype 84, trycast 49 on Pythie’s Index.
- beartype is growing fastest: downloads +36% over the last month.
- Safe default for a new project: pydantic.
Side by side
| Metric | beartype | marshmallow | pydantic | trycast |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | Pythie’s Index: 93 | Pythie’s Index: 87 | Pythie’s Index: 49 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 110.2M | 93.1M | 1.2B | 43.7K |
| Downloads, month over month | +36% | +7% | +19% | -30% |
| GitHub stars | 3.5K | 7.2K | 29.8K | 88 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 569 | 644 | 62.3K | 5 |
| Last release | Oct 11, 2026 | Nov 4, 2026 | Nov 19, 2026 | Oct 21, 2026 |
| Releases, 12 months | 7 | 11 | 20 | 2 |
| Weeks with commits | 26 / 26 | 18 / 26 | 26 / 26 | 3 / 26 |
| Recent contributors | 9 | 11 | 22 | 3 |
| First release | May 2020 | Nov 2013 | May 2017 | Dec 2020 |
| Python versions | – | 3.11 – 3.15 | 3.10 – 3.15 | 3.10 – 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.