Comparison
astral-yaml vs PyYAML 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-yamlYAML parser and emitter for Python
Maintained. Last release 12 days ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install pyyamlA 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.
- PyYAML is the most used: 1.4B downloads a month, 4317× more than astral-yaml.
- astral-yaml is better maintained: Pythie’s Index 74 against 51.
- PyYAML is growing fastest: downloads +23% over the last month.
- astral-yaml is the newcomer: first released Nov 2026.
Side by side
| Metric | astral-yaml | PyYAML | yaml-rs |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | 51 |