macOS
brew install oqlocal Homebrew formula metadata
sudo port install oqMacPorts ports tree · devel/oq/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für oq in AI-Agent-Workflows.
Installation
brew install oqlocal Homebrew formula metadata
sudo port install oqMacPorts ports tree · devel/oq/Portfile · Quelle: api.github.com
sudo apk add oqAlpine Linux edge package indexes · oq · Quelle: dl-cdn.alpinelinux.org
nix profile install nixpkgs#oqnixpkgs package indexes · pkgs/by-name/oq/oq/package.nix · Quelle: api.github.com
Überblick
Performant, and portable jq wrapper to support formats other than JSON
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
oq | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/Blacksmoke16/oq
Installationsmetadaten
| Paketschlüssel | brew:oq |
|---|---|
| Version | 1.3.5 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/oq |
| Homepage | https://blacksmoke16.github.io/oq |
| Repository | https://github.com/Blacksmoke16/oq |
| Upstream-Dokumentation | https://blacksmoke16.github.io/oq |
| Lizenz | MIT |
| Quellarchiv | https://github.com/Blacksmoke16/oq/archive/refs/tags/v1.3.5.tar.gz |
| Abhängigkeiten | bdw-gc, libyaml, pcre2 |
| Build-Abhängigkeiten | crystal |
| Von macOS bereitgestellte Bibliotheken | jq, libxml2 |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 oqQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.