Comparison
dumbyaml vs saneyaml vs strictyaml vs yamale
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A YAML parser that reads only a restricted version of YAML.
Likely abandoned. No release or commit for years (last release over 11 years ago).
pip install dumbyamlRead 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
- dumbyaml looks abandoned: avoid it for new projects.
- 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 | dumbyaml | saneyaml | strictyaml | yamale |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | 23 |