Skip to main content

openwholeslide

Wrapper around tifffile library to have the same API as OpenSlide.

Installation

$ pip install openwholeslide

Usage

  • Similarly to OpenSlide, the openwholeslide package allows to load a WSI as follows:
import openwholeslide as ows

wsi = ows.WholeSlide(path="/path/to/wsi")
  • Regions can be extracted from this WholeSlide object. For example, a lower resolution of the full scale WSI can be extracted as follows:
region = wsi.read_full(magnification=1.0)
  • This actually performs a lazy loading which does not load the data information. In order to get access to the region's pixels (as an numpy.ndarray), the following property should be called:
img = region.as_ndarray

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

openwholeslide was created by Arthur Elskens and Adrien Foucart. It is licensed under the terms of the MIT license.

Metadata

Release files for openwholeslide 0.3.9

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

Source distribution (sdist)

Source distribution for openwholeslide 0.3.9
File Size Uploaded Provenance
openwholeslide-0.3.9.tar.gz 15.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for openwholeslide 0.3.9
File Interpreter ABI Platform
openwholeslide-0.3.9-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 29.9 kB

Release files / openwholeslide-0.3.9.tar.gz

Download URL openwholeslide-0.3.9.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3b0f8cce6d480da0b3cec487f26897f4ce5cee2b5c0fc228c56db560a9a07912
BLAKE2b-256 checksum
How to use checksums
cc45d54b7571cceb9640aa3160640ed42cc5393cb44a62efcf4aa8c2de3e0e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / openwholeslide-0.3.9-py2.py3-none-any.whl

Download URL openwholeslide-0.3.9-py2.py3-none-any.whl
Size 14.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5e9589af8f01d6a72b2f5426d96482c8a5ed73e716424ec667e1b067b45b4422
BLAKE2b-256 checksum
How to use checksums
7fc8c34b19c7cc1b485dda325a4fa262e2301e564228bae29bd9deddfb9e7516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for openwholeslide 0.3.9

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