Skip to main content

leicaimage

CI Status Test coverage percentage

uv Ruff prek

PyPI Version Supported Python versions License


Source Code: https://github.com/MartinHjelmare/leicaimage


Handle Leica Matrix Screener experiment images.

The leicaimage library is a modified version of the leicaexperiment library, and was built as a drop in replacement for that library but without any xml or image processing. This also makes leicaimage work without heavy dependencies.

Overview

This is a python module for interfacing with Leica LAS AF/X Matrix Screener experiments.

The module can be used to:

  • Programmatically select slides/wells/fields/images given by attributes like:
    • slide (S)
    • well position (U, V)
    • field position (X, Y)
    • z-stack position (Z)
    • channel (C)

Installation

Install this via pip (or your favourite package manager):

pip install leicaimage

Usage

Access all images

from leicaimage import Experiment

experiment = Experiment("path/to/experiment--")

for image in experiment.images:
    ...

Access specific wells/fields

from leicaimage import Experiment

experiment = Experiment("path/to/experiment--")

# on images in well --U00--V00
for well in experiment.well_images(0, 0):
    ...

Extract attributes from file names

from leicaimage import attribute

# get all channels
channels = [attribute(image, "C") for image in experiment.images]
min_ch, max_ch = min(channels), max(channels)

Credits

Copier

This package was created with Copier and the browniebroke/pypackage-template project template.

Metadata

Release files for leicaimage 0.6.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 leicaimage 0.6.0
File Size Uploaded Provenance Actions
leicaimage-0.6.0.tar.gz 9.2 kB With provenance Details for leicaimage-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for leicaimage 0.6.0
File Interpreter ABI Platform Actions
leicaimage-0.6.0-py3-none-any.whl Python 3 none any Details for leicaimage-0.6.0-py3-none-any.whl

Total release size: 15.7 kB

Release files / leicaimage-0.6.0.tar.gz

Download URL leicaimage-0.6.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
45851bb65c94119c22af70ca7e85fb5fae5576430d034c8f1704a2ae91fb245e
BLAKE2b-256 checksum
How to use checksums
d72f4ead412360ec293944e3dcc1961f8c04a530a296adf479a33dbe243957c2
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 Aug 30, 2026.

Transparency log

Release files / leicaimage-0.6.0-py3-none-any.whl

Download URL leicaimage-0.6.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7593ae3f0f1bb0392d961b71df67ad5cff4b91759b646dd25c1f6ccaa253d02
BLAKE2b-256 checksum
How to use checksums
cdcea842b47131db7f07c4b6f168a6fa09c442d2619ce61482b9ecb5704b6c5e
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 Aug 30, 2026.

Transparency log

Security for leicaimage 0.6.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for leicaimage-0.6.0.tar.gz

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 Aug 30, 2026.

Transparency log

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