Skip to main content

stitchmeta

License Build Documentation codecov pre-commit.ci PyPI Python

Extract metadata from microscopy image tiles and write FEABAS-compatible coordinate files for stitching pipelines.

Installing stitchmeta

The preferred way of installing stitchmeta is using pip.

Installing the release version using pip

stitchmeta can be installed using pip to obtain the current release:

python -m pip install stitchmeta

Installation from source

Clone this repository and install from the local source tree:

git clone https://github.com/thomasisensee/stitchmeta.git
cd stitchmeta
python -m pip install .

Development installation

For development, it is recommended to use an editable install:

python -m pip install --editable .[tests]

Having done so, the test suite can be run using pytest:

python -m pytest

Quick start

Expected input layout:

dataset_root/
  001/
    tile_a.tif
    tile_b.tif
  002/
    ...

Run extraction:

stitchmeta extract \
  -i dataset_root \
  -o feabas_coords

The command writes one FEABAS text file per section (001.txt, 002.txt, ...).

Python API

from stitchmeta import extract

summary = extract(
    input_root="dataset_root",
    output_dir="feabas_coords",
    reader_name="fibics_tiff",
    invert_y=True,
    error_policy="partial",
)

Extending to other datasets

Register a new reader class implementing the TileReader interface and use it through reader_name in the API or CLI.

Acknowledgments

This repository was set up using the SSC Cookiecutter for Python Packages.

Metadata

Release files for stitchmeta 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 stitchmeta 0.2.0
File Size Uploaded Provenance Actions
stitchmeta-0.2.0.tar.gz 15.2 kB Without provenance Details for stitchmeta-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 26.7 kB

Release files / stitchmeta-0.2.0.tar.gz

Download URL stitchmeta-0.2.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c3fe3d3585359f0b720cb5e1493a336729e0f07bda271ae4969fd3bd876c8261
BLAKE2b-256 checksum
How to use checksums
05aa5be5a42660650fcbafd5b1ea778dc7526a404ea9b6fc52ebd33dda1aad3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / stitchmeta-0.2.0-py3-none-any.whl

Download URL stitchmeta-0.2.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a9bd2b857e8d919ec22ca13738fde01408d2adeffbb081c46c8fa3a6574def1
BLAKE2b-256 checksum
How to use checksums
192aa16fc1ea8085f0a70d9b93ad03827f3fb13bea39cd13894c3b5f90da338e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for stitchmeta 0.2.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.

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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