# cassava

> CSV parsing and encoding for Haskell

Source: https://talira.ai/catalog/cassava-psxkhzej
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / csv](https://talira.ai/categories/developer-tools/parsing/csv), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [haskell-hvr](https://talira.ai/orgs/haskell-hvr.md)

cassava is a [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md) library for parsing and encoding RFC 4180 CSV data. It converts records by column index or by header name, through type classes with built-in instances for standard types and instances derived with GHC generics, and offers low-level bytestring builders, an incremental API and a streaming API that decodes in constant space. It was written by Johan Tibell and is maintained in the haskell-hvr organisation.

## Links

- GitHub: https://github.com/haskell-hvr/cassava

## Problems it solves

- read a CSV file into Haskell records
- stream a large CSV file in constant memory in Haskell
- write Haskell data out as CSV with headers

## Features

- RFC 4180 CSV parsing and encoding
- index- and name-based record conversion
- generic-derived instances
- incremental and streaming APIs
- bytestring builders

## Trust

Overall: 0.31 out of 1.
Signals: maintenance 0.27, adoption 0.47, momentum 0.11, community 0.67, backing 0.30, extensibility 0.00.

- 226 GitHub stars
- 47 contributors
- backed by haskell-hvr

Warnings:

- last commit 9 months ago

## Sources

[^1]: https://github.com/haskell-hvr/cassava/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/haskell-hvr/cassava/blob/master/cassava.cabal (checked 29 Nov 2026)
