Fast C++ CSV Parser
ssp
Fast C++ CSV Parser | ssp | |
---|---|---|
7 | 4 | |
2,133 | 49 | |
- | - | |
3.5 | 9.3 | |
about 1 month ago | 7 months ago | |
C++ | C++ | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Fast C++ CSV Parser
-
When not to use Rust?
Sorry that I still have a life. Had to analyse and mangle many large csv files and switched from Python and its csv module to: https://github.com/ben-strasser/fast-cpp-csv-parser and C++ containers/types. Python is just ineffable slow in comparison (as I wrote from >1hr to <1s).
-
Help me understand this code snippet involving template with 3 dots (...)
where csv_reader is a CSVReader type from: https://github.com/ben-strasser/fast-cpp-csv-parser, we're reading iris.data, a CSV file which contains double,double,double,double,string values.
-
csv parser that supports wchar_t strings
Good night everybody, I was trying to work with some csv file that had some hebrew characters, therefore I need to use std::wstring, but the ones I found didn't supported wide characters, like this one.\ Does anybody here knows any csv parser that works with wide chars? Thanks in advance.
-
Strategies for finding zeroes of Tektronix Waveform .csv file (~200 MB .csv file)
*Go with my first instinct and do it in C++ anyways? I already use python at work and I'm wondering if a tool featuring a C++ parser as the back-end and something like pysimplegui as the front end could be a game-changer at my job.
-
Csvlib file
This one comes to mind: https://github.com/ben-strasser/fast-cpp-csv-parser
-
A tuple oriented csv parser [UPDATE]
I did consider the parser returning std::optional, but I think it is situational whether one would look nicer than the other. For example, using value_or() in the first example would not work since I do not want to print anything if the row is invalid, so I would still have to check the optional, and than add another line to decompose the tuple resulting in more lines. Notice that p.valid() can also be used to check if the file was open within the constructor. Fetching error messages would also be slightly more complicated. As for exceptions, I do no think it could work at all in this iteration loop since it would break the loop even if I catch it, and again, file not open would need to be handled too, and making it throw would require me to enclose the whole parser in a try/catch block since the constructor would throw that exception, one of the problems I had with the fast-cpp-csv-parser. Its all a trade-off, but I think I will stick with p.valid(), tho I will consider it still.
-
A tuple oriented C++ csv parser
fast-cpp-csv-parser - 2.022 +- 0.025 [s]
ssp
-
CSV Parser
Long ago I have made this parser and posted it here. It had some missing features and I wanted a complete project. I think it is mostly finished now so I would appreciate your feedback.
- Show HN: A Fast and Flexible C++ CSV Parser
- A tuple oriented csv parser [UPDATE]
-
A tuple oriented C++ csv parser
ssp - 2.011 +- 0.015 [s]
What are some alternatives?
Rapidcsv - C++ CSV parser library
Vince's CSV Parser - A high-performance, fully-featured CSV parser and serializer for modern C++.
DataFrame - C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage
nvParse - Fast, gpu-based CSV parser
FunctionalPlus - Functional Programming Library for C++. Write concise and readable C++ code.
csv
Nameof C++ - Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
Text_view - A C++ concepts and range based character encoding and code point enumeration library
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
lazycsv - A fast, lightweight and single-header C++ csv parser library
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code