PureCSV

screenshot of PureCSV

A type-safe and boilerplate-free CSV library for Scala

Overview

PureCSV is a Scala library that simplifies working with the CSV format. It eliminates the need for boilerplate code and provides convenient methods for reading from and writing to CSV files. The library supports both safe and unsafe reading, allowing for flexibility in handling CSV data. PureCSV is designed to be extensible, allowing users to add new field types and customize parsing options.

Features

  • CSV Reading: Provides methods for reading CSV data from strings or files.
  • CSV Writing: Offers methods for converting values to CSV strings and writing CSV values to files.
  • Safe and Unsafe Reading: Allows users to choose between safe and unsafe reading options, depending on the input data's formatting and reliability.
  • Header Handling: Supports different handling options for CSV headers, including skipping headers and providing custom mappings.
  • Extensibility: Provides the ability to add new field types and customize parsing options.

Summary

PureCSV is a Scala library that simplifies working with CSV files by providing convenient methods for reading and writing CSV data. It offers options for safe and unsafe reading, allowing users to handle different types of input data with ease. The library also supports custom header handling and extensibility, allowing users to add new field types and customize parsing options. With its concise syntax and helpful features, PureCSV is a valuable tool for any project that involves working with CSV data in Scala.