Skip to main content

pylibCZIrw - Python wrapper for libCZI

This project provides a simple and easy-to-use Python wrapper for libCZI - a cross-platform C++ library intended for providing read and write access to CZI image documents.

Important Remarks

  • At the moment, pylibCZIrw completely abstracts away the subblock concept, both in the reading and in the writing APIs.
  • The core concept of pylibCZIrw is focussing on reading and writing 2D image planes by specifying the dimension indices and its location in order to only read or write what is really needed.
  • It allows reading data via http/https-protocol enabling cloud storage scenarios.

Example Usage

from pylibCZIrw import czi as pyczi

filepath = "myimagefile.czi"

# open the CZI document to read the
with pyczi.open_czi(filepath) as czidoc:
    # get the image dimensions as a dictionary, where the key identifies the dimension
    total_bounding_box = czidoc.total_bounding_box

    # get the total bounding box for all scenes
    total_bounding_rectangle = czidoc.total_bounding_rectangle

    # get the bounding boxes for each individual scene
    scenes_bounding_rectangle = czidoc.scenes_bounding_rectangle

    # read a 2D image plane and optionally specify planes, zoom levels and ROIs
    image2d = czidoc.read(plane={"T": 1, "Z": 2, "C": 0}, zoom=1.0, roi=(0, 0, 50, 100))

The detailed usage can be inferred from the sample notebooks.

For more detailed information (on the latest version) refer to https://zeiss.github.io/pylibczirw/.

Installation

In case there is no wheel available for your system configuration, you can:

Disclaimer

The library and the notebook are free to use for everybody. Carl Zeiss Microscopy GmbH undertakes no warranty concerning the use of those tools. Use them at your own risk.

By using any of those examples you agree to this disclaimer.

Version: 2023.11.20

Copyright (c) 2023 Carl Zeiss AG, Germany. All Rights Reserved.

CHANGELOG

v4.1.3 (2024-08-26)

