wsjq
textql
Our great sponsors
wsjq | textql | |
---|---|---|
2 | 15 | |
13 | 9,028 | |
- | - | |
6.8 | 3.7 | |
27 days ago | 6 months ago | |
jq | Go | |
Mozilla Public License 2.0 | MIT License |
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.
wsjq
- Zq: An Easier (and Faster) Alternative to Jq
-
An Introduction to JQ
jq is unsurprisingly Turing complete, so I wrote a Whitespace interpreter[0] in jq. It is able to handle real-time I/O by requesting lines on-demand from stdin, which is the main input source, with `input` and outputting strings in a stream.
With a relatively large jq program like that, it is critical that the main recursive loop run efficiently, so it's annoying that there's no way to detect whether tail call optimization was applied, other than benchmarking. It would also be nice if object values were lazily evaluated so that it would be possible to create ad hoc switches.
textql
-
Jaq – A jq clone focused on correctness, speed, and simplicity
I like textql [0] better for this use case, as it's simpler in my mind.
-
Can SQL be used without an RDBMS?
Primarily, you are right. SQL is for working with structured data and that largely covers RDBs. However, there are tools (like textql) that allow you to query CSV files and the effort works with most other text files that have some kind of structure.
- Textql: Execute SQL against structured text like CSV or TSV
-
Show HN: ClickHouse-local – a small tool for serverless data analytics
As the author of textql ( https://github.com/dinedal/textql ) - thanks for the shoutout!
Looks great, I love more options in the space for CLI based data analysis tools! Fantastic work!
- Using Commandline To Process CSV files
-
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.
-
Q – Run SQL Directly on CSV or TSV Files
Reminds me of the textQL extension that's available in Asciidoc.
Point it to an external CSV file, enable TextQL, and bam, there's your query returned as a table. Handy for parts lists, inventory, that kind of crap.
-
Beginner interested in learning SQL. Have a few question that I wasn’t able to find on google.
Through more magic, you COULD of course use stuff like Spark, or easier with programs like TextQL, sq, OctoSQL.
-
textql VS trdsql - a user suggested alternative
2 projects | 25 Jun 2022
-
Xlite: Query Excel, Open Document spreadsheets (.ods) as SQLite virtual tables
Somewhat-kinda related, the textql extension for Asciidoctor is so dang useful it should be in core.
https://gist.github.com/mojavelinux/8856117
I use this as a "centralized parts repository" for big ol' maintenance manuals. Refresh from PDM/PLM/LSA/Whatever. Rebuild for new parts data.
Built on TextQL, natch
What are some alternatives?
kubectl-jq - Kubectl plugin that works like "kubectl get" but runs everything through a JQ program you provide
q - q - Run SQL directly on delimited files and multi-file sqlite databases
rb - Turns Ruby into a versatile command line utility
go-duckdb - go-duckdb provides a database/sql driver for the DuckDB database engine.
json-logs - A tool to pretty-print JSON logs, like those from zap or logrus.
octosql - OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.
howto - Documenting useful things, lest I forget, and sharing is caring
cq - Query CSVs using SQL
gron - Make JSON greppable!
dsq - Commandline tool for running SQL queries against JSON, CSV, Excel, Parquet, and more.
jid - json incremental digger
brackit - Query processor with proven optimizations, ready to use for your JSON store to query semi-structured data with JSONiq. Can also be used as an ad-hoc in-memory query processor.