package csv

  1. Overview
  2. Docs
A pure OCaml library to read and write CSV files.

Install

Dune Dependency

Authors

Maintainers

Sources

csv-2.1.tbz
sha256=8fadcfa50fa809151e98d344accab9d3dba6cd775e8e18d8f5c773c89959ee31
md5=de280eb23d436d3f04b99e4b7272c8b1

README.md.html

README.md

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 csv

for the standard version and

opam install csv-lwt

for 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-lwt

Uninstall

With OPAM:

opam remove csv
opam remove csv-lwt

Manually (from the source directory):

dune uninstall csv
dune uninstall csv-lwt

Documentation

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.

OCaml

Innovation. Community. Security.