package csv-lwt
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=13fec48177f2658c4c62edf04f5edd055962fbf2abb4c3e372d268dd2ab2a98e
sha512=a8a952315950fc7fcca36c758b69618296060fd4eab3140ac364ad62172cf665b3c0c9d892ddb586929217466a42f33f432e32e3bd0c1e549ea22bef6ef8a900
Description
This is a pure OCaml library to read and write CSV files, including all extensions used by Excel — e.g. quotes, newlines, 8 bit characters in fields, "0 etc. A special representation of rows of CSV files with a header is provided. This version can be used with the monadic concurrency library LWT.
README
OCaml CSV
The comma-separated values format — or CSV for short — is a simple tabular format supported by all major spreadsheets. This library implements pure OCaml functions to read and write files in this format (including Excel extensions) as well as some convenience functions to manipulate such data.
Compile & install
The easiest way to install this library is to use OPAM:
opam install csvfor the standard version and
opam install csv-lwtfor the LWT one. If you prefer to compile and install by hand, make sure you have dune and run
dune build @install
dune install csv
dune install csv-lwtFor the command line manipulation utility, do
opam install csvtoolor
dune install csvtoolUninstall
With OPAM:
opam remove csv
opam remove csv-lwt
opam remove csvtoolManually (from the source directory):
dune uninstall csv
dune uninstall csv-lwt
dune uninstall csvtoolDocumentation
The documentation for the Csv (resp. Csv_lwt) module can be found online (resp. here) or in csv.mli (resp. csv_lwt.mli).
Also see the examples.
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building csv-lwt with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 2.4 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure