mufusion
A lazy image compute graph for 2D images, with a NumPy interface. Array
code builds a graph; .realize() runs it in native code, fusing the ops
so a pipeline makes one pass over the image where it can, instead of one
pass and one temporary array per op.
import numpy as np
import mufusion as mu
x = mu.Array(np.random.rand(3000, 4000, 3).astype(np.float32))
y = mu.clip((x - 0.1) * 1.2, 0.0, 1.0) @ np.eye(3, dtype=np.float32)
out = y.realize() # a NumPy array
- Functions and methods follow NumPy: slicing,
astype, arithmetic,mu.pad,mu.take,mu.concatenate, and the rest. A call NumPy accepts gives NumPy's result or raisesNotImplementedError. mu.Arrayis a handle, not a NumPy array..realize()andnp.asarray(x)return NumPy arrays, so NumPy and OpenCV stay one call away.- uint8, uint16, float16 and float32. Integer arithmetic saturates where NumPy wraps.
- The only dependency is NumPy. The native engine ships in the wheel.
Installation
pip install mufusion
muraw, the DNG and raw image library, is built on mufusion.
Metadata
Release files for mufusion 0.1.20261114.1951
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 |
|---|---|---|---|---|
| mufusion-0.1.20261114.1951.tar.gz | 7.7 MB | With provenance | Details for mufusion-0.1.20261114.1951.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mufusion-0.1.20261114.1951-cp312-abi3-win_amd64.whl | CPython 3.12 | abi3 | Windows x86-64 | Details for mufusion-0.1.20261114.1951-cp312-abi3-win_amd64.whl |
Total release size: 8.5 MB
Release files / mufusion-0.1.20261114.1951.tar.gz
| Download URL | mufusion-0.1.20261114.1951.tar.gz |
|---|---|
| Size | 7.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3f3bf74123821d7d459f4f2d8ccabb27b8915e65b70adbb202e3425cef79f62
|
|
BLAKE2b-256 checksum How to use checksums |
efdada7e573fd5005021af2e2e79f7853dfbb282776ee9942c5507a28697e50c
|
| 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 15, 2026.
Transparency logRelease files / mufusion-0.1.20261114.1951-cp312-abi3-win_amd64.whl
| Download URL | mufusion-0.1.20261114.1951-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 798.1 kB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
94c3308cb5972965fa44267e3ff3ee60e5bf8334ddbc7c9cd5742f9d197a660f
|
|
BLAKE2b-256 checksum How to use checksums |
90f569911ebf6c06d55b6e9b89f65fdfd0c3a2795e28146af896ad4d0dddf12c
|
| 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 15, 2026.
Transparency logSecurity for mufusion 0.1.20261114.1951
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
Both files in this release have been uploaded with provenance metadata.
Attestation for mufusion-0.1.20261114.1951.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 15, 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.