Skip to main content

Modularized and scalable whole slide image analysis

Project description

LazySlide

Modularized and scalable whole slide image analysis

Documentation Status pypi version PyPI - License scverse ecosystem

LazySlide is a Python package for whole-slide image (WSI) processing. It is designed to be fast and memory-efficient, allowing users to work with large WSIs on modest hardware.

Highlights

  • Multimodel analysis
  • Transcriptomics integration
  • scanpy-style API
  • CLI and Nextflow support

Quick start

With few lines of code, you can quickly run preprocessing and feature extraction with LazySlide:

import lazyslide as zs

wsi = zs.datasets.sample()

# Pipeline
zs.pp.find_tissues(wsi)
zs.pp.tile_tissues(wsi, tile_px=256, mpp=0.5)
zs.tl.feature_extraction(wsi, model='resnet50')

# Access the features
features = wsi['resnet50_tiles']

Project details


Download files

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

Source Distribution

lazyslide-0.5.0.tar.gz (19.1 MB view details)

Uploaded Source

Built Distribution

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

lazyslide-0.5.0-py3-none-any.whl (19.1 MB view details)

Uploaded Python 3

File details

Details for the file lazyslide-0.5.0.tar.gz.

File metadata

  • Download URL: lazyslide-0.5.0.tar.gz
  • Upload date:
  • Size: 19.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for lazyslide-0.5.0.tar.gz
Algorithm Hash digest
SHA256 66f97ea5e564e5e87bd646131fa0463bf742b7ba331e53ea3713d1bf2da0a4ac
MD5 bd656e93aea4a4a75e3062f3d9c5d908
BLAKE2b-256 b92f155f5a08b59d0a532ed45eda3b98a0fad8f4c1524011b4da28b1fc5c2286

See more details on using hashes here.

File details

Details for the file lazyslide-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: lazyslide-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for lazyslide-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a8c8d6393ff4069180c5aae280b2f522b20cb9ab3a86a08f73cc25a1a24336c
MD5 117ab36a807015510af360e365eceb5c
BLAKE2b-256 746c8fdbae65df1c50d7c500acd6685fb449c2c3a62e58ac48a5bf5c9543011c

See more details on using hashes here.

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