svfactor: Syntax-preserving CSV manipulation

[ bsd3, csv, library, text, web ] [ Propose Tags ]

svfactor is a library for parsing, manipulating, and printing CSV and similar formats (such as PSV, TSV, and many more).

svfactor retains all syntactic information including newlines, and provides lenses, prisms, and traversals to query and manipulate this structure. This should make it useful for writing custom CSV transformations and sanitisation tools. For example, one could easily use it to rewrite all CRLF newlines to LF. It also extends RFC4180 by allowing optional spacing surrounding fields.

svfactor's parser is exposed so you can use it independently and printing is similarly standalone.

Please note that there are known performance problems with svfactor.


Versions [faq] 0.1
Change log
Dependencies attoparsec (>= && <0.14), base (>=4.7 && <5), bifunctors (>=5.1 && <6), bytestring (>= && <0.11), charset (==0.3.*), deepseq (>=1.1 && <1.5), lens (==4.*), parsec (==3.1.*), parsers (==0.12.*), semigroupoids (==5.*), semigroups (>=0.18 && <0.20), text (>=1.0 && <1.3), transformers (>=0.2 && <0.6), trifecta (>=1.5 && <2.2), utf8-string (>=1 && <1.1), vector (>=0.10 && <0.13) [details]
License BSD-3-Clause
Copyright Copyright (c) 2018, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
Author George Wilson
Revised Revision 1 made by qfpl at 2019-09-22T09:04:26Z
Category CSV, Text, Web
Home page
Bug tracker
Source repo head: git clone
Uploaded by qfpl at 2018-07-19T06:33:26Z
Distributions NixOS:0.1
Downloads 632 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-07-19 [all 1 reports]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees