Skip to main content

pma_python

pma_python is a Python wrapper library for PMA.core (https://www.pathomation.com), a universal viewer by Pathomation for whole slide imaging and microscopy.

YOU NEED TO HAVE PMA.core (or PMA.START) RUNNING IN ORDER TO USE THIS LIBRARY. PMA_PYTHON IS NOT A STAND-ALONE LIBRARY FOR WSI.

If you're working with

  • microscopy data and are you tired of having to use a different library for each vendor specific digital slide format
  • image analysis software and are you looking for a way to have complete control over your algorithms (and not just be able to select those provided for you)
  • novel evaluation methods for histology / pathology and do you just wish there was a way to now automatically evaluate it on 100s of slides (batch processing)

and you're doing all of this in Python, then PMA.core (or PMA.start) and pma_python are for you!

PMA.start can be downloaded from https://www.pathomation.com/pmastart

With pma_python, you can inspect and navigate any type of microscopic imaging file format available. Whether you have macroscopic observations, whole slide imaging data, or fluorescent snapshot observations, we can bring it all into Python now.

The following vendor formats are currently supported:

  • TIFF (.tif, .tiff) with JPEG, JPEG2000, LZW, Deflate, Raw, RLE
  • JPEG (.jpeg, .jpg)
  • JPEG 2000 (.jp2)
  • PNG (.png)
  • Olympus VSI (.vsi) with lossless JPEG, JPEG, Raw
  • Ventana / Roche BIF (.bif)
  • Hamamatsu (.vms, .ndpi, .dcm) with JPEG, JPEG2000
  • Huron Technologies (.tif)
  • 3DHistech (.mrxs) with JPEG, PNG, BMP
  • Aperio / Leica (.svs, .cws, .scn, .lif, DICOMDIR) with JPEG, JPEG2000
  • Carl Zeiss (.zvi, .czi, .lsm) with Raw, PNG, JPEG, LZW, Deflate, JPEG2000
  • Open Microscopy Environment OME-TIFF (.tf2, .tf8, .btf, .ome.tif)
  • Nikon (.nd2, .tiff) with Deflate, JPEG, JPEG2000, LZW, Deflate, Raw, RLE
  • Philips (.tif) with JPEG, JPEG2000, LZW, Deflate, Raw, RLE
  • Sakura (.svslide) with JPEG(sqlite2, sqlite3, mssql)
  • Menarini (.ini) with Raw
  • Motic (.mds)
  • Zoomify (.zif) with JPEG, JPEG2000, LZW, Deflate, Raw, RLE
  • SmartZoom (.szi) with JPEG, BMP
  • Objective Imaging / Glissano (.sws)
  • Perkin Elmer (.qptiff)

The most up to date list with supported file formats can be found at http://www.pathomation.com/formats

Installation from source

To install from pypi

pip install pma_python

To upgrade an already existing version from pypi

pip install --upgrade pma_python

How to use

>>> from pma_python import *

Metadata

Release files for pma-python 2.0.0.186

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

Source distribution (sdist)

Source distribution for pma-python 2.0.0.186
File Size Uploaded
pma_python-2.0.0.186.tar.gz 34.7 kB Details

Release files / pma_python-2.0.0.186.tar.gz

Download URL pma_python-2.0.0.186.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6d92ba2e21c9e2cdbe90e80facf0fdc975819f93f2683a9f733cf3388ef3ea0b
BLAKE2b-256 checksum
How to use checksums
e9ea0ce68e1070658513f7bbac93b6b7c7213ecd138cac25e2774dffe3f15138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

2.0.0.186 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