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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file demo_jupyter_wasm_webgpu_widget-0.1.2.tar.gz.
File metadata
- Download URL: demo_jupyter_wasm_webgpu_widget-0.1.2.tar.gz
- Upload date:
- Size: 5.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f153cf6141574013698acd2b8c47e4d062c83c030f034f1508e815f72a1291df
|
|
| MD5 |
35052b4ae3326c2abb59d853033c09f6
|
|
| BLAKE2b-256 |
6fdee5320809184d228ffcc06eda1a73806e0fd54a69059016d2880f9d384890
|
File details
Details for the file demo_jupyter_wasm_webgpu_widget-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: demo_jupyter_wasm_webgpu_widget-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23d7ef59ccf334bb279df67acd40732231a19fb6ef893def8ee184f6be7123c5
|
|
| MD5 |
5d6c75fe48e92499b30c42aa7f81cf8b
|
|
| BLAKE2b-256 |
be2c4193229020331cd0517a562ccf4722fd6b2d2de5069d7f824a30278191cd
|