Skip to main content

tomoz (Python)

Python bindings of Tomoz, the learned lossless codec for medical image volumes.

import numpy as np
import tomoz

volume = np.load("ct.npy")            # (slices, rows, columns), int16/uint16/uint8/int8
data = tomoz.encode(volume)
assert np.array_equal(tomoz.decode(data), volume)
print(tomoz.info(data)["bits_per_sample"])

DICOM archives restore every file byte for byte:

archive, report = tomoz.pack_dicom([("1.dcm", open("1.dcm", "rb").read())])
files = tomoz.unpack_dicom(archive)   # [(name, bytes)]

Metadata

Release files for tomoz 0.1.1

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

Source distribution (sdist)

Source distribution for tomoz 0.1.1
File Size Uploaded
tomoz-0.1.1.tar.gz 142.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tomoz 0.1.1
File
tomoz-0.1.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
tomoz-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
tomoz-0.1.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
tomoz-0.1.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 2.9 MB

Release files / tomoz-0.1.1.tar.gz

Download URL tomoz-0.1.1.tar.gz
Size 142.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a7cba5bdfd82f3f62875f161b99dff42f179f5a9dfc0dbdfa9ffb2504389ae22
BLAKE2b-256 checksum
How to use checksums
22f91ecc1b51d0c29f8c6e958635fb433ed247c12e229cc353878ca5cdc129ef
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 2, 2026.

Transparency log

Release files / tomoz-0.1.1-cp310-abi3-win_amd64.whl

Download URL tomoz-0.1.1-cp310-abi3-win_amd64.whl
Size 547.0 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8e85b14440ef549b02eb5187ae6babdf3619ec36fe8a8d140e14c6a3ed10572a
BLAKE2b-256 checksum
How to use checksums
d2426e98d7c7a4154aeac148cf5ba6ca607e54c6a743721595d787b812ab5a31
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 2, 2026.

Transparency log

Release files / tomoz-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tomoz-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 805.4 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b1fea7f7417b11a7205b87fda9523b421d1fd468cf251384d584a3d288decc88
BLAKE2b-256 checksum
How to use checksums
91a6e80546df62d3d7ae1929120ca2a916c92f21f7496a3da385e060a205fd52
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 2, 2026.

Transparency log

Release files / tomoz-0.1.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tomoz-0.1.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 792.7 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
53e384aae35402ea93dad88ea56db652e9bfeb84842f7c28cc9417f79a4b35e4
BLAKE2b-256 checksum
How to use checksums
d66aeeadd1872a150e3cfdcdf7c3543d795a23d0654be6032b7513666ee3ed43
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 2, 2026.

Transparency log

Release files / tomoz-0.1.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL tomoz-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
Size 649.9 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5f17e0430acd03c48dee467f2fce036e3a2b3a51db16c406d1bef25aee3ca2f1
BLAKE2b-256 checksum
How to use checksums
25e4a48c26176ec76a50bcb149c1539b51b918b94cf17f0a122f44d7a5b264ea
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 2, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

5 release files

This release

0.1.1 This release

5 release files

0.1.0

5 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