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.2.dev202503051853.tar.gz (559.5 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.2.dev202503051853-py3-none-any.whl (578.0 kB view details)

Uploaded Python 3

File details

Details for the file genstudio-2025.3.2.dev202503051853.tar.gz.

File metadata

  • Download URL: genstudio-2025.3.2.dev202503051853.tar.gz
  • Upload date:
  • Size: 559.5 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.2.dev202503051853.tar.gz
Algorithm Hash digest
SHA256 8de233e47ca0735af16f8dab8a2b0d573e9cc26a01121d5008444f68247a5079
MD5 29d1c43e44742daa8136003a00ea78b9
BLAKE2b-256 b27f2cc3d9992781ff6cda55c146cd586d4913954ac9852c6204b93b75a2b58a

See more details on using hashes here.

File details

Details for the file genstudio-2025.3.2.dev202503051853-py3-none-any.whl.

File metadata

File hashes

Hashes for genstudio-2025.3.2.dev202503051853-py3-none-any.whl
Algorithm Hash digest
SHA256 d3cf1c733027b225915c315aeff43c984283e80b8b88e0c5e561523978e77e0d
MD5 ff222435960fc66889f76228d16f82c4
BLAKE2b-256 10b69215045dc2738801e6b3b5fa9582063faa86ce2993c74b0c2c95c9d86580

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