pkg.soopen package index

brew / rang 475

Installer python-yq avec Homebrew, zypper, Nix, apk, apt, dnf, MacPorts, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de python-yq pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install python-yq

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install xq

MacPorts ports tree · textproc/xq/Portfile · Source: api.github.com

Linux

openSUSE zyppervérifié · 92%
sudo zypper install python313-yq

openSUSE Tumbleweed package metadata · python313-yq · Source: download.opensuse.org

Nixvérifié · 92%
nix profile install nixpkgs#tomlq

nixpkgs package indexes · pkgs/by-name/to/tomlq/package.nix · Source: api.github.com

Alpine Linux apkvérifié · 92%
sudo apk add xq

Alpine Linux edge package indexes · xq · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install xq

Debian stable package indexes · xq · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install xq

Fedora Rawhide package metadata · xq · Source: dl.fedoraproject.org

Windows

Scoopvérifié · 92%
scoop install main/xq

Scoop official bucket manifest trees · bucket/xq.json · Source: api.github.com

aperçu

Résumé du paquet

Command-line YAML and XML processor that wraps jq

Commandes et alias

  • tomlq
  • xq

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • The published series for the current project starts at 2.0; earlier identically named releases were unrelated.
  • 2018: The 2.7 line documented Homebrew availability and XML/TOML-related work.
  • 2019: YAML round-trip preservation and in-place editing arrived in the 2.9 and 2.10 lines.
  • 2021: The 2.12 line added the `tomlq` CLI and ended Python 2.7 support.
  • 2022: The 3.0 line adopted YAML 1.2 parsing and rendering behavior.

Related projects

  • jq is the processing engine behind yq and must be installed before using it.
  • The unrelated Go-based yq by Mike Farah solves a similar shell data-processing problem with a standalone binary and its own expression implementation.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 5 plateformes.
  • S’installe avec 2 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
tomlqcliexécutable global
xqcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-11-04
version du gestionnaire4.4.5
gestionnaire mis à jour2026-10-12
données localesOK
amontnot checked
dernière version détectéenon détecté

https://kislyuk.github.io/yq/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:python-yq
Version4.4.5
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/python-yq
Page d'accueilhttps://kislyuk.github.io/yq/
Dépôthttps://github.com/kislyuk/yq
Docs amonthttps://kislyuk.github.io/yq/
LicenceApache-2.0
Archive sourcehttps://files.pythonhosted.org/packages/fd/be/ae37199d28a0a99eb79084f91da94f6e7e58550552361a2397c5032d5d37/yq-4.4.5.tar.gz
Dernière mise à jour2026-10-12T03:34:17Z
Pulseupdated
Dépendanceslibyaml, python@3.15
Bibliothèques fournies par macOSjq
Bouteilledisponible (sur arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepython-yq
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • xq
  • yq
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

zypper95%

python313-yq 3.4.3-1.9

Command-line YAML processor - jq wrapper for YAML documents

https://github.com/kislyuk/yq

sudo zypper install python313-yq
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-yq
  • 9 Dépendances
  • 4 fournit
  • normalized package name match
  • Correspondance par : Python Yq
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-yq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

python314-yq 3.4.3-1.9

Command-line YAML processor - jq wrapper for YAML documents

https://github.com/kislyuk/yq

sudo zypper install python314-yq
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-yq
  • 9 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Python Yq
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python314-yq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts94%

xq

sudo port install xq
  • installed executable or alias match
  • Correspondance par : Xq
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/xq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

xq 1.3.0-1+b6

command line XML and HTML beautifier and content extractor

https://github.com/sibprogrammer/xq

sudo apt install xq
  • Section: golang
  • Architecture: amd64
  • Source Package: xq
  • 1 Dépendances
  • installed executable or alias match
  • Correspondance par : Xq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

tomlq

nix profile install nixpkgs#tomlq
  • installed executable or alias match
  • Correspondance par : Tomlq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/to/tomlq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Nix92%

xq

nix profile install nixpkgs#xq
  • installed executable or alias match
  • Correspondance par : Xq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xq/xq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

xq 1.0.0-2build1

command line XML and HTML beautifier and content extractor

https://github.com/sibprogrammer/xq

sudo apt install xq
  • Section: universe/golang
  • Architecture: amd64
  • 1 Dépendances
  • installed executable or alias match
  • Correspondance par : Xq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

xq 1.3.0-r16

Command-line XML and HTML beautifier and content extractor

https://github.com/sibprogrammer/xq

sudo apk add xq
  • License: MIT
  • Architecture: x86_64
  • Source Package: xq
  • 1 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : Xq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

xq-doc 1.3.0-r16

Command-line XML and HTML beautifier and content extractor (documentation)

https://github.com/sibprogrammer/xq

sudo apk add xq-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xq
  • installed executable or alias match
  • Correspondance par : Xq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf92%

xq 1.5.1-1.fc46

Command-line XML and HTML beautifier and content extractor

https://github.com/sibprogrammer/xq

sudo dnf install xq
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xq
  • 3 Dépendances
  • 2 fournit
  • installed executable or alias match
  • Correspondance par : Xq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
Scoop92%

main/xq

scoop install main/xq
  • installed executable or alias match
  • Correspondance par : Xq
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/xq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation