This release is a pre-release and may not be stable for production use.
fastscipy
Faster SciPy calls. The same results, byte for byte.
Rust kernels and shared thread pools accelerate supported calls. Everything else stays with SciPy.
import fastscipy
fastscipy.patch()
from scipy import ndimage
clean = ndimage.median_filter(image, size=3)
Run on a MacBook Pro with M5 Pro.
Install
pip install --pre fastscipy
Prebuilt wheels; no Rust required.
Experimental: macOS 14+ Apple Silicon · SciPy 1.18 · Python 3.12–3.14. Unsupported platforms and versions stay unpatched.
Call patch() before importing libraries that use SciPy.
Use patch(threads=4) to choose a thread budget, status() to see what's enabled,
and unpatch() to restore SciPy.
Performance
Geometric-mean speedups over unpatched SciPy, measured on an Apple M5 Pro.
| Area | Cases | 1 thread | 18 threads |
|---|---|---|---|
| linalg — stacks of small matrices | 19 | 10.0× | 75.9× |
| ndimage | 41 | 13.3× | 68.2× |
| interpolate | 12 | 15.6× | 44.3× |
| csgraph | 9 | 5.8× | 15.5× |
| signal | 22 | 4.7× | 12.4× |
| sparse | 16 | 4.7× | 11.9× |
| stats | 46 | 7.0× | 9.3× |
| special | 32 | 1.0× | 7.4× |
| spatial | 8 | 1.0× | 6.7× |
| integrate | 3 | 1.6× | 1.6× |
| optimize | 3 | 1.1× | 1.1× |
Published run: 2026-10-18, SciPy 1.18.1, Python 3.13, release build; controls excluded. Results vary by workload and hardware. Full results · Latest expansion results
More
Coverage · How it works · Demo source · Contributing
BSD-3-Clause. SciPy ports retain SciPy's license. Independent of the SciPy project.
Metadata
Release files for fastscipy 0.1.0a1
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 |
|---|---|---|---|---|
| fastscipy-0.1.0a1.tar.gz | 407.8 kB | With provenance | Details for fastscipy-0.1.0a1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastscipy-0.1.0a1-cp314-cp314-macosx_14_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 14.0+ ARM64 | Details for fastscipy-0.1.0a1-cp314-cp314-macosx_14_0_arm64.whl |
| fastscipy-0.1.0a1-cp313-cp313-macosx_14_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 14.0+ ARM64 | Details for fastscipy-0.1.0a1-cp313-cp313-macosx_14_0_arm64.whl |
| fastscipy-0.1.0a1-cp312-cp312-macosx_14_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 14.0+ ARM64 | Details for fastscipy-0.1.0a1-cp312-cp312-macosx_14_0_arm64.whl |
Total release size: 13.2 MB
Release files / fastscipy-0.1.0a1.tar.gz
| Download URL | fastscipy-0.1.0a1.tar.gz |
|---|---|
| Size | 407.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5eec91d5c90ec8732d7a596eab9ebfd0716f42cf9707bdc1c9e0877184a604b5
|
|
BLAKE2b-256 checksum How to use checksums |
10e901c15cdb67302171be8af7d72a288f2fdee1c0106fed98f2da58df3d18bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logRelease files / fastscipy-0.1.0a1-cp314-cp314-macosx_14_0_arm64.whl
| Download URL | fastscipy-0.1.0a1-cp314-cp314-macosx_14_0_arm64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.14 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9a13854b815f70b13b30033f624ffea4a1d09a7e4e25dab4fdd531fb0151a619
|
|
BLAKE2b-256 checksum How to use checksums |
df69d3e285796aff1cb16692fd28e1b9c86980f49a8e13336dad0e88d007f702
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logRelease files / fastscipy-0.1.0a1-cp313-cp313-macosx_14_0_arm64.whl
| Download URL | fastscipy-0.1.0a1-cp313-cp313-macosx_14_0_arm64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.13 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
256fb5a633f5deb68ffa30a8c484096026613232723cc1472f4e6e7450203ece
|
|
BLAKE2b-256 checksum How to use checksums |
bec09f3be9a9b4dfabb260ada8a67a87df4155882b46d8185559d34f03c9917e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logRelease files / fastscipy-0.1.0a1-cp312-cp312-macosx_14_0_arm64.whl
| Download URL | fastscipy-0.1.0a1-cp312-cp312-macosx_14_0_arm64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.12 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f859ff06ef832620febcb539d04dfd0885cdd4c910a37b7381ba2b0ce2a550c5
|
|
BLAKE2b-256 checksum How to use checksums |
3df9c21a784d31d3d830db4cb1c7a815d9277957587b0b8474ec2d0db2c3caa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logSecurity for fastscipy 0.1.0a1
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 4 files in this release have been uploaded with provenance metadata.
Attestation for fastscipy-0.1.0a1.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 Oct 20, 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.