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-python 1.0.1

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-python 1.0.1
File Size Uploaded Provenance Actions
openslide-python-1.0.1.tar.gz 270.1 kB Without provenance Details for openslide-python-1.0.1.tar.gz

Release files / openslide-python-1.0.1.tar.gz

Download URL openslide-python-1.0.1.tar.gz
Size 270.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f8f1082f95145202da15315497b36d16e9bfd3438629068f61a601f133d8954a
BLAKE2b-256 checksum
How to use checksums
a34a989572d190260568192d3095715e79fdd77c3b2f18b5dfb1fbffbfb0e2c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for openslide-python 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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