🚀 Quick Start
Installation
pip install tissuelab_sdk
Basic Usage
from tissuelab_sdk.wrapper import TiffSlideWrapper, DicomImageWrapper
# Load a TIFF slide
with TiffSlideWrapper("path/to/slide.tiff") as slide:
print(f"Dimensions: {slide.dimensions}")
region = slide.read_region(location=(0, 0), level=0, size=(512, 512))
# Load a DICOM image
with DicomImageWrapper("path/to/image.dcm") as dicom:
region = dicom.read_region(location=(0, 0), level=0, size=(256, 256))
📦 Supported Formats
- TIFF/TIFFSlide: Standard TIFF and tiled TIFF files
- DICOM: Medical imaging standard
- NIfTI: Neuroimaging format
- CZI: Zeiss microscopy format (Windows)
- ISyntax: Philips pathology format
- Simple Images: JPEG, PNG, BMP, etc.
🔧 API Reference
Core Wrappers
from tissuelab_sdk.wrapper import (
TiffSlideWrapper, # TIFF files
DicomImageWrapper, # DICOM files
NiftiImageWrapper, # NIfTI files
SimpleImageWrapper, # JPEG, PNG, etc.
CziImageWrapper, # CZI files (Windows)
ISyntaxImageWrapper # iSyntax files
)
# All wrappers share the same interface
with TiffSlideWrapper("image.tiff") as wrapper:
# Properties
wrapper.dimensions # (width, height)
wrapper.level_count # Number of pyramid levels
wrapper.properties # Dictionary of metadata
# Methods
region = wrapper.read_region(location=(x, y), level=0, size=(w, h))
thumbnail = wrapper.get_thumbnail((256, 256))
🏥 Integration with TissueLab
This SDK is part of the TissueLab ecosystem:
# TissueLab automatically uses this SDK for image loading
from tissuelab_sdk.wrapper import TiffSlideWrapper
def analyze_slide(slide_path):
with TiffSlideWrapper(slide_path) as slide:
# Process the slide
return process_image(slide)
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
📞 Contact & Support
- Main Project: TissueLab
- Issues: GitHub Issues
- Paper: arXiv:2509.20279
📚 Citation
If you use TissueLab SDK in your research, please cite our paper:
@article{li2025co,
title={A co-evolving agentic AI system for medical imaging analysis},
author={Li, Songhao and Xu, Jonathan and Bao, Tiancheng and Liu, Yuxuan and Liu, Yuchen and Liu, Yihang and Wang, Lilin and Lei, Wenhui and Wang, Sheng and Xu, Yinuo and Cui, Yan and Yao, Jialu and Koga, Shunsuke and Huang, Zhi},
journal={arXiv preprint arXiv:2509.20279},
year={2025}
}
Metadata
Release files for tissuelab-sdk 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tissuelab_sdk-0.1.14.tar.gz | 18.9 kB | Without provenance | Details for tissuelab_sdk-0.1.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tissuelab_sdk-0.1.14-py3-none-any.whl | Python 3 | none | any | Details for tissuelab_sdk-0.1.14-py3-none-any.whl |
Total release size: 37.6 kB
Release files / tissuelab_sdk-0.1.14.tar.gz
| Download URL | tissuelab_sdk-0.1.14.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a13bc3e40775d56a31a06a9448106c2d31f16c25e6f11e53a23c8b6db144c68c
|
|
BLAKE2b-256 checksum How to use checksums |
852718785eaae4896917aeeb3e4a5b4d333663e69de526f9cd424ef6250f669f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.14
|
Release files / tissuelab_sdk-0.1.14-py3-none-any.whl
| Download URL | tissuelab_sdk-0.1.14-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c85bb3a98b306525898167cf1306bd76a7591c530182bfee6df2f87e209103b8
|
|
BLAKE2b-256 checksum How to use checksums |
ee07691fe09768c5e154c390779e2e8510ae0853ac633950cc2e9619169c4694
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.14
|
Security for tissuelab-sdk 0.1.14
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.