Skip to content

npy

Planned, wave 2: NumPy .npy and .npz files.

Status: planned (wave 2). No code exists. The package name is provisional.

What it will provide

NumPy’s .npy format (a header dictionary, little- or big-endian data, Fortran order) and .npz archives of several arrays. A small format, in the roadmap’s words.

References

SubjectReference
the formatNumPy, NEP 1, the .npy format

How it will be validated

AreaCriterion
round tripGo writes and NumPy reads, and the other way round, with identical arrays
hostile inputgo test -fuzz for panics; a limit on the allocation a hostile header can ask for

NumPy is the oracle. Every item also needs unit tests at 100% coverage and a performance table against the reference.

Created on by tannevaled

Modified on by tannevaled