Hacker GitHub

← All repos

kislyuk/yq

View on GitHub ↗ ★ 3,002 Python

Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents

11 mentions on Hacker News by 10 people: 0 stories, 11 comments · first 2018-02-17 · latest 2025-04-28

Mentions per year 11 mentions · busiest year 2023 (4)
20082026
  1. …"free" syntax highlighting and completion in their editor, automatic formatting, and tools like https://github.com/kislyuk/yq to query and modify config files. This is also an important part of user experience. If the format is custom, you…
    comment by networked · 2025-04-28 · in CONL: "Markdown" for your config files
  2. Which yq? I prefer https://github.com/mikefarah/yq to https://github.com/kislyuk/yq .
  3. …many other languages, like yq [0]. Also, there are interactive `jq` prompts like `ijq` [1]. [0]: https://github.com/kislyuk/yq [1]: https://sr.ht/~gpanders/ijq/
    comment by shepherdjerred · 2023-10-02 · in jq 1.7
  4. https://github.com/kislyuk/yq#xml-support
    comment by vdm · 2023-07-17 · in Using XPath in 2023
  5. I personally find the yq tool from https://github.com/kislyuk/yq much more useful: it has all the same options and formats as `jq` (as it's really a wrapper around jq). Rather than the `yq` in the OP here where only partial functionality…
  6. …a binary named "xq" for the xml part - however, it uses jq for querying instead of xpath) [1] https://github.com/kislyuk/yq
  7. There's already tomlq from https://github.com/kislyuk/yq , which can query TOML using jq syntax.
  8. Shameless plug: my project yq ( https://github.com/kislyuk/yq ) (pip install yq) includes a utility, xq, which transcodes XML to JSON using the Goessner JsonPath transformation ( https://www.xml.com/pub/a/2006/05/31/converting-between-xml-.…
    comment by ak217 · 2020-09-22 · in No script is too simple
  9. There's also jq for yaml: https://github.com/kislyuk/yq
    comment by chpatrick · 2020-01-27 · in GNU Recutils
  10. …there seems to be multiple competing tools by the same name... https://github.com/mikefarah/yq https://github.com/kislyuk/yq
  11. …most intuitive syntax, but it doesn't have a formal spec for its language. I have been maintaining https://github.com/kislyuk/yq , which wraps jq with a transcoder for YAML and XML.
    comment by ak217 · 2018-02-17 · in JMESPath – A query language for JSON