Skip to main content

Utilities for AI OnDemand

Project description

AI OnDemand (AIoD) Utilities

A central package to unify helpful utilities for AI OnDemand that are useful/used across the Nextflow pipeline, Segment-Flow, and the Napari plugin. This primarily covers a centralisation of I/O and the implementation of RLE format.

Installation

Requires Python 3.11 or 3.12.

Using pip:

pip install aiod_utils

Using uv:

uv add aiod_utils

For Bio-Formats support (e.g. .lif, .czi), install the optional extra:

pip install "aiod_utils[bioformats]"

What's included

  • aiod_utils.io — Load images via BioIO, with automatic reader selection for common formats (TIFF, OME-TIFF, Zarr, ND2, and more).
  • aiod_utils.rle — Encode and decode segmentation masks (binary and instance) as COCO-compatible Run-Length Encoding, with save/load support.
  • aiod_utils.stacks — Utilities for splitting large volumetric images into memory-bounded substacks for use in our Nextflow pipeline (Segment-Flow).
  • aiod_utils.preprocess — Modular image preprocessing steps (e.g. CLAHE, downsampling) with a base class for defining custom steps. Easily extendable for use in Segment-Flow or our Napari plugin.

Documentation

For the wider AIoD documentation, please see our docs.

License

MIT — see LICENSE.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiod_utils-0.1.tar.gz (107.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiod_utils-0.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file aiod_utils-0.1.tar.gz.

File metadata

  • Download URL: aiod_utils-0.1.tar.gz
  • Upload date:
  • Size: 107.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aiod_utils-0.1.tar.gz
Algorithm Hash digest
SHA256 dc9cea809a2726b59c24c650830bf8044dec960d6230b2a1cc2fcafb0a24ea9d
MD5 f12a73081d96728420ac9fa6d2a179eb
BLAKE2b-256 4b0a7829b3eca7014fc6d51212d78a57e8593e53269cfad223e97b8eaf6b8844

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiod_utils-0.1.tar.gz:

Publisher: publish.yml on FrancisCrickInstitute/aiod_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aiod_utils-0.1-py3-none-any.whl.

File metadata

  • Download URL: aiod_utils-0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aiod_utils-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8776c965b7aff3b9aa7786285ed96082e8c6fead346142a9929c1c4c3c6f54ff
MD5 5aaebd379ec526b78b734057db5acdb8
BLAKE2b-256 e0acbffdb5a49e169f81871dfaefdb1b5c2ce30bbdd6e925db7d8baa7f53e8e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiod_utils-0.1-py3-none-any.whl:

Publisher: publish.yml on FrancisCrickInstitute/aiod_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page