Skip to main content

nd-image-codecs

Composable Zarr v3 codecs for ND scientific images — Python binding.

A family of Zarr v3 codecs that capture correlation along z, time, and channel axes explicitly — as ordinary, independently specified array-to-array and array-to-bytes codecs — then store the result with a fast entropy backend, High-Throughput JPEG 2000 (ISO/IEC 15444-15) coefficient planes, or ZFP blocks. Built for OME-Zarr / OME-NGFF.

No JPEG 2000 Part 2 (MCT) syntax anywhere — cross-axis decorrelation is an explicit Zarr codec, sidestepping Part 2 IP entirely.

The three codec families

codec_series assembles a series (pipeline) of Zarr v3 codecs from an array's axis metadata:

Family Series (pipeline) Built for
nd-delta transpose → numcodecs.delta → bitshuffle → zstd/lz4 Fast lossless storage from existing Zarr codecs only
nd-lift-ht transpose → nd_lift → htj2k Scalable microscopy & volume visualization
nd-zfp transpose → reshape → zfp GPU volume rendering, random access, fixed-rate memory

Install

pip install nd-image-codecs           # NumPy only
pip install "nd-image-codecs[zarr]"   # + zarr-python v3, for the codec pipeline

Wheels cover manylinux, musllinux, macOS, and Windows on x86-64 and arm64. The base install requires only NumPy, so codec_series and the htj2k, zfp, and nd_lift codecs are usable anywhere that wheel lands; the zarr extra adds zarr-python (and, through it, numcodecs) to run pipelines.

Usage

from nd_image_codecs import codec_series

codecs = codec_series(["t", "c", "z", "y", "x"], [8, 1, 32, 256, 256],
                      "uint16", "nd-lift-ht")

The three codec classes (NdLift, Htj2k, NdZfp) register with zarr-python v3 through the zarr.codecs entry-point group, so pipelines produced by codec_series resolve by name.

Status

Alpha. nd_lift, htj2k, and zfp encode and decode for real, and the codec_series builder is cross-checked byte-identical against the Rust and TypeScript implementations in CI. The API is not stable before 1.0.

Links

License

MIT — Copyright (c) Fideus Labs LLC.

Release files for nd-image-codecs 0.2.5

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

Source distribution (sdist)

Source distribution for nd-image-codecs 0.2.5
File Size Uploaded
nd_image_codecs-0.2.5.tar.gz 233.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for nd-image-codecs 0.2.5
File
nd_image_codecs-0.2.5-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details
nd_image_codecs-0.2.5-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
nd_image_codecs-0.2.5-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details
nd_image_codecs-0.2.5-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details
nd_image_codecs-0.2.5-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
nd_image_codecs-0.2.5-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
nd_image_codecs-0.2.5-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details
nd_image_codecs-0.2.5-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details

Total release size: 4.1 MB

Release files / nd_image_codecs-0.2.5.tar.gz

Download URL nd_image_codecs-0.2.5.tar.gz
Size 233.4 kB
Tags Source
SHA-256 checksum
How to use checksums
659177141fc0a252c39cc1b73064e093b9681601455f646f3ebf4729c9d62229
BLAKE2b-256 checksum
How to use checksums
51de923c824d8c8ac1cd378a0b356c330d4fd89c6bf1afd771becfce7b5a1273
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-win_arm64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-win_arm64.whl
Size 327.4 kB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
62fccbc517835133aa65e2da2d4d37a10d0e6fefde6eb370ea49151b84a90a95
BLAKE2b-256 checksum
How to use checksums
34ddf422f4f284b5a90854e07f786227ebbe87b5582cdc2cdea0db75c87454ee
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-win_amd64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-win_amd64.whl
Size 336.2 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3851bd799d5f92313d228f6a50963e8fc22d5d6b9eab1bf091c57af4476fbdd1
BLAKE2b-256 checksum
How to use checksums
9aaec2c12beb157e86462406936e600ff6a63143fd5c4779a63b8f6e804bca5b
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-musllinux_1_2_x86_64.whl
Size 693.6 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
3cdccfce20fba0430394e20582a8f6495740a1bdc2935ef0004ab64346c97ede
BLAKE2b-256 checksum
How to use checksums
93524b6caa0922f058fbb745d4a0f475860201b955f0451372b6ece0c73dfbb4
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-musllinux_1_2_aarch64.whl
Size 651.3 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
e11447d9049c8abe306a7894f7b389f4aec21e097b7dce7d7334d2a5e8197808
BLAKE2b-256 checksum
How to use checksums
c3d03c8b3f27008621731552f1e7dc34f717da0acc8a27d72c28fab7f7a94b00
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-manylinux_2_28_x86_64.whl
Size 480.0 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5d7ae82e09f0601c8e32df552caf3475b12b3aa6279b9ead988560639cd2ba25
BLAKE2b-256 checksum
How to use checksums
d6faf47b53be9312325e5c196ac8bdd72ee96e43d4b429a25b39a5c69ec8b8d8
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-manylinux_2_28_aarch64.whl
Size 473.0 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
4e911597b1cddbf10e17dd7944ec3cc57fced32e4a6efbc753102d610c6b9940
BLAKE2b-256 checksum
How to use checksums
712a49314cd2fb65c25dadc52e75581deff66f95c8c9cddf755b37cf187d873d
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-macosx_11_0_arm64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-macosx_11_0_arm64.whl
Size 435.2 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
520971de8ebf7a250cedfc71ccb6a7e30fd4f94be95eb8456486dd018004a774
BLAKE2b-256 checksum
How to use checksums
da1d3f356e784f5050d40d0765657b8f4b14c1faeeb4473c8d9594c1da1f1382
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 Aug 22, 2026.

Transparency log

Release files / nd_image_codecs-0.2.5-cp311-abi3-macosx_10_12_x86_64.whl

Download URL nd_image_codecs-0.2.5-cp311-abi3-macosx_10_12_x86_64.whl
Size 451.5 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
2a1e2487e6485667103d5fbde247efadd0af35a8349dda01fd91bf4ab5866ef0
BLAKE2b-256 checksum
How to use checksums
1685e154a787a0faa11e9a95930e3f512ffdd55d3f6534b4a731fe00fe7e2a65
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 Aug 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.5 This release

9 release files

0.2.4

9 release files

0.2.3

9 release files

0.1.0

2 release files

0.0.1

2 release files

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