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