Skip to main content

openreadout (Python)

Read raw lab-instrument files from Python without vendor software, Java or a C toolchain. The package wraps OpenReadout's Rust readers. It returns the same JSON as the openreadout command-line tool, and NumPy, dask or xarray arrays for pixels. The formats it reads are listed at https://openreadout.github.io/openreadout/formats.html.

pip install openreadout            # needs only NumPy
pip install 'openreadout[xarray]'  # adds dask and xarray for lazy, labelled arrays

One abi3 wheel per platform covers CPython 3.10 and newer on Linux (manylinux and musllinux, x86_64 and aarch64), macOS (x86_64 and arm64) and Windows (x64).

import openreadout

meta = openreadout.info("run42.czi")        # header-only summary, a dict
meta["images"][0]["size_c"], meta["images"][0]["physical_size"]

with openreadout.File("run42.czi") as f:
    plane = f.read_plane(image=0, c=1, z=4)   # np.ndarray (Y, X), or (Y, X, 3) for RGB
    stack = f.read_image(0)                   # np.ndarray (T, C, Z, Y, X[, S])
    lazy = f.to_dask(0)                       # dask array, one chunk per plane, read on demand
    xarr = f.to_xarray(0)                     # labelled: channel names, µm and s coordinates
    f.check()["ok"]                           # integrity report
    f.export("run42.ome.tiff")                # verified OME-TIFF; the source is never modified

Tables, traces and spectra (flow cytometry, electrophysiology, chromatography, mass spectrometry) are read with File.read_table, File.read_trace and File.read_spectrum, and convert to Arrow or pandas with File.to_arrow and File.to_pandas.

Arrays use the dimension order TCZYX, with S added for interleaved RGB. File objects are thread-safe and picklable, so lazy arrays work with dask's threaded, multiprocessing and distributed schedulers.

Every error is an openreadout.OpenReadoutError and also the closest built-in exception (for example FileNotFoundError or ValueError). It carries the command-line tool's code, exit_code and a hint.

bioio-openreadout plugs these readers into bioio.BioImage, and napari-openreadout into napari.

Guide and full API: https://openreadout.github.io/openreadout/guides/python.html. Source: https://github.com/openreadout/openreadout. Licensed MIT OR Apache-2.0. OpenReadout is not affiliated with any instrument vendor.

Metadata

Release files for openreadout 0.2.0

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

Source distribution (sdist)

Source distribution for openreadout 0.2.0
File Size Uploaded
openreadout-0.2.0.tar.gz 3.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for openreadout 0.2.0
File
openreadout-0.2.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
openreadout-0.2.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
openreadout-0.2.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
openreadout-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
openreadout-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
openreadout-0.2.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
openreadout-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 126.3 MB

Release files / openreadout-0.2.0.tar.gz

Download URL openreadout-0.2.0.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
dcdf532fa81f68b976c211c7e90476c6b887bb0e0d4b7b5f8be2e7109862bb6a
BLAKE2b-256 checksum
How to use checksums
8fe068a67609b0f65bb29530578d0b2b65711d4013abe8a98ff6b0fa6eb261dc
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 9, 2026.

Transparency log

Release files / openreadout-0.2.0-cp310-abi3-win_amd64.whl

Download URL openreadout-0.2.0-cp310-abi3-win_amd64.whl
Size 19.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
95b8d96837f317da53dc0b0a38cbcbd0da4ae87cc256c2b2e9af0b205550f4ce
BLAKE2b-256 checksum
How to use checksums
95c8f8cfb37d03bd7c54adf9518a69ee5e396527e1642a72d9bf1d24b682cd0c
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 9, 2026.

Transparency log

Release files / openreadout-0.2.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL openreadout-0.2.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 18.4 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
382b3b671287945bfee708ddd23cd1571620c9e36f4ef2418094a32e71225ac5
BLAKE2b-256 checksum
How to use checksums
ffddfa014e05629ecd1f2da755dbdbc75b8f5a2ffa331febe1f870d5998ff23f
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 9, 2026.

Transparency log

Release files / openreadout-0.2.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL openreadout-0.2.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 16.8 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
b6cd23fff2a583586b330d0d3b8bbd1be29f1a0973f44cb909dba0679345d467
BLAKE2b-256 checksum
How to use checksums
5f12b408903e54d2e81ca10f3247fda66e0e3f1fdab92051231c5015f46919cd
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 9, 2026.

Transparency log

Release files / openreadout-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL openreadout-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 18.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
40229f1f0044eb040f087a037d7f207c08d3ada7f4d5b4808637f8160e6f7ced
BLAKE2b-256 checksum
How to use checksums
94d9d98234605700aefcd545141f6db358badeb52cad98895c79582c3a35a372
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 9, 2026.

Transparency log

Release files / openreadout-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL openreadout-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 16.6 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
13258f753dfe84009c27a25b5af23f5048151785a8d68707fdcb22d4ff13767f
BLAKE2b-256 checksum
How to use checksums
17a9ed76c733466ee12d5617c1fe866ce68e4198e4a9453a7dffbf842a76be6c
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 9, 2026.

Transparency log

Release files / openreadout-0.2.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL openreadout-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Size 16.3 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
98a81aadbc43ccfa0f30bbbde587d02274bba34ca3482500f1fcb07f09a70446
BLAKE2b-256 checksum
How to use checksums
2e3d7844ac6b592029cd12c4a4781e3d7fd95f3195cd59bb23325f50b18e6900
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 9, 2026.

Transparency log

Release files / openreadout-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL openreadout-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 17.6 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
5532f540d140f2b729d3b545228e5d0f78f2917457701a43827b8a9730e1a8db
BLAKE2b-256 checksum
How to use checksums
c751252ac74fcf229f6b98e5542624eb522daff94bb14c83fd5fee614464bf4d
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 9, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

8 release files

This release

0.2.0 This release

8 release files

0.1.0

8 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