Comparison
PyYAML-ft vs ruamel.yaml vs saneyaml vs yaml-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
YAML parser and emitter for Python with support for free-threading
Low maintenance activity. Last release 18 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pyyaml-ftruamel.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-yamlRead 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
- 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.
- ruamel.yaml is the most used: 183.7M downloads a month, 35× more than PyYAML-ft.
- ruamel.yaml also has the best Pythie’s Index (59).
- PyYAML-ft is the newcomer: first released Apr 2025.
Side by side
| Metric | PyYAML-ft | ruamel.yaml | saneyaml | yaml-rs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 32 | Pythie’s Index: 59 | Pythie’s Index: 23 | Pythie’s Index: 16 |
| Verdict | Low maintenance activity | Maintained | Slowing down | Archived |
| Downloads / month | 5.2M | 183.7M | 176.8K | 115.5K |
| Downloads, month over month | +1% | +10% | +25% | +17% |
| GitHub stars | 1 | – | 10 | 38 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2 | 2.8K | 11 | 1 |
| Last release | Jun 10, 2025 | Jan 2, 2026 | Aug 14, 2024 | Jul 7, 2026 |
| Releases, 12 months | 0 | 3 | 0 | 16 |
| Weeks with commits | 0 / 26 | – | 0 / 26 | 18 / 26 |
| Recent contributors | 9 | – | 9 | 2 |
| First release | Apr 2025 | Nov 2014 | Nov 2018 | Nov 2025 |
| Python versions | 3.13 | 3.9 – 3.14 | – | 3.10 – 3.15 |
| License | MIT | MIT | Apache-2.0 | Unlicense |
| 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.