Comparison
oyaml vs PyYAML vs ruamel.yaml vs yamlordereddictloader
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install oyamlYAML parser and emitter for Python
Maintained. Last release 13 days ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install pyyamlruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order
Maintained. Last release 11 months ago.
pip install ruamel-yamlYAML loader and dumper for PyYAML allowing to keep keys order.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install yamlordereddictloaderIn short
- oyaml looks abandoned: avoid it for new projects.
- yamlordereddictloader is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- PyYAML is the most used: 1.4B downloads a month, 7.4× more than ruamel.yaml.
- Maintenance is comparable: ruamel.yaml 59, PyYAML 51 on Pythie’s Index.
- PyYAML is growing fastest: downloads +23% over the last month.
Side by side
| Metric | oyaml | PyYAML | ruamel.yaml | yamlordereddictloader |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 51 | Pythie’s Index: 59 | Pythie’s Index: 19 |
| Verdict | Likely abandoned | Maintained | Maintained | Slowing down |
| Downloads / month | 2.3M | 1.4B | 183.7M | 351.7K |
| Downloads, month over month | -10% | +23% | +10% | -2% |
| GitHub stars | 185 | 3K | – | 26 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 129 | 52.6K | 2.8K | 30 |
| Last release | Aug 18, 2020 | Nov 20, 2026 | Jan 2, 2026 | Sep 22, 2023 |
| Releases, 12 months | 0 | 1 | 3 | 0 |
| Weeks with commits | 0 / 26 | 3 / 26 | – | 0 / 26 |
| Recent contributors | 1 | 24 | – | 3 |
| First release | Feb 2018 | Jul 2011 | Nov 2014 | Jun 2014 |
| Python versions | – | 3.10 – 3.15 | 3.9 – 3.14 | – |
| License | MIT | MIT | MIT | 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.