Comparison
msgspec vs python-rapidjson vs simplejson
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
Actively maintained. Last release 2 months ago, commits in 20 of the last 26 weeks. A safe choice.
$
pip install msgspecPython wrapper around rapidjson
Actively maintained. Last release 4 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install python-rapidjsonSimple, fast, extensible JSON encoder/decoder for Python
Actively maintained. Last release 3 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install simplejsonIn short
- simplejson is the most used: 52.1M downloads a month.
- Maintenance is comparable: simplejson 83, msgspec 81, python-rapidjson 72 on Pythie’s Index.
- msgspec is growing fastest: downloads +13% over the last month.
- Safe default for a new project: simplejson.
Side by side
| Metric | msgspec | python-rapidjson | simplejson |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 81 | Pythie’s Index: 72 | Pythie’s Index: 83 |
| Verdict | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 41.2M | 4.4M | 52.1M |
| Downloads, month over month | +13% | +8% | +9% |
| GitHub stars | 4.2K | 533 | 1.7K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 944 | 100 | 1K |
| Last release | Sep 29, 2026 | Nov 1, 2026 | Nov 10, 2026 |
| Releases, 12 months | 3 | 3 | 7 |
| Weeks with commits | 20 / 26 | 11 / 26 | 10 / 26 |
| Recent contributors | 37 | 11 | 25 |
| First release | Feb 2021 | Sep 2015 | Dec 2005 |
| Python versions | 3.10 – 3.15 | 3.10 – 3.15 | 3.9 – 3.15 |
| License | BSD-3-Clause | MIT | AFL-2.1 OR MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.