python-yq
« Back to VersTracker
Description:
Command-line YAML and XML processor that wraps jq
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: yaml xml jq cli devops json
Install: brew install python-yq
About:
yq is a command-line YAML and XML processor that leverages the power of jq. It provides a portable and convenient way to query, manipulate, and transform structured data formats directly from the terminal. The tool is particularly valuable for DevOps engineers and developers working with configuration files.
Key Features:
  • Wraps jq for YAML/XML processing
  • Supports complex queries and transformations
  • Preserves data structure and formatting
  • Command-line interface for automation
Use Cases:
  • Extracting specific values from Kubernetes manifests
  • Transforming YAML configuration files for different environments
  • Parsing XML API responses in shell scripts
Alternatives:
  • jq – Native jq only handles JSON, while yq extends this functionality to YAML and XML
  • yq (go-yq) – Go implementation with native YAML support, alternative to this Python wrapper
Version History
Detected Version Rev Change Commit
Dec 15, 2024 11:47am 1 VERSION_BUMP 3dc688fe
Sep 11, 2024 12:12am 0 VERSION_BUMP 185d0d23
Apr 18, 2024 12:42am 0 VERSION_BUMP 7e6474cb
Apr 15, 2024 6:41pm 0 VERSION_BUMP 4b794816
Apr 14, 2024 1:33pm 0 VERSION_BUMP 901f2e5f
Oct 13, 2023 4:39pm 0 VERSION_BUMP 82b47df0
Oct 13, 2023 2:51pm 0 VERSION_BUMP 3185a1e2
Sep 9, 2023 7:08pm 0 VERSION_BUMP 386bd945
Apr 4, 2023 1:47pm 0 VERSION_BUMP 23e50b98