Skip to main content

stitchmeta

License: MIT Build Documentation Status codecov 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.

Release files for stitchmeta 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 stitchmeta 0.1.0
File Size Uploaded
stitchmeta-0.1.0.tar.gz 15.1 kB Details

Built distribution (wheel)

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

Total release size: 26.5 kB

Release files / stitchmeta-0.1.0.tar.gz

Download URL stitchmeta-0.1.0.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eadd61ad1c2f188f14c656eca7bfdc38a2e27e64899ac2c4cf3123ab0337fb54
BLAKE2b-256 checksum
How to use checksums
c161a6ed41db9f36e49e3f5982780bd7861cf6e702996049fb3c54a784f9e9be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 20, 2026.

Transparency log

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

Download URL stitchmeta-0.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
492cb49e9e55af29581da106145a546557a5efe7a178d47af84c7cc1d4f1d4d1
BLAKE2b-256 checksum
How to use checksums
2c0e3933c1a451e9dfc41281489540b027873110466c2de71a34f81c6539fbe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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