Comparison
apischema vs dataclasses-jsonschema vs mashumaro
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 apischemaJSON schema generation from dataclasses
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install dataclasses-jsonschemaFast and well tested serialization library
Actively maintained. Last release 2 months ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install mashumaroIn short
- dataclasses-jsonschema is archived: avoid it for new projects.
- mashumaro is the most used: 29.5M downloads a month, 179× more than apischema.
- mashumaro also has the best Pythie’s Index (80).
- apischema is growing fastest: downloads +89% over the last month.
- Safe default for a new project: mashumaro.
Side by side
| Metric | apischema | dataclasses-jsonschema | mashumaro |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 3 | Pythie’s Index: 80 |
| Verdict | Low maintenance activity | Archived | Actively maintained |
| Downloads / month | 165.2K | 81.8K | 29.5M |
| Downloads, month over month | +89% | -7% | +11% |
| GitHub stars | 244 | 166 | 947 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 26 | 35 | 236 |
| Last release | Oct 1, 2024 | Oct 27, 2022 | Sep 30, 2026 |
| Releases, 12 months | 0 | 0 | 6 |
| Weeks with commits | 0 / 26 | 0 / 26 | 11 / 26 |
| Recent contributors | 9 | 12 | 4 |
| First release | Sep 2020 | Jul 2018 | Sep 2018 |
| Python versions | 3.9 – 3.13 | 3.7 – 3.11 | 3.10 – 3.15 |
| License | MIT | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.