Comparison
dumbyaml vs rapidyaml vs saneyaml vs yaml-rs
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 dumbyamlParse and emit YAML, and do it fast. Python wrapper for the C++ library
Maintained. Last release 5 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install rapidyamlRead 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 saneyamlA High-Performance YAML Parser for Python written in Rust
Archived. The repository is read-only: no more fixes or releases will come.
pip install yaml-rsIn 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.
- yaml-rs is archived: avoid it for new projects.
- rapidyaml is the most used: 231.6K downloads a month.
- rapidyaml also has the best Pythie’s Index (55).