Comparison
saneyaml 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 saneyamlStrict, 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.
- yamale is the most used: 2.5M downloads a month.
- yamale also has the best Pythie’s Index (43).
Side by side
| Metric | saneyaml | strictyaml | yamale |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | 10 |