Comparison
fastjsonschema vs json-spec vs pykwalify
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 fastjsonschemaImplements 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-specPython lib/cli for JSON/YAML schema validation
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install pykwalifyIn short
- json-spec is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pykwalify looks abandoned: avoid it for new projects.
- fastjsonschema is the most used: 126.3M downloads a month, 50× more than pykwalify.
- fastjsonschema also has the best Pythie’s Index (83).
- Safe default for a new project: fastjsonschema.
Side by side
| Metric | fastjsonschema | json-spec | pykwalify |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | 23 |