🍺 BREW Explorer

← all formulae

python-yq

brew install python-yq v3.4.3_1 Apache-2.0

Python wrapper around jq that extends it to process YAML and XML files from the command line.

Why you might care

Use this when you need jq's powerful query syntax for YAML or XML data instead of just JSON. It's a drop-in jq replacement for non-JSON formats, letting you reuse jq filters and skills across multiple document types without learning separate tools.

Categories

Alternatives

yq xmllint xq
8.3k
30-day installs · #406
25.9k
90-day · #433
74.7k
365-day · #515

Runtime dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "yq",
    "xmllint",
    "xq"
  ],
  "build_dependencies": [],
  "categories": [
    "yaml-tool",
    "xml-tool",
    "json-tool",
    "text-processor"
  ],
  "caveats": null,
  "conflicts_with": [
    "yq",
    "xq"
  ],
  "dependencies": [
    "libyaml",
    "python@3.14"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Command-line YAML and XML processor that wraps jq",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:51+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "python-yq",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://kislyuk.github.io/yq/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "yq documentation",
  "installs_30d": 8300,
  "installs_365d": 74748,
  "installs_90d": 25940,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:44:39+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "python-yq",
  "oldnames": [],
  "one_liner": "Python wrapper around jq that extends it to process YAML and XML files from the command line.",
  "optional_dependencies": [],
  "rank_30d": 406,
  "rank_365d": 515,
  "rank_90d": 433,
  "raw_hash": "46d0ad1bf8d02bd5",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/p/python-yq.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "jq"
  ],
  "version_head": null,
  "version_stable": "3.4.3",
  "versioned_formulae": [],
  "why_use_this": "Use this when you need jq\u0027s powerful query syntax for YAML or XML data instead of just JSON. It\u0027s a drop-in jq replacement for non-JSON formats, letting you reuse jq filters and skills across multiple document types without learning separate tools."
}