Skip to main content

No project description provided

Project description

PyPI version

Gen Studio

Visualization tools for GenJAX.


genstudio.plot provides a composable way to create interactive plots using Observable Plot.

Key features:

  • Functional, composable plot creation built on Observable Plot (with near 1:1 API correspondence between Python and JavaScript)
  • Support for sliders & animations
  • Works in Jupyter / Google Colab
  • HTML mode which persists plots across kernel restart/shutdown, and a Widget mode which supports Python<>JavaScript interactivity
  • Terse layout syntax for organizing plots into rows and columns
  • Hiccup implementation for interspersing arbitrary HTML

For detailed usage instructions and examples, refer to the Gen Studio User Guide.

Development

Run yarn watch to compile the JavaScript bundle.

CI Workflows

The project has several CI workflows:

  • Tests: Runs JavaScript and Python unit tests
  • WebGPU Screenshots: Tests 3D WebGPU rendering capabilities by capturing screenshots in headless Chrome
  • Docs: Builds and deploys documentation
  • Pyright: Runs type checking for Python code
  • Ruff: Runs code formatting and linting

Credits

  • AnyWidget provides a nice Python<>JavaScript widget API
  • pyobsplot was the inspiration for our Python->JavaScript approach

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

genstudio-2025.3.10.dev202503181508.tar.gz (582.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genstudio-2025.3.10.dev202503181508-py3-none-any.whl (604.1 kB view details)

Uploaded Python 3

File details

Details for the file genstudio-2025.3.10.dev202503181508.tar.gz.

File metadata

  • Download URL: genstudio-2025.3.10.dev202503181508.tar.gz
  • Upload date:
  • Size: 582.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.5 Linux/6.8.0-1021-azure

File hashes

Hashes for genstudio-2025.3.10.dev202503181508.tar.gz
Algorithm Hash digest
SHA256 1b59ce0e5b51bcd2f88d38d8ad7dd2ea4a703dd1c16c64aa0fce2992cf75b77c
MD5 ec8e4eb1aea3a20cc72fa715b0c43bca
BLAKE2b-256 d10c32f3a683f0e2c7058bcb86c4e690e955f5d1a135ec38fe587048e76be0cd

See more details on using hashes here.

File details

Details for the file genstudio-2025.3.10.dev202503181508-py3-none-any.whl.

File metadata

File hashes

Hashes for genstudio-2025.3.10.dev202503181508-py3-none-any.whl
Algorithm Hash digest
SHA256 cbfbd73f6ea7da0bf9e3fcf00cb2dad43754fa6dc97c9c7315d37ff1dbf8ae40
MD5 fdd8b2c9db8345c6f495b5eed287564d
BLAKE2b-256 1ad88d5711acaa96b4839de3e9e88ccb5433635c0b07e7c0dedb2206b8864485

See more details on using hashes here.

Supported by

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