# yaml/libyaml

Canonical source repository for LibYAML

Repository: https://github.com/yaml/libyaml
Canonical: https://ross.abutalabs.com/products/libyaml
Homepage: http://pyyaml.org/wiki/LibYAML
Language: C
License: MIT
License Family: permissive
Topics: c, yaml, yaml-parser, yaml-emitter
Last push: 2026-08-21T18:12:43+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 49, longevity 100
- inputs: {"age_days": 5418, "days_push": 12, "days_rel": 131, "gap_med": null, "n_releases_24m": 1}
- flags: prerelease_only, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1154, forks 367 (observed 2026-08-28T04:03:47.407817+00:00)

## What it is
LibYAML is a C library implementing a YAML 1.1 parser and emitter. It exposes event-based parsing and emitting APIs, with object construction left to bindings and applications.

## Use cases
- parse YAML files in C
- emit YAML from a C program
- build language bindings for YAML
- stream-parse YAML documents as events
- embed YAML support in a native application

## When to choose
- you need a fast, low-level YAML parser in C or C++
- you are building bindings for another language (e.g. PyYAML)
- you want event-based streaming parse/emit rather than full object mapping

## When to avoid
- you want automatic mapping of YAML to native objects
- you need YAML 1.2 features
- you prefer a higher-level library in a scripting language

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, serialization
- domain: parsers, developer-tools, files
- platform: c, cross-platform, windows
- tags: yaml, yaml-parser, yaml-emitter, c-library, linux, macos

## Member repositories
- yaml/libyaml (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:47.407817+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:33:24.342610+00:00, confidence not recorded.
  - homepage: http://pyyaml.org/wiki/LibYAML (fetched 2026-08-29T12:37:47.478177+00:00, sha c7e3f771d526)
- Data as of 2026-08-30T08:39:29.467469+00:00.
