package npy

  1. Overview
  2. Docs
Numpy npy file format reading/writing.

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.9.tar.gz
md5=8a06935cb77ad546cd40872fcf7fd1e1
sha512=d682a748fd94d077e763bab259946690aff3b4da5ff374820e79802a49dc6f75ab0d0af3a739a52538453508687c3675a29860ff36c12f2b33a0de59c8ab5b2a

README.md.html

npy-ocaml

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.

OCaml

Innovation. Community. Security.