rogersce/cnpy
library to read/write .npy and .npz files in C/C++ observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5564
- days_rel: n/a
- days_push: 1323
- n_releases_24m: 0
Adoption not part of the score
1489 stars · 337 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small C++ library for reading and writing NumPy .npy and .npz binary array files. It enables fast binary data exchange between C++ scientific code and Python/NumPy workflows.
Use cases
- save large C++ arrays as .npy files for analysis in Python
- load NumPy .npy arrays into C++ programs
- read specific variables from .npz archives in C++
- exchange multi-dimensional scientific data between C++ and Python
- write binary array data with shape and dtype metadata
When to choose
- you need C++/Python NumPy data interchange with minimal dependencies
- you want fast low-level binary I/O for large arrays
- you need a lightweight header-plus-library solution with CMake build
When to avoid
- you need full NumPy API features like memory-mapped or compressed arrays
- you work primarily in Python or another language with native NumPy support
- you need actively developed features or broad format support beyond npy/npz
Facets
library · maturity maintenance
serialization file-system data-science files developer-tools cpp windows cross-platform numpy npy npz scientific-computing interoperability linux macos
1 source
- readme: https://github.com/rogersce/cnpy · fetched 2026-08-28 · 37b385c333ff
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rogersce/cnpy | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem