npy

Numpy npy file format reading/writing.
README

This contains a simple implementation of version 1.0 of the npy format spec. An opam package is available and can be installed via:

opam install npy

The main functions are:

  • Writing ocaml bigarrays to npy files, these files can then be loaded from python using numpy.load.

  • Reading ocaml bigarrays from npy files, the resulting bigarrays are mmapped to the file.

  • Reading and writing npz files that could contain multiple arrays.

Install
Sources
0.0.6.tar.gz
md5=1176541495878867a78a7e5efc3ac9bc
Dependencies
ocaml
>= "4.03.0" & < "4.06.0"
Reverse Dependencies
owl
>= "0.8.0"