Comparison
astral-yaml vs rapidyaml vs yaml-rs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Read and write YAML 1.2 in Python
Actively maintained. Last release 2 days ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install astral-yamlParse 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 rapidyamlA 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
- yaml-rs is archived: avoid it for new projects.
- astral-yaml is the most used: 313.2K downloads a month.
- astral-yaml also has the best Pythie’s Index (74).
- astral-yaml is the newcomer: first released Nov 2026.
- Safe default for a new project: astral-yaml.
Side by side
| Metric | astral-yaml | rapidyaml | yaml-rs |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | Pythie’s Index: 55 | Pythie’s Index: 16 |
| Verdict | Actively maintained | Maintained | Archived |
| Downloads / month | 313.2K | 231.6K | 115.5K |
| Downloads, month over month | – | -5% | +17% |
| GitHub stars | 4 | 4 | 38 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 9 | 1 |
| Last release | Nov 30, 2026 | Jun 25, 2026 | Jul 7, 2026 |
| Releases, 12 months | 5 | 11 | 16 |
| Weeks with commits | 10 / 26 | 2 / 26 | 18 / 26 |
| Recent contributors | 1 | 1 | 2 |
| First release | Nov 2026 | Mar 2021 | Nov 2025 |
| Python versions | – | – | 3.10 – 3.15 |
| License | MIT OR Apache-2.0 | MIT | Unlicense |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.