sq data wrangler
Go to file
2020-08-06 12:37:33 -06:00
.github/workflows codebase refactor 2020-08-06 11:58:47 -06:00
cli codebase refactor 2020-08-06 11:58:47 -06:00
drivers codebase refactor 2020-08-06 11:58:47 -06:00
grammar codebase refactor 2020-08-06 11:58:47 -06:00
libsq codebase refactor 2020-08-06 11:58:47 -06:00
notifiers codebase refactor 2020-08-06 11:58:47 -06:00
testh codebase refactor 2020-08-06 11:58:47 -06:00
.editorconfig tidy up 2016-10-16 22:14:01 -06:00
.gitignore codebase refactor 2020-08-06 11:58:47 -06:00
.golangci.yml codebase refactor 2020-08-06 11:58:47 -06:00
.goreleaser.yml Minor tidying of README and .goreleaser.yml 2020-08-06 12:37:33 -06:00
.lnav.json codebase refactor 2020-08-06 11:58:47 -06:00
go.mod codebase refactor 2020-08-06 11:58:47 -06:00
go.sum codebase refactor 2020-08-06 11:58:47 -06:00
LICENSE codebase refactor 2020-08-06 11:58:47 -06:00
magefile_release.go codebase refactor 2020-08-06 11:58:47 -06:00
magefile_sakila.go codebase refactor 2020-08-06 11:58:47 -06:00
magefile.go codebase refactor 2020-08-06 11:58:47 -06:00
main.go codebase refactor 2020-08-06 11:58:47 -06:00
README.md Minor tidying of README and .goreleaser.yml 2020-08-06 12:37:33 -06:00

sq: swiss army knife for data

sq is a swiss army knife for data. sq provides uniform access to structured data sources like traditional SQL-style databases, or document formats such as CSV or Excel. sq can perform cross-source joins, execute database-native SQL, and output to a multitude of formats including JSON, Excel, CSV, HTML markdown and XML, or output directly to a SQL database. sq can inspect sources to see metadata about the source structure (tables, columns, size) and has commands for frequent database operations such as copying or dropping tables.

Usage

See the wiki.

Installation

From source

From the sq project dir:

$ go install

The simple go install does not populate the binary with build info that is output via the sq version command. To do so, use mage.

$ brew install mage
$ mage install

Other installation options

For homebrew, scoop, rpm etc, see the wiki.

Acknowledgements

  • Much inspiration is owed to jq.
  • See go.mod for a list of third-party packages.
  • Additionally, sq incorporates modified versions of:
  • The Sakila example databases were lifted from jOOQ, which in turn owe their heritage to earlier work on Sakila.