yq-3.4.3p1
jq wrapper for YAML/XML documents
Back to search · Project homepage
Description
yq takes YAML input, converts it to JSON, and filters it through jq(1).
No output conversion is done by default. Command line arguments are forwarded.
yq exits 1 on YAML parsing errors, otherwise jq's exit code is forwarded.
YAML tags in the input are ignored (any nested data is treated as untagged).
Key order is preserved.
xq behaves like yq but takes XML input. Multiple XML documents can be passed
in separate files/streams. Entity expansion and DTD resolution is disabled to
avoid XML parsing vulnerabilities.
Package information
- Ports path
- textproc/yq
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- textproc, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
- devel/py-argcomplete
- textproc/jq
- textproc/py-tomlkit
- textproc/py-xmltodict
- textproc/py-yaml STEM->=5.3.1
- lang/python/3
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
- devel/py-setuptools_scm