Comparison
json-spec vs jsonschema vs trafaret vs voluptuous
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Implements JSON Schema, JSON Pointer and JSON Reference.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install json-specAn implementation of JSON Schema validation for Python
Maintained. Last release 11 months ago, commits in 23 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install jsonschemaValidation and parsing library
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install trafaretPython data validation library
Maintained. Last release 11 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install voluptuousIn short
- json-spec is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- trafaret looks abandoned: avoid it for new projects.
- jsonschema is the most used: 691.9M downloads a month, 111× more than voluptuous.
- jsonschema also has the best Pythie’s Index (63).
- jsonschema is growing fastest: downloads +20% over the last month.
- Safe default for a new project: jsonschema.
Side by side
| Metric | json-spec | jsonschema | trafaret | voluptuous |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | Pythie’s Index: 63 | Pythie’s Index: 22 | Pythie’s Index: 48 |
| Verdict | Slowing down | Maintained | Likely abandoned | Maintained |
| Downloads / month | 289.9K | 691.9M | 924.7K | 6.2M |
| Downloads, month over month | +23% | +20% | +4% | +11% |
| GitHub stars | 38 | 5K | 172 | 1.9K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 3 | 7.4K | 41 | 223 |
| Last release | Apr 29, 2024 | Jan 7, 2026 | Apr 1, 2022 | Dec 18, 2025 |
| Releases, 12 months | 0 | 1 | 0 | 1 |
| Weeks with commits | 0 / 26 | 23 / 26 | 0 / 26 | 4 / 26 |
| Recent contributors | 10 | 4 | 9 | 33 |
| First release | Jun 2014 | Jan 2012 | Jan 2012 | Jul 2010 |
| Python versions | 3.10 – 3.12 | 3.10 – 3.14 | – | 3.9 – 3.12 |
| License | BSD-3-Clause | MIT | non-standard | BSD-3-Clause |
| 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.