Comparison
saneyaml vs schema vs strictyaml vs yamale
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Read and write readable YAML safely preserving order and avoiding bad surprises with unwanted infered type conversions. This library is a PyYaml wrapper with sane behaviour to read and write readable YAML safely, typically when used for configuration.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install saneyamlSimple 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 strictyamlA 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
- saneyaml is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- strictyaml is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- 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 | saneyaml | schema | strictyaml | yamale |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | 29 |