yaml/pyyaml
Canonical source repository for PyYAML observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 88
- Release rhythm 17
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5417
- days_rel: 342
- days_push: 77
- n_releases_24m: 1
Adoption not part of the score
2940 stars · 602 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyYAML is the canonical full-featured YAML parser and emitter library for Python, with optional fast LibYAML C bindings. It supports loading and dumping YAML documents, including a safe_load mode for untrusted input.
Use cases
- parse yaml config files in python
- load yaml into python dicts
- dump python objects to yaml
- safely parse untrusted yaml
- read kubernetes manifests with python
- convert yaml to in python
When to choose
- you need to read or write YAML in Python
- you want the de facto standard, mature YAML library for Python
- you need safe parsing of untrusted YAML input
- you want fast parsing via optional LibYAML bindings
When to avoid
- you need YAML 1.2 support with strict spec compliance
- you are not working in Python
- you need streaming processing of extremely large YAML files
Facets
library · maturity stable
serialization parser developer-tools files backend python cross-platform yaml config-files libyaml-bindings
1 source
- readme: https://github.com/yaml/pyyaml · fetched 2026-08-28 · a4cf2535f29f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| yaml/pyyaml | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem