{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"}],"enrichment":{"capability":"yq is a command-line processor that applies jq filters to YAML, XML, and TOML documents, converting them to JSON for processing and optionally back to their original format.","skillfed_tags":["cli-tool","data-format-conversion","config-management"],"use_cases":["Extract or modify values in Kubernetes config files or other YAML configurations using jq filters","Convert between YAML, XML, and TOML formats while preserving document structure and metadata","Query and transform AWS CloudFormation templates or other XML/YAML infrastructure-as-code files","Edit TOML configuration files in place with jq expressions, preserving comments and formatting","Stream large XML documents without loading the full file into memory using --xml-item-depth"],"what_it_does":"yq bridges the gap between jq and non-JSON structured data formats. Using pyyaml, xmltodict, and tomlkit as runtime dependencies, yq reads YAML, XML, or TOML files, converts them to JSON internally, pipes them through jq for filtering and transformation, and optionally converts the output back to the original format. This lets you use jq's query language on YAML configurations, XML documents, and TOML files without manual conversion.\n\nThe package includes three command-line tools: yq for YAML, xq for XML, and tomlq for TOML. Roundtrip modes preserve YAML tags and styles, or XML/TOML formatting metadata. You can use it as a command-line tool or import as a Python module. The package is actively maintained, supports Python 3.8 through 3.13, and has no known security vulnerabilities.","worth_installing":"Yes. yq is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem: applying jq's powerful query language to YAML, XML, and TOML. The main gotcha is the external jq dependency, which must be installed separately. If you work with structured data formats beyond JSON and want jq's filtering power, this is a solid choice."},"id":"yq","links":{"html":"https://skillfed.io/packages/yq","md":"https://skillfed.io/packages/yq.md","pypi":"https://pypi.org/project/yq/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-11","license_spdx":null,"license_treatment":"permissive","name":"yq","python_support":"supports_current","summary":"Command-line YAML/XML processor - jq wrapper for YAML/XML documents"},"popularity":{"monthly_downloads":4422596,"position":2308,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.1.2"}
