Comparison
apischema vs pydantic vs trycast vs typedload
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON (de)serialization, GraphQL and JSON schema generation using Python typing.
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install apischemaData 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 trycastLoad and dump data from json-like format into typed data structures
Maintained. Last release 6 months ago. Weaker on release cadence.
pip install typedloadIn short
- pydantic is the most used: 1.2B downloads a month, 15× more than typedload.
- pydantic also has the best Pythie’s Index (87).
- apischema is growing fastest: downloads +89% over the last month.
- Safe default for a new project: pydantic.
Side by side
| Metric | apischema | pydantic | trycast | typedload |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 87 | Pythie’s Index: 49 | Pythie’s Index: 57 |
| Verdict | Low maintenance activity | Actively maintained | Maintained | Maintained |
| Downloads / month | 165.2K | 1.2B | 43.7K | 81.2M |
| Downloads, month over month | +89% | +19% | -30% | -6% |
| GitHub stars | 244 | 29.8K | 88 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 26 | 62.3K | 5 | 15 |
| Last release | Oct 1, 2024 | Nov 19, 2026 | Oct 21, 2026 | May 23, 2026 |
| Releases, 12 months | 0 | 20 | 2 | 2 |
| Weeks with commits | 0 / 26 | 26 / 26 | 3 / 26 | – |
| Recent contributors | 9 | 22 | 3 | – |
| First release | Sep 2020 | May 2017 | Dec 2020 | Apr 2018 |
| Python versions | 3.9 – 3.13 | 3.10 – 3.15 | 3.10 – 3.15 | 3.10 – 3.15 |
| License | MIT | MIT | MIT | GPL-3.0-only |
| 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.