Comparison
schema vs strictyaml 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 schemaStrict, typed YAML parser
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install strictyamlValidation 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
- strictyaml is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- trafaret looks abandoned: avoid it for new projects.
- schema is the most used: 22.4M downloads a month.
- yamale is better maintained: Pythie’s Index 43 against 29.
- schema is growing fastest: downloads +11% over the last month.
Side by side
| Metric | schema | strictyaml | trafaret | yamale |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 29 | Pythie’s Index: 10 | Pythie’s Index: 22 | Pythie’s Index: 43 |
| Verdict | Low maintenance activity | Slowing down | Likely abandoned | Maintained |
| Downloads / month | 22.4M | 30.1M | 924.7K | 2.5M |
| Downloads, month over month | +11% | +8% | +4% | +8% |
| GitHub stars | 2.9K | 1.6K | 172 | 775 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 404 | 192 | 41 | 47 |
| Last release | Oct 11, 2025 | Mar 10, 2023 | Apr 1, 2022 | Nov 20, 2025 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | 2 / 26 | 0 / 26 | 0 / 26 | 6 / 26 |
| Recent contributors | 20 | 3 | 9 | 25 |
| First release | Aug 2012 | Jun 2016 | Jan 2012 | Jun 2014 |
| Python versions | 3.6 – 3.11 | – | – | 3.8 – 3.14 |
| License | MIT | MIT | non-standard | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.