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.1.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.1.0
File Size Uploaded
openreadout-0.1.0.tar.gz 3.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for openreadout 0.1.0
File
openreadout-0.1.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
openreadout-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
openreadout-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
openreadout-0.1.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.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
openreadout-0.1.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
openreadout-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 123.7 MB

Release files / openreadout-0.1.0.tar.gz

Download URL openreadout-0.1.0.tar.gz
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
fca5eaec0e3b96b79c2298cf426a2789a59f437a7c180948528ec0097f70b92c
BLAKE2b-256 checksum
How to use checksums
90c9e00a8123f32317cbed8026ba69e509c69b8163c93e04995a19f6ae2925d7
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 3, 2026.

Transparency log

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

Download URL openreadout-0.1.0-cp310-abi3-win_amd64.whl
Size 18.8 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8fc291212192cc64fbb91fa1a2494deb2c745e7ddd19b7fd1bedc15632d785bf
BLAKE2b-256 checksum
How to use checksums
2cb630153643c78d7d0434a52ca1c03ec8fdcf9da439ffff08f3d2223e0e0a22
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 3, 2026.

Transparency log

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

Download URL openreadout-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 18.1 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
e9c704bbf953b832c202a4e7c8cf4952a1626499509a646f53d61874cdce8833
BLAKE2b-256 checksum
How to use checksums
7f936eeac9c48c24e47f12ca5be99b83081a74e5cbdfc1f39c3dfc47bf9f8514
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 3, 2026.

Transparency log

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

Download URL openreadout-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 16.4 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
2ce0c2a441d59d2365d9ee1f8056daf3bc54412c26a36323beaf785c266dccdb
BLAKE2b-256 checksum
How to use checksums
290cd486140e0ca12f2ceb81c22093fd0d874553c00a74befa3ef2df209a0243
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 3, 2026.

Transparency log

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

Download URL openreadout-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 17.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
26126f6b4620625c823dd530542e234f9cc5f07cd0675ec3193ab1c70c2b6bc3
BLAKE2b-256 checksum
How to use checksums
07a124deb6d2db4f99d80075fdb2999041a514e8295506486c117476a73442a5
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 3, 2026.

Transparency log

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

Download URL openreadout-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 16.3 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
6ff1c39da3b114ff15ad0e06625d4b66e8805acd7f49d69d6f21b58fc4a72769
BLAKE2b-256 checksum
How to use checksums
28c10b48f8d5608496ad20766f8b687706f6bb442333dc37fe0feedd2fcc292c
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 3, 2026.

Transparency log

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

Download URL openreadout-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Size 15.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fd79a0cc57f822126bf211818688b251268f6a65e0ada9e152e47dc78bdc1122
BLAKE2b-256 checksum
How to use checksums
0182afdc5115bddd979fce403d66039e7d933a4600a82bb4caa93f2a59c7ac77
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 3, 2026.

Transparency log

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

Download URL openreadout-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 17.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e36edb0347deb102cdaa4fceb7d68dbb44cd259626832315b8a643dc6b5d8ab1
BLAKE2b-256 checksum
How to use checksums
e86e0e42dd6f06958ec6bfd8d321097626f3213392497f3663f01abedd0ee67b
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 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

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