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

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.2.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyviewer-1.2.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pyviewer-1.2.2.tar.gz
Algorithm Hash digest
SHA256 3fbe81a2606d9a07b444216fb4c54f0e50ff9cd4b8f249af8e69515b69b0390b
MD5 d174e4f6a589906427434dc6d54e2d83
BLAKE2b-256 e1220740795d820f9bb9a8daa0197f00bbf488ad25e4ad4ef0a1419375cd7964

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyviewer-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pyviewer-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4df867642c6f137c0eb50473425084f8c270fdc5e6fd9d359bfe3efd37f055cb
MD5 7bf8f89a4b75382f68251a0a2590a4a8
BLAKE2b-256 9a62d0381be837f0ecaae772f795dca710b3d4986ff8794bf7418d25f5659f47

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