Python specific core utilities for bioimage.io resources (in particular DL models).
Project description
bioimageio.core
bioimageio.core is a python package that implements prediction with bioimage.io models
including standardized pre- and postprocessing operations.
Such models are represented as bioimageio.spec resource descriptions.
In addition bioimageio.core provides functionality to convert model weight formats and compute selected dataset statistics used for preprocessing.
Documentation
Here you find the bioimageio.core documentation.
Examples
Notebooks that save and load resource descriptions and validate their format (using bioimageio.spec, a dependency of bioimageio.core)
Use the described resources in Python with bioimageio.core
Presentations
Set up Development Environment
To set up a development environment run the following commands:
conda create -n core python=$(grep -E '^requires-python' pyproject.toml | grep -oE '[0-9]+\.[0-9]+')
conda activate core
pip install -e .[dev,partners]
Joint development of bioimageio.spec and bioimageio.core
Assuming spec-bioimage-io is cloned to the parent folder a joint development environment can be created with the following commands:
conda create -n core python=$(grep -E '^requires-python' pyproject.toml | grep -oE '[0-9]+\.[0-9]+')
conda activate core
pip install -e .[dev,partners] -e ../spec-bioimage-io[dev]
Logging level
bioimageio.spec and bioimageio.core use loguru for logging, hence the logging level
may be controlled with the LOGURU_LEVEL environment variable.
The bioimageio CLI has logging enabled by default.
To activate logging when using bioimageio.spec/bioimageio.core as a library, add
from loguru import logger
logger.enable("bioimageio")
Changelog
See changelog.md
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 bioimageio_core-0.10.0.tar.gz.
File metadata
- Download URL: bioimageio_core-0.10.0.tar.gz
- Upload date:
- Size: 94.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28b743440e5918add1ce315e7f376fe4d18e72c47e825a4d9aa9070824693448
|
|
| MD5 |
23cae5355f0bc0d22c889535d90296cf
|
|
| BLAKE2b-256 |
057a69bb1657793de341c20de4b04569f047a961fade9cff4cb08a543e4edc72
|
Provenance
The following attestation bundles were made for bioimageio_core-0.10.0.tar.gz:
Publisher:
build.yaml on bioimage-io/core-bioimage-io-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bioimageio_core-0.10.0.tar.gz -
Subject digest:
28b743440e5918add1ce315e7f376fe4d18e72c47e825a4d9aa9070824693448 - Sigstore transparency entry: 1189509057
- Sigstore integration time:
-
Permalink:
bioimage-io/core-bioimage-io-python@245d34ba732b4191b6f471cf0d610a83d144566c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bioimage-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@245d34ba732b4191b6f471cf0d610a83d144566c -
Trigger Event:
push
-
Statement type:
File details
Details for the file bioimageio_core-0.10.0-py3-none-any.whl.
File metadata
- Download URL: bioimageio_core-0.10.0-py3-none-any.whl
- Upload date:
- Size: 97.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
397fd3d542319fc10081cecbf17bc685e1f16cb4538ed4080ef69545d7a469ed
|
|
| MD5 |
3043d6027f71eecefdb60d393406fa04
|
|
| BLAKE2b-256 |
ec535cfa335e50b53387c13da92cf6f468697329dd60c2c360c3b4ea6d0fdc21
|
Provenance
The following attestation bundles were made for bioimageio_core-0.10.0-py3-none-any.whl:
Publisher:
build.yaml on bioimage-io/core-bioimage-io-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bioimageio_core-0.10.0-py3-none-any.whl -
Subject digest:
397fd3d542319fc10081cecbf17bc685e1f16cb4538ed4080ef69545d7a469ed - Sigstore transparency entry: 1189509058
- Sigstore integration time:
-
Permalink:
bioimage-io/core-bioimage-io-python@245d34ba732b4191b6f471cf0d610a83d144566c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bioimage-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@245d34ba732b4191b6f471cf0d610a83d144566c -
Trigger Event:
push
-
Statement type: