cassava: A CSV parsing and encoding library
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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:
>>>
Data.Csv.encode [("John",27),("Jane",28)]
"John,27\r\nJane,28\r\n"
Please refer to the documentation in Data.Csv and the included README for more usage examples.
[Skip to Readme]
Properties
Versions | 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.2.0, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.2.1, 0.4.2.2, 0.4.2.3, 0.4.2.4, 0.4.3.0, 0.4.3.1, 0.4.4.0, 0.4.5.0, 0.4.5.1, 0.5.0.0, 0.5.1.0, 0.5.2.0, 0.5.3.0, 0.5.3.1, 0.5.3.1, 0.5.3.2 |
---|---|
Change log | CHANGES.md |
Dependencies | array (>=0.4 && <0.6), attoparsec (>=0.11.3.0 && <0.15), base (>=4.9 && <5), bytestring (>=0.10.4 && <0.13), containers (>=0.4.2 && <0.8), deepseq (>=1.1 && <1.6), hashable (<1.5), Only (>=0.1 && <0.1.1), scientific (>=0.3.4.7 && <0.4), text (<2.2), text-short (>=0.1 && <0.2), transformers (>=0.2 && <0.7), unordered-containers (<0.3), vector (>=0.8 && <0.14) [details] |
License | BSD-3-Clause |
Copyright | (c) 2012 Johan Tibell (c) 2012 Bryan O'Sullivan (c) 2011 MailRank, Inc. |
Author | Johan Tibell |
Maintainer | https://github.com/haskell-hvr/cassava |
Category | Text, Web, CSV |
Home page | https://github.com/haskell-hvr/cassava |
Bug tracker | https://github.com/haskell-hvr/cassava/issues |
Source repo | head: git clone https://github.com/haskell-hvr/cassava.git |
Uploaded | by AndreasAbel at 2024-04-23T10:46:39Z |
Modules
[Index] [Quick Jump]
Downloads
- cassava-0.5.3.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees