Q
q - Run SQL directly on delimited files and multi-file sqlite databases
By harelba. Free and open source for Windows, Linux. Latest version v3.1.6, released 2021-11-26.
Is Q safe?
Trust score 52/100: Use caution. Some warning signs. Read the notes, check the reviews, and verify the file before you run it.
- Very widely used: 10,362 GitHub stars
- Downloads come straight from the project's own GitHub releases
- Around since 2012
Things to watch:
- The latest release is more than 18 months old
- No OpenSSF Scorecard report yet, so security practices are unverified
- No checksums or signatures published: you can't verify the download
10,362 GitHub stars · 242k downloads · 24 contributors.
Download Q
- q-text-as-data-3.1.6-1.x86_64.deb (Linux, 26.4 MB)
- q-text-as-data-3.1.6.msi (Windows, 16.8 MB)
- q-text-as-data-3.1.6.x86_64.rpm (Linux, 26.1 MB)
- win-q.exe (Windows, 34.0 MB)
Downloads come straight from github.com/harelba/q.
About Q
q's purpose is to bring SQL expressive power to the Linux command line and to provide easy access to text as actual data.
q allows the following: • Performing SQL-like statements directly on tabular text data, auto-caching the data in order to accelerate additional querying on the same file. • Performing SQL statements directly on multi-file sqlite3 databases, without having to merge them or load them into memory
Notice that for the current version, caching is not enabled by default, since the caches take disk space. Use -C readwrite or -C read to enable it for a query, or add cachingmode to .qrc to set a new default.
q's web site is https://harelba.github.io/q/ or https://q.textasdata.wiki It contains everything you need to download and use q immediately.
Similar apps
- Tv: 📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment. (Low trust, 40/100)
- Ripgrep: ripgrep recursively searches directories for a regex pattern while respecting your gitignore (High trust, 76/100)
- JC: CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Diction (Good, 69/100)
- Grex: A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases (Use caution, 46/100)
- JiraCLI: 🔥 Feature-rich interactive Jira command line. (Good, 63/100)
- asciigraph: Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. (Good, 62/100)
Compare: Q vs Tv · Q vs Ripgrep
Questions
Is Q safe to download?
Q has an OpenShelf trust score of 52/100 (Use caution). Some warning signs. Read the notes, check the reviews, and verify the file before you run it. Main thing to watch: The latest release is more than 18 months old.
Is Q free?
Yes. Q is free and open source under the GPL-3.0 license. The source code is public at github.com/harelba/q.
Does Q work on Windows and Linux?
Q is available for Windows, Linux. Ready-made downloads exist for Windows, Linux.
How do I install Q?
Download the official file from the project's GitHub releases (for example q-text-as-data-3.1.6.msi) and run it.
What are alternatives to Q?
Similar open-source apps: Tv (trust 40/100), Ripgrep (trust 76/100), JC (trust 69/100), Grex (trust 46/100).