Skip to main content

A Custom Jupyter Widget Library

Project description

Demo Jupyter WebGPU Rendering Widget Using WebAssembly

This is built using anywidet to simplify packaging and distribution. You can try out a live demo running in Google Colab or download the repo, pip install demo_jupyter_wasm_webgpu_widget and run the example in ./example/demo.ipynb.

Dependencies

The widget depends on anywidget and traitlets.

Development

To install the widget for development/editing you can run simply run

pip install -e .

which will also run pnpm install and pnpm run build to build the frontend code.

Then when you modify the frontend widget code, recompile it by running:

pnpm run build

Building

The widget frontend code is built when running the python build command via hatchling which will also install pnpm dependencies and build the frontend code. Build via

python -m build

Build artifacts are placed in dist/

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

demo_jupyter_wasm_webgpu_widget-0.1.10.tar.gz (5.4 MB view details)

Uploaded Source

Built Distribution

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

demo_jupyter_wasm_webgpu_widget-0.1.10-py2.py3-none-any.whl (5.4 MB view details)

Uploaded Python 2Python 3

File details

Details for the file demo_jupyter_wasm_webgpu_widget-0.1.10.tar.gz.

File metadata

File hashes

Hashes for demo_jupyter_wasm_webgpu_widget-0.1.10.tar.gz
Algorithm Hash digest
SHA256 3498d9f50f062b456eb7fc18cbc5305dc49d058f5d540f2d8590dc9efff71246
MD5 908635c074320beef39f413d236cfa7a
BLAKE2b-256 6b00c169f4572aad35efc916580712f51de8eab2ff0445841b99f3c59685e84e

See more details on using hashes here.

File details

Details for the file demo_jupyter_wasm_webgpu_widget-0.1.10-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for demo_jupyter_wasm_webgpu_widget-0.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69fb0bd6272769965f6d33df319da644ca93c25361c208a60a470dd43057a925
MD5 a296af976493c5169e1941a7ca6d7279
BLAKE2b-256 db3afaa8fbcd4e6e1fafc6e26c4451c73cf7464366938038a19e55077525272a

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