Comparison
Cerberus vs jsonschema-rs vs schema vs trafaret
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Lightweight, extensible schema and data validation tool for Pythondictionaries.
Low maintenance activity. Last release 13 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install cerberusA 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-rsSimple data validation library
Low maintenance activity. Last release 14 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install schemaValidation and parsing library
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install trafaretIn short
- trafaret looks abandoned: avoid it for new projects.
- schema is the most used: 22.4M downloads a month, 2.2× more than jsonschema-rs.
- jsonschema-rs is better maintained: Pythie’s Index 83 against 29.
- jsonschema-rs is growing fastest: downloads +31% over the last month.
Side by side
| Metric | Cerberus | jsonschema-rs | schema | trafaret |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 25 | 83 |