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

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.4
File Size Uploaded
nd_image_codecs-0.2.4.tar.gz 233.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for nd-image-codecs 0.2.4
File
nd_image_codecs-0.2.4-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details
nd_image_codecs-0.2.4-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
nd_image_codecs-0.2.4-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details
nd_image_codecs-0.2.4-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details
nd_image_codecs-0.2.4-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
nd_image_codecs-0.2.4-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
nd_image_codecs-0.2.4-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details
nd_image_codecs-0.2.4-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.4.tar.gz

Download URL nd_image_codecs-0.2.4.tar.gz
Size 233.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2807056a5944085b57f52b0cdbaf232523d8225e6fe486fb781d98c280e7bd05
BLAKE2b-256 checksum
How to use checksums
57c1b16981ef3eeac3e27f749c3a28bbd0e8716969411725fa412fafd3f0948e
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-cp311-abi3-win_arm64.whl
Size 327.4 kB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
030f4622b4c7fd42fedccc2727332f5144940b0c716527ce39c1b6e16dfb3d98
BLAKE2b-256 checksum
How to use checksums
17456728a17a1a4bb25001223258f66f907a2de444e979edfd1aab0cfaa8cf93
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-cp311-abi3-win_amd64.whl
Size 336.2 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
efa0034fe2f007cea3a999702255d4266cf8c0dcb41e263528991b5dff2511cc
BLAKE2b-256 checksum
How to use checksums
a6cdb7f9304607133332a49cd4b7bfcff9038e96331c6b0f6bbaa49083c38742
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-cp311-abi3-musllinux_1_2_x86_64.whl
Size 693.5 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
11a49fc85fdd00a2717e971b06682be594adaff20faaa3bf98ccc773d55b7a25
BLAKE2b-256 checksum
How to use checksums
e13af04e5c0d76232397c4c615535a4a603ee685054a666e2f4d2b25d97a4997
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-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
f41714638d2604e4cdf000d6301639eb76fba4bf435d83dce9a922ce80f59086
BLAKE2b-256 checksum
How to use checksums
32133f16860e54370cf11460cc1c20a1bd5c4c219cc382d4836d445b5f274764
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-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
403ed1ca790b49f7cba6969bc933b155c4acbe0b3f03270c68d4d788e2335f40
BLAKE2b-256 checksum
How to use checksums
8d4b3202d50e867c4db8eee9b2e5c1e978e8853570e3cb976167f022554a19a8
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-cp311-abi3-manylinux_2_28_aarch64.whl
Size 472.9 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
eaa7607d6d161b5174c7771fcd1ac1428db50c4e815c22a7283e236a448832ba
BLAKE2b-256 checksum
How to use checksums
0ddb61c794539772c941df3611a4e76fc4071be4be24f2a01443fda554c81a09
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-cp311-abi3-macosx_11_0_arm64.whl
Size 435.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5735e6ac4cf6aff83822ebdf81027070a65079b56c3ea1b9cccd827a4db1156c
BLAKE2b-256 checksum
How to use checksums
f0a2f8bbf04a465c442f102cd0c74e722fddd3cd129cbf902abf115bd3179242
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 20, 2026.

Transparency log

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

Download URL nd_image_codecs-0.2.4-cp311-abi3-macosx_10_12_x86_64.whl
Size 451.6 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
aa274af2a6c0ead25ba8d47cc1dce1d5ee1ef7d015212aee5c810b0ff5d04769
BLAKE2b-256 checksum
How to use checksums
ad880bfc1d82d663994408f99675b066dddba2272b5c500d731638afc87ad9f9
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 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.5

9 release files

This release

0.2.4 This release

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