openslide-python 1.4.3


pip install openslide-python

  Latest version

Released: Dec 03, 2025


Meta
Maintainer: OpenSlide project
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers
  • Healthcare Industry
  • Science/Research

Operating System
  • MacOS :: MacOS X
  • Microsoft :: Windows
  • POSIX :: Linux

Programming Language
  • Python
  • Python :: 3
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: Free Threading :: 2 - Beta

Topic
  • Scientific/Engineering :: Bio-Informatics

Typing
  • Typed

OpenSlide Python

OpenSlide Python is a Python interface to the OpenSlide library.

OpenSlide is a C library that provides a simple interface for reading whole-slide images, also known as virtual slides, which are high-resolution images used in digital pathology. These images can occupy tens of gigabytes when uncompressed, and so cannot be easily read using standard tools or libraries, which are designed for images that can be comfortably uncompressed into RAM. Whole-slide images are typically multi-resolution; OpenSlide allows reading a small amount of image data at the resolution closest to a desired zoom level.

OpenSlide can read virtual slides in several formats:

Requirements

  • Python ≥ 3.10
  • OpenSlide ≥ 3.4.0
  • Pillow

Installation

OpenSlide Python requires OpenSlide. Install both components from PyPI with:

pip install openslide-python openslide-bin

Or, see the OpenSlide Python documentation for instructions on installing so OpenSlide Python can find OpenSlide.

More Information

License

OpenSlide Python is released under the terms of the GNU Lesser General Public License, version 2.1. The Deep Zoom example code includes JavaScript released under the BSD license, the MIT license, and released into the public domain.

OpenSlide Python is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

Wheel compatibility matrix

Platform CPython 3.10 CPython >=3.11 (abi3) CPython (additional flags: t) 3.13 CPython (additional flags: t) 3.14
macosx_10_13_universal2
macosx_10_15_universal2
macosx_10_9_universal2
manylinux1_x86_64
manylinux2014_aarch64
manylinux_2_17_aarch64
manylinux_2_5_x86_64
win_amd64

Files in release

Extras: None
Dependencies:
Pillow