PySlide
PySlide is a comprehensive Python package for preprocessing pathology whole slide images (WSIs). Built as a wrapper around OpenSlide, it provides powerful, user-friendly functionality for working with high-resolution pathology images, making it ideal for researchers and data scientists in the medical imaging domain.
Features
- WSI Handling: Supports large pathology slides and other WSI formats via OpenSlide.
- Efficient Preprocessing: Streamline tasks like cropping, resizing, and filtering at high performance.
- Annotation Support: Easily integrate and visualize annotations.
- Tiling and Patching: Flexible tiling options for patch extraction, ideal for deep learning workflows.
- Image Metadata Extraction: Retrieve and manage metadata from WSIs.
Installation
Install PySlide via PyPI:
pip install PySlide
Quick Start
from pyslide import SlideProcessor
# Initialize the processor with your WSI file
processor = SlideProcessor("path/to/your/slide.svs")
# Example: Extract a tile
tile = processor.get_tile(x=1000, y=2000, width=256, height=256)
# Example: Preprocess a slide
processed_slide = processor.preprocess_slide(parameters)
License
Distributed under the MIT License
Contact
Metadata
Release files for PySlyde 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyslyde-0.1.0.tar.gz | 45.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PySlyde-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 101.0 kB
Release files / pyslyde-0.1.0.tar.gz
| Download URL | pyslyde-0.1.0.tar.gz |
|---|---|
| Size | 45.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7edd43d70985a3b5a7bda5c12aaadf34f809f4e7c28f678a4ad2ceaf4c921f18
|
|
BLAKE2b-256 checksum How to use checksums |
fcf976e205591c497f2828cab388ef17a0dc28d37851288c2bd22cfd031637ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / PySlyde-0.1.0-py3-none-any.whl
| Download URL | PySlyde-0.1.0-py3-none-any.whl |
|---|---|
| Size | 55.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60f9f624845b82136849730acfb0652e642b719a16eaef6fe1c3a025d948edfc
|
|
BLAKE2b-256 checksum How to use checksums |
beea5d5dc0965d450a1dc8c19d05624c56af9f1135c5cba170a307d655aa149b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|