GitXplorerGitXplorer
L

npy-ocaml

public
41 stars
10 forks
3 issues

Commits

List of commits on branch master.
Unverified
e37dddf5130b848d501fbef9fc7b6c49da542de3

Better handling of char arrays.

LLaurentMazare committed 2 years ago
Verified
1174e046845bace65b2ca49be5d35a1f0ed9604a

Use O_RDWR for shared arrays (#10)

ccrackcomm committed 3 years ago
Unverified
8a7ef15fa231149e990a2421b9baa27d2daa6ea3

Fix for dune 2.

LLaurentMazare committed 5 years ago
Unverified
c051086bfea6bee58208098bcf1c2f725a80a1fb

Format the code with ocamlformat.

LLaurentMazare committed 6 years ago
Unverified
5844c707c5012232017f07532489669fc23f2a3d

Fix numpy crashing with ValueError (#6)

aalfa07 committed 6 years ago
Verified
45b294be37f624988026d8053ad2c9e005f30da3

Update Readme. Fixes #5

LLaurentMazare committed 6 years ago

README

The README file for this repository.

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.