trdsql
usql
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
trdsql
-
sqly - execute SQL against CSV / JSON with shell
Apparently, there were many who thought the same thing; Tools to execute SQL against CSV were trdsql, q, csvq, TextQL. They were highly functional, hoewver, had many options and no input completion. I found it just a little difficult to use.
-
Run SQL on CSV, Parquet, JSON, Arrow, Unix Pipes and Google Sheet
Nice! Kinds of reminds me of trdsql
-
What is the most user friendly way to upload CSV files into a SQL database?
trdsql(https://github.com/noborus/trdsql) is a tool that executes SQL for files such as CSV, but it can also be used by connecting to MySQL. Therefore, SQL such as CREATE TABLE table AS SELECT * FROM csvfile.csv can also be executed.
-
textql VS trdsql - a user suggested alternative
2 projects | 25 Jun 2022
trdsql can execute SQL against CSV, LTSV, JSON and TBLN, and the database can also use SQLite,PostgreSQL and MySQL.
-
q VS trdsql - a user suggested alternative
2 projects | 25 Jun 2022
trdsql can execute SQL against CSV, LTSV, JSON and TBLN, and the database can also use SQLite,PostgreSQL and MySQL.
-
One-liner for running queries against CSV files with SQLite
Check out https://github.com/noborus/trdsql
- trdsql: CLI tool that can execute SQL queries on CSV, LTSV, JSON and TBLN
- Show HN: Trdsql – CLI tool that can execute SQL queries on CSV, LTSV, JSON
-
If you want to run SQL queries on CSV files from the command line without installing/opening any DBMS software, use CSVKIT
The trdsql I made is feature-rich and fast (as a similar SQL tool).
usql
- xo/usql: Universal command-line interface for SQL databases
- Usql – Universal command-line interface for SQL databases
-
PRQL a simple, powerful, pipelined SQL replacement
Also all languages has an query-builder / ORM so the benefit of something like PRQL is possibly not big enough to merit it as an additional dependency.
My suggestion:
Make PRQL a cli tool that can be used by allowing users to connect to a database in a similar fashion as something like usql (https://github.com/xo/usql),
-
Is there a CLI interface to browse SQL databases?
take a look at: https://github.com/xo/usql
-
New Open source Go projects looking for contributors
https://github.com/xo/usql has some good first issues
-
usql 0.11.0
There's a new release of usql that adds even more autocomplete and fixes a bunch of issues: https://github.com/xo/usql/releases/tag/v0.11.0
- 5 Useful Database Command Line Tools
- usql
-
Literate programming is much more than just commenting code
I am not a big fan of the complex literate programming style involving code-generation which this article talks about.
But I recently discovered that Google's zx [1] scripting utility supports executing scripts in markdown documents and I combined it with httpie [2] and usql [3] for a bit of quick and dirty automation testing and api verification code and it worked out pretty well.
[1] https://github.com/google/zx#markdown-scripts
[2] https://github.com/httpie/httpie
[3] https://github.com/xo/usql
- usql v0.9.4
What are some alternatives?
octosql - OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
go-sitemap-generator - go-sitemap-generator is the easiest way to generate Sitemaps in Go
querycsv - QueryCSV enables you to load CSV files and manipulate them using SQL queries then after you finish you can export the new values to a CSV file
hystrix-go - Netflix's Hystrix latency and fault tolerance library, for Go
gsheet - gsheet is a CLI tool (and Golang package) for piping csv data to and from Google Sheets
boilr - :zap: boilerplate template manager that generates files or directories from template repositories
grafana-sqlite-datasource - Grafana Plugin to enable SQLite as a Datasource
Task - A task runner / simpler Make alternative written in Go
json-watch - A small cli tool for monitoring JSON data for new items
ngrok - Unified ingress for developers
xquery-cli - A command-line tool for XQuery
fzf - :cherry_blossom: A command-line fuzzy finder