PyO3/rust-numpy
PyO3-based Rust bindings of the NumPy C-API observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 76
- Longevity 100
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: 65
- age_days: 3421
- days_rel: 81
- days_push: 9
- n_releases_24m: 10
Adoption not part of the score
1382 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Rust bindings for the NumPy C-API built on PyO3, enabling zero-copy conversion between Rust ndarray types and NumPy arrays. It supports writing Python extension modules in Rust as well as embedding Python in Rust programs to exchange array data.
Use cases
- write a Python extension module in Rust that operates on NumPy arrays
- convert NumPy arrays to Rust ndarray views without copying data
- speed up numerical Python code with Rust kernels
- call Python and NumPy from a Rust application and get array results back
- build parallel numeric routines in Rust exposed to Python via rayon
When to choose
- you need high-performance Rust code operating on NumPy arrays with minimal copying
- you are already using PyO3 and want typed NumPy array interop
- you want to embed Python in a Rust program and exchange array data
When to avoid
- you only need pure-Python NumPy work with no Rust involvement
- you need bindings for a language other than Python or Rust
- your project requires Python < 3.9 or Rust < 1.83
Facets
library · maturity active
sdk machine-learning data-science developer-tools data-science machine-learning rust python cross-platform numpy pyo3 ndarray rust-bindings python-extensions ffi
1 source
- readme: https://github.com/PyO3/rust-numpy · fetched 2026-08-28 · c6651409982c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PyO3/rust-numpy | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem