Comparison
fastjsonschema vs jschon vs json-spec vs jsonschema-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fastest Python implementation of JSON schema
Actively maintained. Last release 4 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install fastjsonschemaA JSON toolkit for Python developers.
Archived. The repository is read-only: no more fixes or releases will come.
pip install jschonImplements 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-specA high-performance JSON Schema validator for Python
Actively maintained. Last release 1 day ago, commits in 25 of the last 26 weeks. A safe choice.
pip install jsonschema-rsIn short
- jschon is archived: avoid it for new projects.
- json-spec is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- fastjsonschema is the most used: 128.6M downloads a month, 13× more than jsonschema-rs.
- Maintenance is comparable: fastjsonschema 83, jsonschema-rs 83 on Pythie’s Index.
- jsonschema-rs is growing fastest: downloads +31% over the last month.
- Safe default for a new project: fastjsonschema.
Side by side
| Metric | fastjsonschema | jschon | json-spec | jsonschema-rs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | 4 |