BSD Ports

wip/sq 0.48.3 NetBSD

Jq-style access to structured data sources

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
mit
Categories
wip, databases

Description

sq is a command line tool that provides jq-style access to structured data sources: SQL databases, or document formats like CSV or Excel. It is the lovechild of sql+jq.

sq executes jq-like queries, or database-native SQL. It can join across sources: join a CSV file to a Postgres table, or MySQL with Excel.

sq outputs to a multitude of formats including JSON, Excel, CSV, HTML, Markdown and XML, and can insert query results directly to a SQL database.

sq can also inspect sources to view metadata about the source structure (tables, columns, size). You can use sq diff to compare tables, or entire databases. sq has commands for common database operations to copy, truncate, and drop tables.

In the other systems

The newest version among them is 0.55.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDwip/sq0.48.3 behind since 2026-08-23none known-[email protected]-
FreeBSDdatabases/sq by name0.55.0_2 newestnone known-[email protected]2026-10-20
HardenedBSDdatabases/sq by name0.55.0 newestno data-[email protected]-
GhostBSDdatabases/sq by name0.55.0 newestno data-[email protected]-

Compare across BSDs

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/sq && make install clean

Dependencies

No port depends on this one.