macOS
brew install python-yqlocal Homebrew formula metadata
sudo port install xqMacPorts ports tree · textproc/xq/Portfile · ソース: api.github.com
brew / 順位 475
python-yq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install python-yqlocal Homebrew formula metadata
sudo port install xqMacPorts ports tree · textproc/xq/Portfile · ソース: api.github.com
sudo zypper install python313-yqopenSUSE Tumbleweed package metadata · python313-yq · ソース: download.opensuse.org
nix profile install nixpkgs#tomlqnixpkgs package indexes · pkgs/by-name/to/tomlq/package.nix · ソース: api.github.com
sudo apk add xqAlpine Linux edge package indexes · xq · ソース: dl-cdn.alpinelinux.org
sudo dnf install xqFedora Rawhide package metadata · xq · ソース: dl.fedoraproject.org
scoop install main/xqScoop official bucket manifest trees · bucket/xq.json · ソース: api.github.com
概要
Command-line YAML and XML processor that wraps jq
履歴
kislyuk/yq is a Python command-line wrapper that transcodes YAML, XML, or TOML and applies jq filters.
It installs the `yq`, `xq`, and `tomlq` interfaces and supports optional round-trip output and in-place edits.
The current project's published release series begins at 2.0; the documentation disclaims compatibility with an earlier unrelated yq project.
The 2.x line added XML processing, Homebrew distribution, YAML round-tripping, in-place editing, and TOML processing over time.
Later development added YAML 1.2 behavior, safer XML handling, comment-preserving round trips, YAML frontmatter support, and streaming-oriented processing.
The project was adopted as a way to reuse jq filters for YAML by transcoding YAML to JSON, invoking jq, and optionally converting the result back to YAML.
Its scope expanded into adjacent structured-data formats: `xq` handles XML and `tomlq` handles TOML.
The official changelog records Homebrew availability beginning in the 2.7 line, in-place editing in the 2.10 line, TOML support in the 2.12 line, and later YAML round-trip and streaming improvements.
Pipe YAML through `yq <jq-filter>` or pass input filenames as arguments.
Use `-y` for YAML output, `-Y` when YAML tags and styles must survive a round trip, and `--in-place` for file edits.
Use `xq` for XML and `tomlq` for TOML; their format-specific output options support round-trip conversion.
Install jq separately because yq forwards filters and most command-line options to that executable.
This yq is the Python implementation whose defining feature is delegation to jq, so users retain jq's mature expression language instead of learning a separate query syntax.
The name is package-manager-sensitive because multiple unrelated projects are called yq; the official documentation explicitly says releases before its PyPI 2.0 series belonged to an unrelated project.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
tomlq | cli | グローバル実行可能ファイル | |
xq | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:python-yq |
|---|---|
| バージョン | 4.4.5 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/python-yq |
| ホームページ | https://kislyuk.github.io/yq/ |
| リポジトリ | https://github.com/kislyuk/yq |
| 上流ドキュメント | https://kislyuk.github.io/yq/ |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://files.pythonhosted.org/packages/fd/be/ae37199d28a0a99eb79084f91da94f6e7e58550552361a2397c5032d5d37/yq-4.4.5.tar.gz |
| 最終更新 | 2026-10-12T03:34:17Z |
| Pulse | updated |
| 依存関係 | libyaml, python@3.15 |
| macOS 提供ライブラリ | jq |
| Bottle | 利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | python-yq |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
python313-yq 3.4.3-1.9
Command-line YAML processor - jq wrapper for YAML documents
sudo zypper install python313-yqpython314-yq 3.4.3-1.9
Command-line YAML processor - jq wrapper for YAML documents
sudo zypper install python314-yqxq
sudo port install xqxq 1.3.0-1+b6
command line XML and HTML beautifier and content extractor
https://github.com/sibprogrammer/xq
sudo apt install xqtomlq
nix profile install nixpkgs#tomlqxq
nix profile install nixpkgs#xqxq 1.0.0-2build1
command line XML and HTML beautifier and content extractor
https://github.com/sibprogrammer/xq
sudo apt install xqxq 1.3.0-r16
Command-line XML and HTML beautifier and content extractor
https://github.com/sibprogrammer/xq
sudo apk add xqxq-doc 1.3.0-r16
Command-line XML and HTML beautifier and content extractor (documentation)
https://github.com/sibprogrammer/xq
sudo apk add xq-docxq 1.5.1-1.fc46
Command-line XML and HTML beautifier and content extractor
https://github.com/sibprogrammer/xq
sudo dnf install xqmain/xq
scoop install main/xqソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.