package csvtool

  1. Overview
  2. Docs
Command line tool for handling CSV files

Install

Dune Dependency

Authors

Maintainers

Sources

csv-2.4.tbz
sha256=13fec48177f2658c4c62edf04f5edd055962fbf2abb4c3e372d268dd2ab2a98e
sha512=a8a952315950fc7fcca36c758b69618296060fd4eab3140ac364ad62172cf665b3c0c9d892ddb586929217466a42f33f432e32e3bd0c1e549ea22bef6ef8a900

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

For the command line manipulation utility, do

opam install csvtool

or

dune install csvtool

Uninstall

With OPAM:

opam remove csv
opam remove csv-lwt
opam remove csvtool

Manually (from the source directory):

dune uninstall csv
dune uninstall csv-lwt
dune uninstall csvtool

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.