package npy
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=8a06935cb77ad546cd40872fcf7fd1e1
sha512=d682a748fd94d077e763bab259946690aff3b4da5ff374820e79802a49dc6f75ab0d0af3a739a52538453508687c3675a29860ff36c12f2b33a0de59c8ab5b2a
Description
Provide simple read/write function using the numpy npy/npz file formats. These can be used to save a bigarray to disk and then load it from python using numpy.
Added to opam-repository:
README
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 npyThe 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.
Dev Dependencies
None
Optional Dependencies
None
Conflicts
None
Build status
Results of building npy with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.0.9 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure