Skip to main content

mufusion

License

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 raises NotImplementedError.
  • mu.Array is a handle, not a NumPy array. .realize() and np.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.20261116.1011

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mufusion 0.1.20261116.1011
File Size Uploaded Provenance Actions
mufusion-0.1.20261116.1011.tar.gz 7.5 MB With provenance Details for mufusion-0.1.20261116.1011.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mufusion 0.1.20261116.1011
File Actions
mufusion-0.1.20261116.1011-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for mufusion-0.1.20261116.1011-cp312-abi3-win_amd64.whl
mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_x86_64.whl CPython 3.12 abi3 Linux glibc 2.34+ x86-64 Details for mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_x86_64.whl
mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_aarch64.whl CPython 3.12 abi3 Linux glibc 2.34+ ARM64 Details for mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_aarch64.whl
mufusion-0.1.20261116.1011-cp312-abi3-macosx_14_0_arm64.whl CPython 3.12 abi3 macOS 14.0+ ARM64 Details for mufusion-0.1.20261116.1011-cp312-abi3-macosx_14_0_arm64.whl

Total release size: 14.3 MB

Release files / mufusion-0.1.20261116.1011.tar.gz

Download URL mufusion-0.1.20261116.1011.tar.gz
Size 7.5 MB
Tags Source
SHA-256 checksum
How to use checksums
b60733788f4077bdbed05bdbf2b53e78cde84345f6856f8efb1ab7da6429d34d
BLAKE2b-256 checksum
How to use checksums
7254ccb1620e39b951ad88af515e35a7f39ecc16804ee444dc4b4ee44d098f05
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 16, 2026.

Transparency log

Release files / mufusion-0.1.20261116.1011-cp312-abi3-win_amd64.whl

Download URL mufusion-0.1.20261116.1011-cp312-abi3-win_amd64.whl
Size 803.9 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
30e3c83d10c94a51b908fe0bfa1163c1f195680482ac5e4c70734b0ed558c850
BLAKE2b-256 checksum
How to use checksums
6213dfa421a36a2dde13a5caeb1e9e55f9b49eea4f14039398bfcb9160b662ff
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 16, 2026.

Transparency log

Release files / mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_x86_64.whl

Download URL mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_x86_64.whl
Size 1.4 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
2b78b89657e46aa766613736baa7fb2e6f8398180d1aecf374cf43adcd2bc48f
BLAKE2b-256 checksum
How to use checksums
a5818321daf0fa57f3772a013dce7c379794992c4186737f50f71f773710a68e
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 16, 2026.

Transparency log

Release files / mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_aarch64.whl

Download URL mufusion-0.1.20261116.1011-cp312-abi3-manylinux_2_34_aarch64.whl
Size 2.9 MB
Tags CPython 3.12 Linux glibc 2.34+ ARM64 abi3
SHA-256 checksum
How to use checksums
8e19875221056cb97827a2bf2bacf0b597775f4feb6658ad5100f901539b5f1d
BLAKE2b-256 checksum
How to use checksums
8c48c6df4edbebd3f97562f661e36f806892b0d9635413a6917b666b6eefd2db
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 16, 2026.

Transparency log

Release files / mufusion-0.1.20261116.1011-cp312-abi3-macosx_14_0_arm64.whl

Download URL mufusion-0.1.20261116.1011-cp312-abi3-macosx_14_0_arm64.whl
Size 1.6 MB
Tags CPython 3.12 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
19dd57932f6c82e903a79f24195fecf33bdb810a01deb48f762ab78b23c3a369
BLAKE2b-256 checksum
How to use checksums
eec31afc979eae15e57728b1b50d2fa5e01b2bba6e56d89f70372b22c4b0e6cd
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 16, 2026.

Transparency log

Security for mufusion 0.1.20261116.1011

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 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for mufusion-0.1.20261116.1011.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 16, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page