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.3.9.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

pyviewer-1.3.9-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyviewer-1.3.9.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pyviewer-1.3.9.tar.gz
Algorithm Hash digest
SHA256 81150c3799a651a4559099afa09c5ae9869185e0d750d6c468d4f17172c8c0a0
MD5 8b218f4fad870b24ffaa0c30282a69a6
BLAKE2b-256 7ce72d2e432c9f38b27ee0d1c1eccbd22c62f7221ace7036cafc084549d8b2a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyviewer-1.3.9-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pyviewer-1.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 32b6f7d998ae37a7f827f8958280d1a120004c6d052136687ade2efd82d51352
MD5 f4faa34190494e8af5093c9e5c40ba2e
BLAKE2b-256 aae27a28fa19dd12019c8189bf4de9becc9940903c81ecb82162401717aa98ec

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