There's plenty of other CSV parsers in the wild, but I had a hard time finding what I wanted. Inspired by Python's csv module, I wanted a library with simple, intuitive syntax. Furthermore, I wanted support for special use cases such as calculating statistics on very large files. With the deluge of large datasets available, a performant CSV parser is a necessity. By using overlapped threads, memory-mapped IO, and efficient data structures, this parser can quickly tackle large CSV files. Furthermore, this parser has a minimal memory footprint and can handle larger-than-RAM files.

Features

  • This CSV parser is much more than a fancy string splitter, and parses all files following RFC 4180
  • This CSV parser is encoding-agnostic and will handle ANSI and UTF-8 encoded files
  • By default, rows of variable length are silently ignored, although you may elect to keep them or throw an error
  • This CSV parser has an extensive test suite and is checked for memory safety with Valgrind
  • It does not try to decode UTF-8, except for detecting and stripping UTF-8 byte order marks
  • This library was developed with Microsoft Visual Studio

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow Vince's CSV Parser

Vince's CSV Parser Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Vince's CSV Parser!

Additional Project Details

Programming Language

C++

Related Categories

C++ JSON Software

Registered

2023-10-19