Skip to main content

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 2 >= 2.6 or Python 3 >= 3.3

  • OpenSlide >= 3.4.0

  • Python Imaging Library or Pillow

Installation

  1. Install OpenSlide.

  2. pip install openslide-python

Using PIL

setup.py assumes that you want to use the Pillow fork of PIL. If you already have classic PIL installed, you can use it instead. Install OpenSlide Python with:

pip install --no-deps openslide-python

or, if you are installing by hand:

python setup.py install --single-version-externally-managed --record /dev/null

More Information

License

OpenSlide Python is released under the terms of the GNU Lesser General Public License, version 2.1.

Metadata

Release files for openslide-django 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openslide-django 1.1.2
File Size Uploaded
openslide-django-1.1.2.tar.gz 314.5 kB Details

Release files / openslide-django-1.1.2.tar.gz

Download URL openslide-django-1.1.2.tar.gz
Size 314.5 kB
Tags Source
SHA-256 checksum
How to use checksums
81608592a9975a9fe959dce58ec44ae8fb4bb01a3ffb7013bfaa7d08fce7789a
BLAKE2b-256 checksum
How to use checksums
5d527c716c929137a36f86cb08480e2a042ccca06ae23e7dd25882f4a5251aa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

1.1.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page