kislyuk/yq
Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 92
- Release rhythm 92
- 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: 0
- age_days: 3519
- days_rel: 53
- days_push: 53
- n_releases_24m: 4
Adoption not part of the score
2971 stars · 85 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python command-line tool that wraps jq to let you query and transform YAML, XML, and TOML documents using jq syntax. It converts input to JSON, pipes it through jq, and can convert output back to YAML with options for round-trip preservation of tags, styles, and in-place editing.
Use cases
- query yaml files with jq syntax
- convert json to yaml from the command line
- edit kubeconfig yaml in place
- extract fields from xml documents in a shell script
- process toml config files with jq filters
- preserve yaml comments and tags while transforming files
When to choose
- you already know jq and want the same query language for YAML/XML/TOML
- you need in-place editing of YAML config files from scripts
- you want round-trip preservation of YAML tags, styles, and comments
- you need JSON-to-YAML or YAML-to-JSON conversion in pipelines
When to avoid
- you want a standalone tool without installing the jq binary dependency
- you need a Go-based yq with its own native syntax and no external dependencies
- you need to process formats other than YAML, XML, or TOML
Facets
cli-tool · maturity active
parser cli developer-tools serialization developer-tools files cli python cross-platform windows yaml xml toml jq json-conversion config-files command-line macos linux
3 sources
- readme: https://github.com/kislyuk/yq · fetched 2026-08-28 · d3b35cd98af2
- homepage: https://kislyuk.github.io/yq/ · fetched 2026-08-29 · cac1768a7237
- registry_pypi: https://pypi.org/pypi/yq/json · fetched 2026-08-29 · bf3fa6be0fa7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kislyuk/yq | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem