openslide-bin
Binary build of OpenSlide
What it is and what it does
openslide-bin packages the OpenSlide library—a C library for reading whole-slide microscopy images—as a pip-installable Python wheel. Instead of requiring users to install OpenSlide separately via their system package manager (which may be outdated or unavailable), this package bundles the latest OpenSlide binaries directly into the wheel, eliminating a common installation friction point.
When installed alongside OpenSlide Python ≥ 1.4.0, openslide-bin is automatically discovered and used. It ships the same binaries as the official OpenSlide website, has no additional runtime dependencies beyond what your system already provides, and supports Python 3.9+ on Linux (aarch64, x86_64 with glibc 2.28+), macOS 11+ (arm64, x86_64), and Windows 10+ (x64). The package is actively maintained by the OpenSlide project itself.
Use it for:
- Deploy whole-slide image analysis pipelines in Docker or cloud environments without requiring system-level OpenSlide installation.
- Simplify CI/CD workflows for histopathology or medical imaging research by pinning OpenSlide version via pip.
- Develop cross-platform microscopy image processing tools that work on Linux, macOS, and Windows without platform-specific build steps.
- Use in research environments where system package manager access is restricted or versions are outdated.
- Bundle OpenSlide with Python applications distributed via PyPI without requiring end-users to install native libraries.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides prebuilt OpenSlide binaries for Linux, macOS, and Windows, eliminating the need to install OpenSlide separately from your system package manager.
Yes, if you need OpenSlide and want to avoid system-level installation complexity. The package is actively maintained, has no known vulnerabilities, and is built by the OpenSlide maintainers themselves. Install friction is medium due to platform-specific wheels, but that's inherent to any binary distribution. Copyleft licensing (LGPL-2.1) requires compliance if you redistribute or modify; for internal use or linking via OpenSlide Python, this is typically not a barrier. Recommended for anyone using OpenSlide Python who prefers pip-based dependency management.
Install
openslide-bin on PyPI
pip
pip install openslide-binuv
uv add openslide-binpoetry
poetry add openslide-binInstalling openslide-bin
Before you install
Medium install friction due to platform-specific wheels (aarch64, x86_64, macOS universal2, Windows x64). Requires Python 3.9+ and pip 20.3+. Actively maintained with recent releases; last commit 2026-08-10.
License in practice
Copyleft: LGPL-2.1-only core with BSD, MIT, Zlib, and other compatible licenses for bundled components. Derivative works and modifications must comply with LGPL-2.1 terms; redistribution requires license preservation.
Quickstart
pip install openslide-bin
import openslide
slide = openslide.OpenSlide('path/to/slide.svs')
Requires Python 3.9+, pip 20.3+, and a supported platform (Linux glibc 2.28+, macOS 11+, or Windows 10+). OpenSlide Python ≥ 1.4.0 required to auto-detect openslide-bin.
Verify before relying
- Whether OpenSlide Python automatically discovers openslide-bin in all deployment contexts (containers, virtual envs, editable installs).
- Performance characteristics compared to system-installed OpenSlide binaries.
- Compatibility with non-standard Python distributions (PyPy, Conda environments).
Package facts
| License | LGPL-2.1-only AND BSD-1-Clause AND BSD-2-Clause AND BSD-3-Clause AND (BSD-3-Clause OR GPL-2.0-only) AND BSD-4.3TAHOE AND IJG AND LGPL-2.0-or-later AND (LGPL-2.1-only OR MPL-1.1) AND LGPL-2.1-or-later AND libpng-2.0 AND libtiff AND MIT AND Zlib (copyleft) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 55 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 105,417/month — #12,701 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: openslide_bin-4.0.1.2-py3-none-macosx_11_0_universal2.whl; openslide_bin-4.0.1.2-py3-none-manylinux_2_28_aarch64.whl; openslide_bin-4.0.1.2-py3-none-manylinux_2_28_x86_64.whl; openslide_bin-4.0.1.2-py3-none-win_amd64.whl
Keywords: OpenSlide, whole-slide image, virtual slide, library
Tags
More Bio-Informatics packages
NetworkX provides data structures and…
permissive · top 1,000 on PyPI
biopythonBiopython provides Python tools for…
unclear · top 5,000 on PyPI
firecrawl-pyClient library for the Firecrawl API that…
permissive · top 5,000 on PyPI
intervaltreeA self-balancing interval tree data structure…
permissive · top 5,000 on PyPI
albumentationsAlbumentations applies image transformations to…
permissive · top 5,000 on PyPI
PubChemPyPubChemPy is a Python wrapper around the…
permissive · top 5,000 on PyPI
openslide-pythonOpenSlide Python provides a Python interface to…
copyleft · top 15,000 on PyPI
dlib-bindlib-bin provides pre-compiled binary wheels of…
unclear · top 5,000 on PyPI
openbabel-wheelProvides prebuilt Python wheels for OpenBabel,…
copyleft · top 15,000 on PyPI
pyvips-binaryProvides pre-built binary wheels of libvips and…
copyleft · top 15,000 on PyPI
nodejs-wheel-binariesDistributes Node.js prebuilt binaries as Python…
permissive · top 5,000 on PyPI
nodejs-wheelDistributes Node.js prebuilt binaries as Python…
unclear · top 15,000 on PyPI
just-binDistributes the `just` command-line task runner…
permissive · top 15,000 on PyPI
PyQt5-Qt5Provides the Qt5 runtime libraries required by…
copyleft · top 5,000 on PyPI
PyQt6-Qt6Provides the Qt6 runtime libraries required by…
copyleft · top 5,000 on PyPI
extractcode-libarchiveProvides a prebuilt native libarchive binary as…
permissive · top 15,000 on PyPI