

GitHub - harelba/q: q - Run SQL directly on CSV or TSV files
source link: https://github.com/harelba/q
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.markdown
q - Text as Data
q is a command line tool that allows direct execution of SQL-like queries on CSVs/TSVs (and any other tabular text files).
q treats ordinary files as database tables, and supports all SQL constructs, such as WHERE, GROUP BY, JOINs etc. It supports automatic column name and column type detection, and provides full support for multiple encodings.
q's web site is http://harelba.github.io/q/. It contains everything you need to download and use q in no time.
Installation.
Extremely simple.
Instructions for all OSs are here.
Examples
Go here for more examples.
Python API
A development branch for exposing q's capabilities as a Python module can be viewed here, along with examples of the alpha version of the API.
Existing functionality as a command-line tool will not be affected by this. Your input will be most appreciated.
Change log
Click here to see the change log.
Contact
Any feedback/suggestions/complaints regarding this tool would be much appreciated. Contributions are most welcome as well, of course.
Harel Ben-Attia, [email protected], @harelba on Twitter
q on twitter: #qtextasdata
Recommend
-
123
Introduction This plugin is used for handling column separated data with Vim. Usually those files are called csv files and use the ',' as delimiter, though sometimes they use e.g. the '|' or ';' as delimiter and there also exists fixedwi...
-
37
New windows version 1.7.4 has been released which fixes a bug that writes a warning to stdout. Other releases remain in version 1.7.1 Version1.7.1 is out. Main feature is allowing to write the data to a disk-bas...
-
13
Generating CSV files from PL/SQL the Very Easy Way. Posted on February 13, 2020 This post is...
-
24
#SASUsers #LearnSASSAS Tutorial | How to import CSV files into SAS...
-
8
Export CSV directly from MySQL Posted: 2008-11-27 - Last updated: 2019-06-05 Tagged
-
9
Plotting Graphs from CSV Files in F# Using XPlotData visualization is an important tool, and there’s been many cases where I’ve found myself wanting to visualize data from a CSV file. As I’ve
-
18
Python Practice Problems: Parsing CSV Files ...
-
9
0:00 / 15:09 ...
-
14
Photo by Alex Block This is a follow up to my previous post about sorting large files by column us...
-
9
Using AWK with CSV Files 3 minute read Updated: November 23, 2021
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK