$npx skillfedfor your agent

openslide-python

Python interface to OpenSlide

With conditionsPyPI Bio-InformaticsReleased Jun 2026270.4K downloads / moLGPL-2.1-only AND BSD-3-Clause AND MIT AND LicenseRef-Public-DomainPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — openslide_python-1.4.6-cp310-cp310-macosx_10_9_universal2.whl · openslide_python-1.4.6-cp310-cp310-manylinux1_x86_64.manylinux_2_5_x86_64.whl · openslide_python-1.4.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
v1.4.6 · released 2026-06-08 · Python >=3.10 · 1 runtime deps: Pillow

Yes, if you work with whole-slide images in digital pathology or medical research. The package is actively maintained, well-supported across platforms and Python versions, and solves a specialized but critical problem—standard image libraries cannot handle these formats or their scale. The main gotcha is the separate OpenSlide C library dependency. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • OpenSlide C library (≥3.4.0) must be installed separately; installation method varies by platform.
  • Medium install friction due to a compiled C dependency (OpenSlide library) that must be installed separately.
  • The project is actively maintained with recent releases, and wheels are provided for multiple Python versions and platforms (macOS, Linux, Windows, including aarch64).

License · maintenance · safety

LGPL-2.1-only AND BSD-3-Clause AND MIT AND LicenseRef-Public-Domain (copyleft) — Licensed under LGPL-2.1-only with additional BSD-3-Clause, MIT, and public domain components. The copyleft LGPL treatment means derivative works must be licensed compatibly, though linking from a proprietary application is generally permitted if OpenSlide is dynamically linked.

last release 2026-06-08 (67 days) · last repo commit 2026-08-09 · 432 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 270,441 downloads/mo, #8,236 on PyPI

Verify before relying

pip install openslide-python

from openslide import OpenSlide

slide = OpenSlide('path/to/slide.svs')
region = slide.read_region((x, y), level, (width, height))
  • Whether the OpenSlide C library (≥3.4.0) is pre-installed on target systems or must be managed separately in deployment
  • Performance characteristics and memory efficiency when handling specific gigabyte-scale slide formats in production
  • Recommended installation method for the separate OpenSlide C library dependency on different platforms
Same gist for agents: .md · .json

What it is and what it does

OpenSlide Python wraps the OpenSlide C library to read whole-slide images—the massive, multi-resolution medical images used in digital pathology. These images can occupy tens of gigabytes uncompressed and come in proprietary formats from vendors like Aperio, Hamamatsu, Leica, Philips, Zeiss, and others; standard image tools cannot handle them. The library lets you read image data at the resolution closest to a desired zoom level without loading the entire file into RAM.

The package depends on Pillow for image handling and requires Python ≥3.10 and a separate OpenSlide C library installation (≥3.4.0). It supports formats including Aperio, ARGOS, DICOM, Hamamatsu, Huron, Leica, MIRAX, Philips, Sakura, Trestle, Ventana, Zeiss, and generic tiled TIFF, and is actively maintained with wheels for modern Python versions and multiple architectures.

Use it for

  • Load and tile whole-slide images for web-based pathology viewers or deep-learning training pipelines
  • Extract regions of interest at specific zoom levels from gigabyte-scale slides in vendor formats
  • Build automated image analysis workflows that process whole-slide images without memory exhaustion
  • Integrate multi-resolution slide access into clinical decision-support or research annotation tools
  • Work with DICOM or CZI slides in medical imaging applications

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with whole-slide images in digital pathology or medical research.

The package is actively maintained, well-supported across platforms and Python versions, and solves a specialized but critical problem—standard image libraries cannot handle these formats or their scale. The main gotcha is the separate OpenSlide C library dependency. No known vulnerabilities.

Install

openslide-python on PyPI

Before you install

Medium install friction due to a compiled C dependency (OpenSlide library) that must be installed separately. The project is actively maintained with recent releases, and wheels are provided for multiple Python versions and platforms (macOS, Linux, Windows, including aarch64).

OpenSlide C library (≥3.4.0) must be installed separately; installation method varies by platform.

License in practice

Licensed under LGPL-2.1-only with additional BSD-3-Clause, MIT, and public domain components. The copyleft LGPL treatment means derivative works must be licensed compatibly, though linking from a proprietary application is generally permitted if OpenSlide is dynamically linked.

Quickstart

pip install openslide-python

from openslide import OpenSlide

slide = OpenSlide('path/to/slide.svs')
region = slide.read_region((x, y), level, (width, height))

