Comparison
json-strong-typing vs marshmallow vs msgspec vs typecats
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Type-safe data interchange for Python data classes
Maintained. Last release 5 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install json-strong-typingA lightweight library for converting complex datatypes to and from native Python datatypes.
Actively maintained. Last release 4 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install marshmallowA fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
Actively maintained. Last release 3 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install msgspecStructure unstructured data for the purpose of static type checking
Maintained. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity.
pip install typecatsIn short
- marshmallow is the most used: 91.3M downloads a month, 2.2× more than msgspec.
- Maintenance is comparable: marshmallow 92, msgspec 83, typecats 52, json-strong-typing 45 on Pythie’s Index.
- typecats is growing fastest: downloads +91% over the last month.
- Safe default for a new project: marshmallow.
Side by side
| Metric | json-strong-typing | marshmallow | msgspec | typecats |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 45 | Pythie’s Index: 92 | Pythie’s Index: 83 | Pythie’s Index: 52 |
| Verdict | Maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 101.9K | 91.3M | 40.6M | 257.5K |
| Downloads, month over month | +6% | +4% | +13% | +91% |
| GitHub stars | 9 | 7.2K | 4.2K | 20 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 14 | 644 | 944 | 0 |
| Last release | Oct 27, 2026 | Nov 4, 2026 | Nov 28, 2026 | Apr 24, 2026 |
| Releases, 12 months | 2 | 11 | 4 | 8 |
| Weeks with commits | 1 / 26 | 21 / 26 | 19 / 26 | 0 / 26 |
| Recent contributors | 2 | 11 | 36 | 4 |
| First release | Sep 2021 | Nov 2013 | Feb 2021 | Aug 2019 |
| Python versions | 3.10 – 3.15 | 3.11 – 3.15 | 3.10 – 3.15 | 3.12 – 3.14 |
| License | MIT | MIT | BSD-3-Clause | 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.