Package0.5.3.2TextWebCSV
cassava
A CSV parsing and encoding library
- Version0.5.3.2
- CategoryText, Web, CSV
- LicenceBSD-3-Clause
- AuthorJohan Tibell
- Maintainerhttps://github.com/haskell-hvr/cassava
- Homepagegithub.com/haskell-hvr/cassava
- Pinned byhackage cassava 0.5.3.2
- Sourcehackage.haskell.org/package/cassava-0.5.3.2
Modules
5 modules- Data.Csv56This module implements encoding and decoding
- Data.Csv.Builder8Low-level bytestring builders. Most users want to use the more
- Data.Csv.Incremental21This module allows for incremental decoding and encoding of CSV
- Data.Csv.Parser8A CSV parser. The parser defined here is RFC 4180 compliant, with
- Data.Csv.Streaming6This module allows for streaming decoding of CSV data. This is
Description
cassava is a library for parsing and encoding RFC 4180 compliant comma-separated values (CSV) data, which is a textual line-oriented format commonly used for exchanging tabular data.
cassava's API includes support for
Index-based record-conversion Name-based record-conversion Typeclass directed conversion of fields and records Built-in field-conversion instances for standard types Customizable record-conversion instance derivation via GHC generics Low-level bytestring builders (see Data.Csv.Builder) Incremental decoding and encoding API (see Data.Csv.Incremental) Streaming API for constant-space decoding (see Data.Csv.Streaming)
Moreover, this library is designed to be easy to use; for instance, here's a very simple example of encoding CSV data:
Please refer to the documentation in Data.Csv and the included README for more usage examples.
Depends on
14 packages- Only-0.1in this set
- array-0.5.8.0with GHC
- attoparsec-0.14.4in this set
- base-4.20.2.0with GHC
- bytestring-0.12.2.0with GHC
- containers-0.7with GHC
- deepseq-1.5.0.0with GHC
- hashable-1.4.7.0in this set
- scientific-0.3.8.0in this set
- text-2.1.3with GHC
- text-short-0.1.6in this set
- transformers-0.6.1.1with GHC
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set