rumpy
nrumpy multiplies matrices with Strassen's algorithm. The compute is the Rust crate rumpy-core, which stores row-major f64 values. Install the package as nrumpy and import nrumpy.
import nrumpy
nrumpy.matmul([[1.0, 2.0], [3.0, 4.0]], [[5.0, 6.0], [7.0, 8.0]])
# [[19.0, 22.0], [43.0, 50.0]]
nrumpy.matpow([[1.0, 1.0], [1.0, 0.0]], 5)
# [[8.0, 5.0], [5.0, 3.0]]
nrumpy.trace([[1.0, 2.0], [3.0, 4.0]])
# 5.0
nrumpy.norm([[3.0, 4.0]])
# 5.0
matmul and matpow accept nested lists, tuples of rows, and 2-D NumPy arrays. A NumPy left operand returns a float64 array. A list or tuple returns a nested list. trace sums the main diagonal. norm is the Frobenius norm. Both return a Python float.
Shapes, leaf_size, the out buffer, errors, and the Strassen recurrence are in DOCS.md.
Install
Python 3.10 or newer. NumPy is the only runtime dependency.
pip install nrumpy
From a clone, with a Rust toolchain and maturin:
maturin develop --release
make dev runs that command.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Metadata
Release files for nrumpy 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nrumpy-0.2.1.tar.gz | 37.7 kB | With provenance | Details for nrumpy-0.2.1.tar.gz |
Built distributions (wheels)
Total release size: 4.1 MB
Release files / nrumpy-0.2.1.tar.gz
| Download URL | nrumpy-0.2.1.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa274db3633f650bd1623ce7956cd584e393ecdcda5a2c09c949e4e1d0c3a5d1
|
|
BLAKE2b-256 checksum How to use checksums |
5d7097d0b16b40a2e698692fe55d5b40a82efeb8aa8a53c6955d25baf6fe5172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp313-cp313-win_amd64.whl
| Download URL | nrumpy-0.2.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 202.6 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9b9c00fd1bb7602558351a793f328671bb0acd2274ae651006ca55b9f1a7f575
|
|
BLAKE2b-256 checksum How to use checksums |
af412ab74f40bac09d0045a92b6e230be20f2b844ebd7ebc2106a378987e6de4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp313-cp313-win32.whl
| Download URL | nrumpy-0.2.1-cp313-cp313-win32.whl |
|---|---|
| Size | 187.1 kB |
| Tags | CPython 3.13 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
4354015131fc2d838ca31eee651cb745df868028f9ddfba72db71c31cd85e803
|
|
BLAKE2b-256 checksum How to use checksums |
f2ed8791749bf53f622533696064661fad18c78776917b1f3366a00f5f000b7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nrumpy-0.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 328.2 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
04d35934e7ee2a8b87696e92326466561d0dd378e9e4a3b29dbdd192017746b3
|
|
BLAKE2b-256 checksum How to use checksums |
ba68e93fc737010c7f0db3e802bc3f7f50ba5d23bd108b08f8e8656faf85d26d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | nrumpy-0.2.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 291.9 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
346c85c40e2b3a9475b7647e9228ad26e0b28c82df15861e46e988db09656c8e
|
|
BLAKE2b-256 checksum How to use checksums |
b34881a585f0f3be71117aabf34cc846bce25b6e580c74a0ca4602f304a316c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp312-cp312-win_amd64.whl
| Download URL | nrumpy-0.2.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 202.6 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
809bf7dd1cbc6e9f279d03bf9bf8152c234690052223edc87038c618de9c6ff4
|
|
BLAKE2b-256 checksum How to use checksums |
c4883599086964bb694da01219b8824a79420acb99b9b035139c232a8418ae17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp312-cp312-win32.whl
| Download URL | nrumpy-0.2.1-cp312-cp312-win32.whl |
|---|---|
| Size | 187.4 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
5db92e7ecc71421418981dff2e7bea1b4d09a54d5d338d35575ab897316f6fa1
|
|
BLAKE2b-256 checksum How to use checksums |
db8ee88773ceaad06e2bdc32f182fda94e753b2c4f57bb033fe043139cb1cdb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nrumpy-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 328.0 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ba396cc0687e1e14fded82b32d92a05093ccda214731cd296e8f59a4e2deb7a
|
|
BLAKE2b-256 checksum How to use checksums |
18fd35cebf473498115ecc54ee36481dc9f62a50d9ea4f00b7a921d7c6acd495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | nrumpy-0.2.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 291.9 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
82a5d41c0ef9c9efcf5a2040807bb238c8fb8964491e7d857a84a557dee1fb09
|
|
BLAKE2b-256 checksum How to use checksums |
d49955afaa8df63b76515b861a29008d2801bdd8bd1f7eefdd70e5d2182832bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp311-cp311-win_amd64.whl
| Download URL | nrumpy-0.2.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 206.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
707e4f9fc093b0b3daf7fae0723d6f46b674a112701c7b6fc7682962413ffe4a
|
|
BLAKE2b-256 checksum How to use checksums |
dcdfce7c62fdb7f41f815061a95308a2401b35e01cb04fef38d437a96597c492
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp311-cp311-win32.whl
| Download URL | nrumpy-0.2.1-cp311-cp311-win32.whl |
|---|---|
| Size | 190.1 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d80b1a5f94a1de45350fec172e173d28e158d8c53d94a67b4fade81789a8ee02
|
|
BLAKE2b-256 checksum How to use checksums |
3c2376b34c03f677abd78859abdc532784f50d9f333492edf3f88fe729c06f9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nrumpy-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 332.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f1bb5ac0d3463b4d2fb6a5d1cf1b2d0f00ee898fbf6682f10c0fa5bfc5226da0
|
|
BLAKE2b-256 checksum How to use checksums |
1d3cc348d7b107b206e9a84d1fbea812f6ccb8b1773e89441f67b201cc166f01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | nrumpy-0.2.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 295.3 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
481e55f1c63f96e0db2d7964afdab625c8439b29916f9c78ba45b64ffa3cf3cc
|
|
BLAKE2b-256 checksum How to use checksums |
5d1629d01977f65e63bd57ff37c1f82b3990641f61f567b1f74573d07ddf290a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp310-cp310-win_amd64.whl
| Download URL | nrumpy-0.2.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 206.7 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
df35a19c27a06cb997e78a03b1a1ec4d25a3826ab531d53d506c09d5591e46eb
|
|
BLAKE2b-256 checksum How to use checksums |
1ee325b0a79dfcc1ace79cb2d3bd2614e059fbcf9d78441c403fb42f2791e3a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp310-cp310-win32.whl
| Download URL | nrumpy-0.2.1-cp310-cp310-win32.whl |
|---|---|
| Size | 190.2 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
60b29ddf93fef1063b279f91642f821dfcfe42d0740d94e05f84cd6ebf445745
|
|
BLAKE2b-256 checksum How to use checksums |
f529e8f3d8e2701d678d6cec4eb4160a7eaf90f226d58bb0affdbc92a4f3b44a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nrumpy-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 332.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8a37976ca437988b21349e90200b12677606811846d23afad90e9405e1c46c66
|
|
BLAKE2b-256 checksum How to use checksums |
172a4daca54e0b55db3e2b464ef64cd9321e04aaa713e3187739407c690d7e55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / nrumpy-0.2.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | nrumpy-0.2.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 295.6 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
22831643f9abf294f79bd424a45c0693eae4d9338dc103586ae94831c52af9e2
|
|
BLAKE2b-256 checksum How to use checksums |
311cb4001b9a4240f929b705fcfb81e10168599d96f20ebe82a44698bc509dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for nrumpy 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 17 files in this release have been uploaded with provenance metadata.
Attestation for nrumpy-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.