Page
Library
Module
Module type
Parameter
Class
Class type
Source
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.
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 csvtoolWith OPAM:
opam remove csv
opam remove csv-lwt
opam remove csvtoolManually (from the source directory):
dune uninstall csv
dune uninstall csv-lwt
dune uninstall csvtoolThe 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.