Comparison
json-spec vs jsonschema
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 jsonschemaIn short
- json-spec is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- jsonschema is the most used: 677.5M downloads a month, 2325× more than json-spec.
- jsonschema also has the best Pythie’s Index (63).
- jsonschema is growing fastest: downloads +17% over the last month.
- Safe default for a new project: jsonschema.
Side by side
| Metric | json-spec | jsonschema |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | 63 |