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

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.2
File Size Uploaded Provenance Actions
pylibCZIrw-4.1.2.tar.gz 5.0 MB Without provenance Details for pylibCZIrw-4.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pylibCZIrw 4.1.2
File Actions
pylibCZIrw-4.1.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for pylibCZIrw-4.1.2-cp311-cp311-win_amd64.whl
pylibCZIrw-4.1.2-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.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for pylibCZIrw-4.1.2-cp310-cp310-win_amd64.whl
pylibCZIrw-4.1.2-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.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for pylibCZIrw-4.1.2-cp39-cp39-win_amd64.whl
pylibCZIrw-4.1.2-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.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for pylibCZIrw-4.1.2-cp38-cp38-win_amd64.whl
pylibCZIrw-4.1.2-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.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pylibCZIrw-4.1.2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for pylibCZIrw-4.1.2-cp37-cp37m-win_amd64.whl
pylibCZIrw-4.1.2-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.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 32.0 MB

Release files / pylibCZIrw-4.1.2.tar.gz

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

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

Download URL pylibCZIrw-4.1.2-cp311-cp311-win_amd64.whl
Size 1.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
984b0e5008024c4a5e887ba252f49bff89fc8ebbbc14c34f921eda836bb37f73
BLAKE2b-256 checksum
How to use checksums
e3ffce09a4b75ad89dfb19d7550dcf56a9b94ea300e53225d4d5859fb951c75c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

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

Download URL pylibCZIrw-4.1.2-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
f1063ef038168cafff3762c9b8cde675acefaff80f1d4e9bf0a41967dca0cbdc
BLAKE2b-256 checksum
How to use checksums
e7d83fad6bd62b488dfb08bddf1a8acc0bdb3e22f42e17fb4dba3b8342b71402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

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

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

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

Download URL pylibCZIrw-4.1.2-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
a183cabe97a39e8285cd3520888d31f4d4f01ceb87d6872ee1e100d9d3d048af
BLAKE2b-256 checksum
How to use checksums
c0dc8545842033b04a89f549bbd104a644b8b4f5db36f8c41d5659b8e0580c96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

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

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

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

Download URL pylibCZIrw-4.1.2-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
bec70e81f8be8d1d16153a692c9c8b6f9cd1b8a8246a5243c41e646385b9592b
BLAKE2b-256 checksum
How to use checksums
5fbf1e79e6e60eda45476e33f955622cb2d428f7f1997e66a9772647587d89cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

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

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

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

Download URL pylibCZIrw-4.1.2-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
0086c3dc0a48b3262f49f8b3e972fd91c9166666b149cd253ff650c4df578d54
BLAKE2b-256 checksum
How to use checksums
41278c8aa851efeaf262f851a5eb98fbce880c04d49c86bc7e0b90b697b9f37c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

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

Download URL pylibCZIrw-4.1.2-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
b9f3143f48c1a28dce981aa20ba5d73b342f164887dde8361b251891802435ed
BLAKE2b-256 checksum
How to use checksums
80340a7e88eeef7155f1fbda79043094902b640500cb4efd6e330ef568d6aa76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

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

Download URL pylibCZIrw-4.1.2-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
843af3d9434a64122c041d03d44c95a1b8648a14d389c56f4c6752f191ada32b
BLAKE2b-256 checksum
How to use checksums
447f4d4aa8bf9fcb6fdc62b0acde3b5ca224bf4da88ae1246d4064123312ca3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Security for pylibCZIrw 4.1.2

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