Comparison
schema vs trafaret vs voluptuous vs yamale
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Simple 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 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 voluptuousA schema and validator for YAML.
Maintained. Last release 12 months ago, commits in 6 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install yamaleIn short
- trafaret looks abandoned: avoid it for new projects.
- schema is the most used: 22.4M downloads a month, 3.6× more than voluptuous.
- voluptuous is better maintained: Pythie’s Index 48 against 29.
- voluptuous is growing fastest: downloads +11% over the last month.
Side by side
| Metric | schema | trafaret | voluptuous | yamale |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 29 | 22 |