Skip to main content

Interactyive python viewers

Project description

PyViewer

Toolbar Viewer

Pyviewer is a python library for easily visualizing NumPy arrays and PyTorch tensors.

Components

single_image_viewer.py

A viewer for showing single fullscreen images without other UI elements. Runs in a separate process and remains interactive even if the main process is suspended (e.g. in a debugger). Great for interactively looking at intermediate values of complex ML/CG/CV pipelines.

toolbar_viewer.py

A viewer that shows ImGui UI elemets on the left, and a large image on the right. Runs in the main process, but supports visualizing torch tensors directly from GPU memory (unlike single_image_viewer).

Other features

  • Bundles a custom build of PyImGui with plotting support (via ImPlot)
  • Dynamically rescalable user interface
  • Window resizing to integer multiple of content resolution

Installation

pip install pyviewer

Usage

See examples/demo.py for a usage example.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyviewer-1.4.4.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

pyviewer-1.4.4-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file pyviewer-1.4.4.tar.gz.

File metadata

  • Download URL: pyviewer-1.4.4.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyviewer-1.4.4.tar.gz
Algorithm Hash digest
SHA256 245f5b287005a641e27e9c29e296d6fa6879ff3dad760a19c35c12fb0c5e54d9
MD5 6807be73170951251411a93681602143
BLAKE2b-256 9a71ae95a95c6b8f73f421b0374984ba07a9adc144e0502270d2e35ac4419010

See more details on using hashes here.

File details

Details for the file pyviewer-1.4.4-py3-none-any.whl.

File metadata

  • Download URL: pyviewer-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyviewer-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2104cb4db79a13fe6115ac85970888f387c38a0dc119661a19bf8f0c244f5a1e
MD5 6e437e53601786a8a16ccd3be4fee55d
BLAKE2b-256 ba82712e6ebcff313b8b3080b67c41b6e14084ba2cb1d20e6bc8efeca452adff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page