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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc9cea809a2726b59c24c650830bf8044dec960d6230b2a1cc2fcafb0a24ea9d
|
|
| MD5 |
f12a73081d96728420ac9fa6d2a179eb
|
|
| BLAKE2b-256 |
4b0a7829b3eca7014fc6d51212d78a57e8593e53269cfad223e97b8eaf6b8844
|
Provenance
The following attestation bundles were made for aiod_utils-0.1.tar.gz:
Publisher:
publish.yml on FrancisCrickInstitute/aiod_utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiod_utils-0.1.tar.gz -
Subject digest:
dc9cea809a2726b59c24c650830bf8044dec960d6230b2a1cc2fcafb0a24ea9d - Sigstore transparency entry: 1967886358
- Sigstore integration time:
-
Permalink:
FrancisCrickInstitute/aiod_utils@8351b728919dbac42aeb4db3cbf5845ee78d94d8 -
Branch / Tag:
refs/tags/v0.1 - Owner: https://github.com/FrancisCrickInstitute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8351b728919dbac42aeb4db3cbf5845ee78d94d8 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8776c965b7aff3b9aa7786285ed96082e8c6fead346142a9929c1c4c3c6f54ff
|
|
| MD5 |
5aaebd379ec526b78b734057db5acdb8
|
|
| BLAKE2b-256 |
e0acbffdb5a49e169f81871dfaefdb1b5c2ce30bbdd6e925db7d8baa7f53e8e7
|
Provenance
The following attestation bundles were made for aiod_utils-0.1-py3-none-any.whl:
Publisher:
publish.yml on FrancisCrickInstitute/aiod_utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiod_utils-0.1-py3-none-any.whl -
Subject digest:
8776c965b7aff3b9aa7786285ed96082e8c6fead346142a9929c1c4c3c6f54ff - Sigstore transparency entry: 1967886502
- Sigstore integration time:
-
Permalink:
FrancisCrickInstitute/aiod_utils@8351b728919dbac42aeb4db3cbf5845ee78d94d8 -
Branch / Tag:
refs/tags/v0.1 - Owner: https://github.com/FrancisCrickInstitute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8351b728919dbac42aeb4db3cbf5845ee78d94d8 -
Trigger Event:
push
-
Statement type: