Hacker GitHub

← All repos

harelba/q

View on GitHub ↗ ★ 10,361 Python

q - Run SQL directly on delimited files and multi-file sqlite databases

26 mentions on Hacker News by 24 people: 7 stories, 19 comments · first 2012-02-13 · latest 2023-03-25

Mentions per year 26 mentions · busiest year 2021 (6)
20082026
  1. …/ exploration setup. Hope you like it! CSV utilities (still haven't pick a favorite one...): https://github.com/harelba/q https://github.com/BurntSushi/xsv https://github.com/wireservice/csvkit https://github.com/johnkerl/miller
  2. …https://github.com/TomWright/dasel https://github.com/johnkerl/miller https://stedolan.github.io/jq https://github.com/harelba/q ...
  3. I think they're talking about https://github.com/harelba/q , which is not very fast.
  4. I like using q for querying CSVs on the command line: https://github.com/harelba/q
  5. …dsq [0] (which I develop), q [1], textql [2], etc. [0] https://github.com/multiprocessio/dsq [1] https://github.com/harelba/q [2] https://github.com/dinedal/textql
    comment by eatonphil · 2022-04-26 · in Zq: An easier and faster alternative to jq
  6. 9k stars and 5yrs old: https://github.com/harelba/q Why not call it like dnsq or dq like jq ( https://stedolan.github.io/jq/ ) did?
  7. dsq references a benchmark done by q ( https://github.com/harelba/q/blob/master/test/BENCHMARK.md ) that indicates that octosql is significantly slower. However, octosql's GH repo claims otherwise. Does anyone have any real world…
  8. …is useful for converting them to SQLite, and then exploring with Visidata or SQL queries. Q: https://github.com/harelba/q sqlite-utils: https://github.com/simonw/sqlite-utils
  9. …as inspiration [0]. How did you go about developing against the Starlark API, any IDE support? [0] https://github.com/harelba/q/blob/master/pyoxidizer.bzl
  10. …I'm the author of OctoSQL. Still actively developing a rewrite on the redesign branch. [0]: https://github.com/harelba/q [1]: https://github.com/dinedal/textql [2]: https://datasette.io [3]: https://github.com/cube2222/octosql
  11. Is this similar to https://github.com/harelba/q ?
  12. …db from CSV/TSV (similar to sqlite's '.import') and then runs SQL on it, right? It appears so: https://github.com/harelba/q/blob/master/bin/q.py#L267 Regardless, simple utilities that expose SQL interfaces over arbitrary data are still…
  13. Also see https://osquery.io/ https://github.com/harelba/q
  14. Looks like it is implemented in python(2) with use of the stdlib sqlite3 module. https://github.com/harelba/q/blob/master/bin/q
    comment by alex_stoddard · 2018-11-14 · in Q: Run SQL Directly on CSV Files
  15. Why not combine the approach and run SELECT statements from the command line? https://github.com/harelba/q I'm sure there are issues with this, but it seems pretty sane. Your sample query would read _something_ like: q 'SELECT * FROM…
  16. How is this different from https://github.com/harelba/q
    comment by berta · 2018-04-07 · in TextQL: Execute SQL Against CSV or TSV
  17. There is also the (impossible to google) https://github.com/harelba/q that lets you SQL over CSV and is unix pipeline friendly.
  18. …not suffer from the ",,,,,," problem of CSV. [1] Here's the list of ones I have run into so far: * https://github.com/harelba/q * https://github.com/tobimensch/termsql * https://github.com/samuel/squawk * https://github.com/tjunier/sqawk…
  19. There's also a tool named q to query text files: https://github.com/harelba/q
    comment by egeozcan · 2014-03-03 · in Q – A Data Language