Automic VaultAutomic Vault

brew

Installer oq avec Homebrew, apk, MacPorts, Nix

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install oq

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install oq

MacPorts ports tree · devel/oq/Portfile · Source: api.github.com

Linux

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

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

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

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

aperçu

Résumé du paquet

Performant, and portable jq wrapper to support formats other than JSON

Commandes et alias

  • oq

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

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

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.

Chronologie

  • 2019: The author publishes the oq introduction and motivation.
  • 2021-02-27: v1.2.0 adds library support, SimpleYAML, and improved multiple-file handling for non-JSON inputs.
  • 2021-08-17: v1.3.0 adds XML namespace controls and XML force-array behavior.
  • 2024-04-04: v1.3.5 is tagged.

Related projects

  • oq depends conceptually on jq and overlaps with yq-style data conversion workflows. Its implementation and library surface are tied to Crystal, libyaml, and XML/JSON conversion behavior.

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 6 plateformes.
  • S’installe avec 3 dépendances d’exécution.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

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
oqcliexé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-07-25
version du gestionnaire1.3.5
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev1.3.5

https://github.com/Blacksmoke16/oq

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:oq
Version1.3.5
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/oq
Page d'accueilhttps://blacksmoke16.github.io/oq
Dépôthttps://github.com/Blacksmoke16/oq
Docs amonthttps://blacksmoke16.github.io/oq
LicenceMIT
Archive sourcehttps://github.com/Blacksmoke16/oq/archive/refs/tags/v1.3.5.tar.gz
Dépendancesbdw-gc, libyaml, pcre2
Dépendances de compilationcrystal
Bibliothèques fournies par macOSjq, libxml2
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, 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 Nameoq
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Nix95%

oq

nix profile install nixpkgs#oq
  • normalized package name match
  • Correspondance par : Oq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/oq/oq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

oq 1.3.5-r0

portable jq wrapper with support of other formats than JSON

https://github.com/blacksmoke16/oq

sudo apk add oq
  • License: MIT
  • Architecture: x86_64
  • Source Package: oq
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Oq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: oq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

oq

sudo port install oq
  • normalized package name match
  • Correspondance par : Oq
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/oq/Portfile from https://api.github.com/repos/macports/macports-ports/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.

Combined YAML source

View the package source record on GitHub.

combined/oq.yml

Sources utilisées

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