Fix

  • fix: Channel ID and Name in display settings metadata (#37)

This PR inlcudes the latest version ov libczirw to fix #13 Fixes #13 (04316fe)

v4.1.2 (2024-08-06)

Chore

  • chore: remove temporary debugging logic to push to PyPI (#30)

[x] I followed the How to structure your PR. [ ] Based on Commit Parsing: In case a new major release will be created (because the body or footer begins with 'BREAKING CHANGE:'), I created a new Jupyter notebook with a matching version. [ ] Based on Commit Parsing: In case a new minor/patch release will be created (because PR title begins with 'feat'/('fix' or 'perf')), I optionally created a new Jupyter notebook with a matching version. [ ] In case of API changes, I updated API.md.

Remove debugging code for temporaily pushing to testpypi until infrastructure properly set up. (3b2ea06)

Fix

  • fix: consider only dimensions with size >1 for plane-coordinate (#28)

[x] I followed the How to structure your PR. [ ] Based on Commit Parsing: In case a new major release will be created (because the body or footer begins with 'BREAKING CHANGE:'), I created a new Jupyter notebook with a matching version. [ ] Based on Commit Parsing: In case a new minor/patch release will be created (because PR title begins with 'feat'/('fix' or 'perf')), I optionally created a new Jupyter notebook with a matching version. [ ] In case of API changes, I updated API.md.

Re-write of #16 due to changes in infrastructure.

Fixes #10


Co-authored-by: Soyer, Sebastian <sebastian.soyer@zeiss.com> Co-authored-by: soyers <soyer.sebastian@gmail.com> (264fcb4)

v4.1.1 (2024-07-26)

Chore

  • chore: Add codeowners (#27)

Add CODEOWNERS file (dc1717b)

Deps

  • deps: bump codecov/codecov-action from 3 to 4 (#2)

Bumps codecov/codecov-action from 3 to 4.

Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Felix Scheffler <felix.scheffler@zeiss.com> (dab7b18)

Refactor

  • refactor: Megalinter and infrastructure (#19)

[x] I followed the How to structure your PR. [ ] Based on Commit Parsing: In case a new major release will be created (because the body or footer begins with 'BREAKING CHANGE:'), I created a new Jupyter notebook with a matching version. [ ] Based on Commit Parsing: In case a new minor/patch release will be created (because PR title begins with 'feat'/('fix' or 'perf')), I optionally created a new Jupyter notebook with a matching version. [ ] In case of API changes, I updated API.md.

Infrastructure related changes, linting (2e60a2b)

Unknown

Metadata

Release files for pylibCZIrw 4.1.3

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

Source distribution (sdist)

Source distribution for pylibCZIrw 4.1.3
File Size Uploaded Provenance Actions
pylibCZIrw-4.1.3.tar.gz 5.0 MB Without provenance Details for pylibCZIrw-4.1.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pylibCZIrw 4.1.3
File Actions
pylibCZIrw-4.1.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for pylibCZIrw-4.1.3-cp311-cp311-win_amd64.whl
pylibCZIrw-4.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for pylibCZIrw-4.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for pylibCZIrw-4.1.3-cp310-cp310-win_amd64.whl
pylibCZIrw-4.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for pylibCZIrw-4.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.3-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for pylibCZIrw-4.1.3-cp39-cp39-win_amd64.whl
pylibCZIrw-4.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for pylibCZIrw-4.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.3-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for pylibCZIrw-4.1.3-cp38-cp38-win_amd64.whl
pylibCZIrw-4.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details for pylibCZIrw-4.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.3-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for pylibCZIrw-4.1.3-cp37-cp37m-win_amd64.whl
pylibCZIrw-4.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details for pylibCZIrw-4.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 32.0 MB

Release files / pylibCZIrw-4.1.3.tar.gz

Download URL pylibCZIrw-4.1.3.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
52f7c9a4ff3529b909b1e27e12d9117564e5c935a5cc814d0cb75c835aee80cd
BLAKE2b-256 checksum
How to use checksums
f9d92c940dc5f9839a16385ec81eb9bea5a9f88af220dfba6fb5728989480f93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp311-cp311-win_amd64.whl

Download URL pylibCZIrw-4.1.3-cp311-cp311-win_amd64.whl
Size 1.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
9a6874ea4923e4a93e4b96254e1b7cbd449796768cbe2e7d878d0f833ab0f0be
BLAKE2b-256 checksum
How to use checksums
8d7c5db19f4de2cfcd60c279bbd198d2f72061b91bf0747f8a0613b01e1f6fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pylibCZIrw-4.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
07ac5cd778bc94757e2a915b9df16f1bcfe14f4c5c8d35cbd14261b1e90d8727
BLAKE2b-256 checksum
How to use checksums
b2c5eb83ea7643a4884aacad0b8e93b571ed01fadac230176acd484dc40b3f15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp310-cp310-win_amd64.whl

Download URL pylibCZIrw-4.1.3-cp310-cp310-win_amd64.whl
Size 1.2 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
90096d04c1aa8b83d2c58e60ffcbe5d8adc6bfc4fc723c5bac6f806c9273c938
BLAKE2b-256 checksum
How to use checksums
f30f2af634df1cafe1a62dbd111e29c98c6f548f026bd857d910109fe7a4856a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pylibCZIrw-4.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8e95f7425e4cec0bcdf6eb276bb5a2825eb2e203f531739469b1ede10c4e9733
BLAKE2b-256 checksum
How to use checksums
f2ba2328d074c2005af5b9f565e25a13f258b5ae91cc17ffe8068311db47e78c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp39-cp39-win_amd64.whl

Download URL pylibCZIrw-4.1.3-cp39-cp39-win_amd64.whl
Size 1.2 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
fd517d978bf216aa9a1ae97f91b9b74e612c5ad3789e6dca0dc978566dc4df4a
BLAKE2b-256 checksum
How to use checksums
fe522345822795d461ac6a46f7266497448b9d0b2bec418505e8d45c73bc03e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pylibCZIrw-4.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
efeef4192d8a32a0b4254b36836f07d60c826dbffdd320100e3cc9255dcc9381
BLAKE2b-256 checksum
How to use checksums
55273b09be8a0589912a6200c558f1d252c91d30b1ca272c343487d918f0db72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp38-cp38-win_amd64.whl

Download URL pylibCZIrw-4.1.3-cp38-cp38-win_amd64.whl
Size 1.2 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
d1d53b07f7695cb734c34f8d65fc382255e13b11a30f19beb9850ab7ed2f79e4
BLAKE2b-256 checksum
How to use checksums
27b49d3495425b06c641b050f347370b95239601c4d148864aecfedaa7f272c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pylibCZIrw-4.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
cbfd639be65aa951f59648226577d77b61f4da35d97b32a3df7c440154ede772
BLAKE2b-256 checksum
How to use checksums
afd7972c14b8925195d0fa53133321318a78c10edd5c22893f4c1d341ed95612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp37-cp37m-win_amd64.whl

Download URL pylibCZIrw-4.1.3-cp37-cp37m-win_amd64.whl
Size 1.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5a81dc8be884e9f075a68adcfdc217824285bda4c96db714cec0131ab2a228ad
BLAKE2b-256 checksum
How to use checksums
04d35e2e276d0ccb73dddc2f02ec7c27520548d9b0f5e56939a3667c0d244173
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pylibCZIrw-4.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pylibCZIrw-4.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
10e78218de821437f8de93f04a053d07fa6a4b36bd726d0e9c4066e2ddee52e5
BLAKE2b-256 checksum
How to use checksums
ed8529ee18b57cc83949aeb916366c4603fc82e32a01f3e6d79be2bc6b41f77d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Security for pylibCZIrw 4.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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