Hacker GitHub

← All repos

BurntSushi/xsv

View on GitHub ↗ ★ 10,750 Rust archived

A fast CSV command line toolkit written in Rust.

103 mentions on Hacker News by 76 people: 7 stories, 96 comments · first 2015-02-22 · latest 2026-01-19

Mentions per year 103 mentions · busiest year 2019 (18)
20082026
  1. It's retired in favor of qsv and xan: https://github.com/BurntSushi/xsv
  2. aaand xsv : https://github.com/BurntSushi/xsv
    comment by jgord · 2025-03-27 · in A love letter to the CSV format
  3. shout out to BurntSushis excellent xsv util https://github.com/BurntSushi/xsv
    comment by jgord · 2025-03-27 · in A love letter to the CSV format
  4. …just using something like zsv ( https://github.com/liquidaty/zsv , which I'm an author of) or xsv ( https://github.com/BurntSushi/xsv/edit/master/README.md ) and then spending that time saved on "real" work
    comment by mattewong · 2024-08-14 · in CSVs Are Kinda Bad. DSVs Are Kinda Good
  5. Or https://github.com/BurntSushi/xsv
  6. …that comparable since these tools don't support SQL, but a more fully functioned CLI tool is - https://github.com/BurntSushi/xsv They are both fairly good
  7. its parser is buggy! https://github.com/BurntSushi/xsv/issues/337 (I ran into this issue myself)
    comment by vmchale · 2024-03-26 · in Friends don't let friends export to CSV
  8. xsv makes dealing with csv miles easier: https://github.com/BurntSushi/xsv
    comment by coxley · 2024-03-26 · in Friends don't let friends export to CSV
  9. xsv? I never heard of it. This one? https://github.com/BurntSushi/xsv If yes, looks very cool. Plus, bonus HN/Internet points for being written in Rust!
    comment by throwaway2037 · 2024-03-26 · in Friends don't let friends export to CSV
  10. diffeence from https://github.com/BurntSushi/xsv ?
  11. Also: https://github.com/BurntSushi/xsv https://csvkit.readthedocs.io/en/latest/
    comment by hermitcrab · 2023-12-23 · in Qsv: Efficient CSV CLI Toolkit
  12. …online. See https://github.com/learnbyexample/scripting_course#ebooks for links. Have you looked at https://github.com/BurntSushi/xsv for csv processing?
    comment by asicsp · 2023-11-08 · in The bash book to rule them all
  13. I have done some similar, simpler data wrangling with xsv ( https://github.com/BurntSushi/xsv ) and jq. It could process my 800M rows in a couple of minutes (plus the time to read it out from the database =)
  14. …For a more robust solution, see https://stackoverflow.com/q/45420535 or use other tools like https://github.com/BurntSushi/xsv
  15. Personally, I use xsv and it’s been tremendously helpful, especially when working with larger files. https://github.com/BurntSushi/xsv
  16. …many want to expand the featureset of the base of xsv, which seems to be why qsv was created. [1] https://github.com/BurntSushi/xsv/issues/267
  17. …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
  18. I suggest trying xsv as a first step: https://github.com/BurntSushi/xsv
    comment by HopenHeyHi · 2023-03-24 · in Fascination of Awk
  19. …latter of which I'm an author). https://github.com/liquidaty/zsv/blob/main/docs/csv_json_sql... https://github.com/BurntSushi/xsv
    comment by mattewong · 2023-03-19 · in Analyzing multi-gigabyte JSON files locally
  20. …[1]: https://www.postgresql.org/docs/current/datatype-json.html [2]: https://github.com/BurntSushi/xsv
  21. csvkit and miller are both extraordinarily slow try xsv ( https://github.com/BurntSushi/xsv ) or zsv ( https://github.com/liquidaty/zsv ) instead (the latter of which I'm an author of)
  22. …ton of processing of JSON and csv/tsv. Any word on the performance relative to jq and xsv [1]? [1] https://github.com/BurntSushi/xsv
  23. …naive comma splitting. Also unlike gnu join, xsv does not require input to be sorted (afaik) [1] https://github.com/BurntSushi/xsv
  24. FYI: https://github.com/BurntSushi/xsv is much faster than mlr (like an order of magnitude), and zsv ( https://github.com/liquidaty/zsv ) is even faster. But, neither support formulas. Disclaimer: I am one of the zsv authors
  25. For manipulating CSV from the terminal, check out https://github.com/BurntSushi/xsv
    comment by sitkack · 2022-12-10 · in Consider Using CSV
  26. xsv is invaluable for processing big csv files: https://github.com/BurntSushi/xsv
  27. In the past I've used https://github.com/BurntSushi/xsv to query some large CSVs
  28. …`hi` are both returned as `hi`)? - How does it compare, performance-wise (or in other ways) with https://github.com/BurntSushi/xsv , https://github.com/eBay/tsv-utils or https://github.com/liquidaty/zsv ? (disclaimer: I wrote zsv)
    comment by mattewong · 2022-06-21 · in Splitting CSV files at 3GB/s
  29. xsv does similar stuff for CSV, and very rapidly: https://github.com/BurntSushi/xsv https://miller.readthedocs.io/en/latest/why/ has a nice section on "why miller": > First: there are tools like xsv which handles CSV marvelously and jq…
  30. …data at https://github.com/petewarden/dstkdata (credit to xsv for choosing that dataset) against https://github.com/BurntSushi/xsv and https://github.com/liquidaty/zsv (full disclosure: I am one of the zsv authors). Here's what I got.…
  31. https://github.com/BurntSushi/xsv Can do at least some of these
  32. Have you tried https://github.com/BurntSushi/xsv ?
  33. …like `zsv` (sql sub-command) ( https://github.com/liquidaty/zsv ) or `xsv` (sort subcommand) ( https://github.com/BurntSushi/xsv ) for this 3. Use mergesort to sort all shards, at the same time, into a single output table, and in the…
    comment by mattewong · 2022-04-18 · in Ask HN: How to Deal with CSVs?
  34. I think xsv is what you're looking for: https://github.com/BurntSushi/xsv . Specifically xsv table.
    comment by ajoseps · 2022-03-17 · in TUIs
  35. It is pragmatic with a minor tweak. https://csvkit.readthedocs.io/en/latest/ https://github.com/BurntSushi/xsv Heck, even sqlite has some stuff to help with processing CSV files: https://www.sqlite.org/csv.html
  36. There's also xsv by BurntSushi, the author of ripgrep. https://github.com/BurntSushi/xsv One killer feature of xsv is creating an index for large csv file, for quicker searches.
  37. …as far as what it can do. It's very handle for quick statistical analysis of CSV input. [0]: https://github.com/BurntSushi/xsv
  38. Is this (supposedly) better than Burntsushi toolset (e.g. XSV[1]) or just different ? [1] https://github.com/BurntSushi/xsv
  39. charming article, as always, from burntsushi. You may also enjoy his xsv util [ https://github.com/BurntSushi/xsv ] for wrangling large csv files.
  40. …| xsv select 1,3 | q 'select * from - where col1 != "foo"' (xsv: also invaluable on the terminal: https://github.com/BurntSushi/xsv )
  41. Maybe xsv or csvkit? https://github.com/BurntSushi/xsv https://csvkit.readthedocs.io/en/latest/
  42. …but there's a handy `csv2tsv` utility included. There's also `xsv`, from the author of `ripgrep`: https://github.com/BurntSushi/xsv
    comment by pianoben · 2020-10-30 · in Awk: `Begin { ` Part 1
  43. …sys; r = csv.reader(sys.stdin); ...' <data.csv` if it needs to run on someone else's machine. 3. https://github.com/BurntSushi/xsv if I want to quickly munge some data or extract a field. 4. Gnumeric if I want a GUI. 5.…
    comment by walrus · 2020-10-30 · in Awk: `Begin { ` Part 1
  44. There is https://github.com/BurntSushi/xsv but it doesn't seem to print with borders between cells.
    comment by rnestler · 2020-10-30 · in Awk: `Begin { ` Part 1
  45. See also https://github.com/BurntSushi/xsv
    comment by asicsp · 2020-10-30 · in Awk: `Begin { ` Part 1
  46. …I know. I've used it to parse / filter large PostgreSQL log files (20GB+) with great success. [1] https://github.com/BurntSushi/xsv
  47. There is also xsv [0] for CSV SQLing [0] https://github.com/BurntSushi/xsv
  48. …the path most people should take, but I didn't want to write table definitions. I ended up using https://github.com/BurntSushi/xsv (I am not affiliated with the project in any way). It's a command-line tool written in Rust that performs…
  49. …crate [1]. xsv in particular is the best CLI csv tool I've ever used. And I've used them all. [0] https://github.com/BurntSushi/xsv [1] https://github.com/BurntSushi/rust-csv
  50. …so it's one binary - no runtime dependencies, and will happily chunk through multi-gigabyte files. https://github.com/BurntSushi/xsv