Comparison
schema vs trafaret 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 trafaretA 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: 22M downloads a month, 8.8× more than yamale.
- yamale is better maintained: Pythie’s Index 43 against 29.