Verify before relying

  • Whether the OpenSlide C library (≥3.4.0) is pre-installed on target systems or must be managed separately in deployment
  • Performance characteristics and memory efficiency when handling specific gigabyte-scale slide formats in production
  • Recommended installation method for the separate OpenSlide C library dependency on different platforms

Package facts

LicenseLGPL-2.1-only AND BSD-3-Clause AND MIT AND LicenseRef-Public-Domain copyleft
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
Pillow
MaintenanceActively maintained 67 days since the last release
Last repo commit
First released
Downloads270,441 / month, #8,236 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Healthcare IndustryIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Free Threading :: 2 - BetaTopic :: Scientific/Engineering :: Bio-InformaticsTyping :: Typed

Evidence: openslide_python-1.4.6-cp310-cp310-macosx_10_9_universal2.whl; openslide_python-1.4.6-cp310-cp310-manylinux1_x86_64.manylinux_2_5_x86_64.whl; openslide_python-1.4.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; openslide_python-1.4.6-cp310-cp310-win_amd64.whl; openslide_python-1.4.6-cp311-abi3-macosx_10_9_universal2.whl; openslide_python-1.4.6-cp311-abi3-manylinux1_x86_64.manylinux_2_5_x86_64.whl; openslide_python-1.4.6-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; openslide_python-1.4.6-cp311-abi3-win_amd64.whl; openslide_python-1.4.6-cp313-cp313t-macosx_10_13_universal2.whl; openslide_python-1.4.6-cp313-cp313t-manylinux1_x86_64.manylinux_2_5_x86_64.whl; openslide_python-1.4.6-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; openslide_python-1.4.6-cp313-cp313t-win_amd64.whl; openslide_python-1.4.6-cp314-cp314t-macosx_10_15_universal2.whl; openslide_python-1.4.6-cp314-cp314t-manylinux1_x86_64.manylinux_2_5_x86_64.whl; openslide_python-1.4.6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; openslide_python-1.4.6-cp314-cp314t-win_amd64.whl

Tags

Capabilities
whole-slide image readervirtual slide python librarydigital pathology image processinghigh-resolution medical image accessmulti-resolution slide vieweraperio svs tiff readerpathology image format support
Topics
medical-imagingpathologywhole-slide-images
PyPI keywords
OpenSlidewhole-slide imagevirtual slidelibrary

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “whole-slide image reader”

  • openslide-pythonOpenSlide Python provides a Python interface to read whole-slide…
  • large-imageLarge Image provides Python methods to efficiently read, tile, and…
  • openslide-binProvides prebuilt OpenSlide binaries for Linux, macOS, and Windows,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Bio-Informatics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
biopython Worth it
PyPI · Scientific/Engineering · released Aug 2026

Biopython provides Python tools for computational molecular biology, including sequence analysis, structure parsing, database access, and phylogenetic tree manipulation.

However, verify that the custom Biopython License Agreement aligns with your project's licensing requirements before committing to it in production or proprietary work.

LicenseRef-Biopython-License-Agreementcompiled wheel · 3.10+
14.4Mdownloads / mo
firecrawl-py Worth it
PyPI · Software Development · released Aug 2026

Client library for the Firecrawl API that scrapes, crawls, and searches the web, returning clean Markdown or structured data; also indexes research papers from PubMed, bioRxiv, medRxiv, and arXiv.

MITpure Python · 3.8+
7.3Mdownloads / mo
intervaltree Worth it
PyPI · Libraries · released Dec 2025

A self-balancing interval tree data structure that stores and queries overlapping or enveloped ranges, supporting point lookups, range overlaps, and range envelopment queries.

Install it if you need to store and query overlapping or enveloped ranges; the self-balancing design and rich query interface make it significantly easier than…

Apache-2.0pure Pythonaging
6.3Mdownloads / mo
albumentations Worth it
PyPI · Libraries · released May 2025

Albumentations applies image transformations to training data, supporting classification, segmentation, object detection, and pose estimation with a unified API for images, masks, bounding boxes, and keypoints.

Install it if you need a unified, production-grade augmentation API for computer vision tasks.

MITpure Python · 3.9+aging
5.5Mdownloads / mo
PubChemPy Worth it
PyPI · Scientific/Engineering · released Sep 2025

PubChemPy is a Python wrapper around the PubChem REST API that lets you search for chemical compounds by name, substructure, or similarity, retrieve their properties, and convert between chemical file formats.

Install it if you need programmatic access to PubChem data.

MITpure Python · 3.10+aging
5.4Mdownloads / mo

See also openslide-bin · large-image · dicomweb-client · tifffile · highdicom · OpenImageIO · python-gdcm · aspose-slides · ExifRead · PIMS