macOS
brew install oqlocal Homebrew formula metadata
sudo port install oqMacPorts ports tree · devel/oq/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de oq pour les workflows d'agents IA.
installation
brew install oqlocal Homebrew formula metadata
sudo port install oqMacPorts ports tree · devel/oq/Portfile · Source: api.github.com
sudo apk add oqAlpine Linux edge package indexes · oq · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#oqnixpkgs package indexes · pkgs/by-name/oq/oq/package.nix · Source: api.github.com
aperçu
Performant, and portable jq wrapper to support formats other than JSON
historique
oq is a Crystal-written wrapper around `jq` that converts non-JSON formats into JSON for filtering and then serializes the result back out. Its core idea is to keep jq's filter language while adding practical YAML and XML input/output paths.
George Dietrich introduced oq in a 2019 article after comparing existing jq-adjacent tooling and wanting a more portable, higher-performance option for large non-JSON documents. The project goals were portability, performance, and extending the formats that jq can handle without replacing jq's filter language.
The 1.x series broadened oq from a CLI into a small Crystal library as well. Release notes for v1.2.0 describe library support, a SimpleYAML format for streamable large inputs, and better handling of multiple non-JSON files; v1.3.0 added XML namespace options and forced-array behavior for XML parsing.
oq remains a niche developer utility, but it has enough packaging surface to be available through Homebrew, Alpine, MacPorts, and Nix in the input metadata. Homebrew describes it as a performant and portable jq wrapper, with Crystal required only for source builds.
A typical use keeps jq syntax in place and adds format flags, such as reading YAML with `-i yaml`, writing XML with `-o xml`, or using the tool as a Crystal dependency through `OQ::Processor`. That makes it useful in shell scripts where JSON, YAML, and XML need the same transformation logic.
oq is package-nerd interesting because it does less than a full data-query language and more than a one-off converter. It packages the proven jq execution model with format adapters and a single-binary distribution story, which is often the sweet spot for command-line glue.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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
| Commande | Type | Exposition | Note |
|---|---|---|---|
oq | cli | exécutable global |
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.
https://github.com/Blacksmoke16/oq
métadonnées d'installation
| Clé du paquet | brew:oq |
|---|---|
| Version | 1.3.5 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/oq |
| Page d'accueil | https://blacksmoke16.github.io/oq |
| Dépôt | https://github.com/Blacksmoke16/oq |
| Docs amont | https://blacksmoke16.github.io/oq |
| Licence | MIT |
| Archive source | https://github.com/Blacksmoke16/oq/archive/refs/tags/v1.3.5.tar.gz |
| Dépendances | bdw-gc, libyaml, pcre2 |
| Dépendances de compilation | crystal |
| Bibliothèques fournies par macOS | jq, libxml2 |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oq |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
oq
nix profile install nixpkgs#oqoq 1.3.5-r0
portable jq wrapper with support of other formats than JSON
https://github.com/blacksmoke16/oq
sudo apk add oqoq
sudo port install oqpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.