Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

The Caml Hump: General purpose libraries :: Compression

Open Source


Bindings with C libraries
CamlBZ2 [07-Nov-2008, version 0.6.0, Beta]
CamlBZ2 provides OCaml bindings for libbzip2, a popular compression library which typically compresses better (i.e., smaller resulting files) than gzip. Using CamlBZ2 you can read and write compressed "files", where files can be anything offering an in_channel/out_channel abstraction (files, sockets, ...). Also, with CamlBZ2 you can compress and decompress strings in memory using the bzip2 compression algorithm.
Bindings with C libraries
ocaml-archive [29-Aug-2011, version 2.8.4+1, Stable]
Bindings to libarchive, a C library for reading and writing tar, cpio, zip, ISO, and other archive formats.
Author: Sylvain Le Gall.
Bindings with C libraries
OCaml-lzma [19-Apr-2010, version 0.01, Alpha]
OCaml bindings for the lzma library.
Author: Florent Monnier.


Native OCaml libraries
CamlZip [23-Oct-2012, version 1.05, Stable]
An Objective Caml library that provides easy access to compressed files in ZIP and GZIP format, as well as to Java JAR files.
Author: Xavier Leroy.
Bindings with C libraries
ocaml-lzo [21-May-2012, version 0.0.1, Development code]
Bindings to LZO - a portable lossless data compression library.
Author: ygrek.
Bindings with C libraries
ocaml-snappy [21-May-2012, version 0.0.1, Development code]
Bindings to snappy - fast compression/decompression library.
Author: ygrek.