News for hackers. Stuff that matters.

Show HN: LazyCSV – a fast, memory-efficient CSV parser for Python

https://github.com/Crunch-io/lazycsv

We recently open-sourced our internal csv parser, and wanted to share it here. LazyCSV is a zero-dependency csv parser for Python which uses memory-mapped files to provide random-access reads on a CSV file without holding it in memory. Its API allows you to create efficient iterators to lazily parse out rows and columns of data. Optional, opt-in numpy support is also available for creating ndarrays from sequences of data without creating intermediary PyObject's. Feel free to take a look!
( 1 comment | on HN )
Re:Show HN: LazyCSV – a fast, memory-efficient CSV parser fo... by ffback on Thursday May 04, 2023 @05:44PM (#35822513)
Good work. Stating the % improvement upfront in the README can increase adoption.