Skip to main content

pmi-viewer

PyPI - Version PyPI - Python Version


pmi-viewer is a simple medical image viewer for 2D and 3D NumPy arrays. It supports scrolling through images in orthogonal directions and adjusting the display range, similar to other medical image viewers.

In a notebook environment, the viewer is displayed in a new output cell (ipympl required). In other environments, it opens in a Qt window.

Installation

pip install pmi-viewer

Usage

import numpy as np
from pmi_viewer import view

image = np.random.rand(32, 128, 128)
view(image, orientation='sag', spacing=(0.7, 0.7, 2.4), title="Random values")

License

pmi-viewer is distributed under the terms of the MIT license.

Release files for pmi-viewer 1.0.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 pmi-viewer 1.0.2
File Size Uploaded
pmi_viewer-1.0.2.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pmi-viewer 1.0.2
File Interpreter ABI Platform
pmi_viewer-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / pmi_viewer-1.0.2.tar.gz

Download URL pmi_viewer-1.0.2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
907a3933e8dd3308da2d93365a385ecab6600766f35c23dfd4ea9d829a7dff9d
BLAKE2b-256 checksum
How to use checksums
05201f90a11c71c7c7397f7502753348dc02ab3588e1ca73e6b05026c2c9bbe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.5"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.20 7 Apr 2026","python":"3.14.5","system":{"name":"Windows","release":"11"}} HTTPX2/2.12.0

Release files / pmi_viewer-1.0.2-py3-none-any.whl

Download URL pmi_viewer-1.0.2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ac43ba750fce544760c34ebf5c3e46be0b772cfd7a3399c846d323cacd6625f
BLAKE2b-256 checksum
How to use checksums
ea454adfbf26301d59bf96321252c736fc2cc99fb5fe0c3858e6189e096738b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.18.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.5"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.20 7 Apr 2026","python":"3.14.5","system":{"name":"Windows","release":"11"}} HTTPX2/2.12.0

Release history Release notifications | RSS feed

1.0.7

2 release files

1.0.3

2 release files

This release

1.0.2 This release

2 release files

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