pygfx/wgpu-py
View on GitHub ↗ ★ 710 Python
WebGPU for Python
10 mentions on Hacker News by 9 people: 1 story, 9 comments · first 2021-04-16 · latest 2025-03-11
20082026
-
…skimmed it. It does indeed look like a wrapper over wgpu-native [2] which is written in Rust. 1. https://github.com/pygfx/wgpu-py 2. https://github.com/gfx-rs/wgpu-native
comment by zoogeny · 2025-03-11 · in Fastplotlib: GPU-accelerated, fast, and interactive plotting library -
…the latter doesn't support running on WASM, pyscript or pyodide yet, but there's an issue about it: https://github.com/pygfx/wgpu-py/issues/407 PRs welcome though :-)
comment by ivoflipse · 2025-03-11 · in Fastplotlib: GPU-accelerated, fast, and interactive plotting library -
…the browser. More and more packages are taking this route. [1] https://github.com/pygfx/pygfx [2] https://github.com/pygfx/wgpu-py
comment by paddy_m · 2025-03-11 · in Fastplotlib: GPU-accelerated, fast, and interactive plotting library -
▲ 5
Pygfx/wgpu-py: Next generation GPU API for Pythonstory by figomore · 2024-02-21 · 0 comments
-
FYI you can already use webgpu directly in python, see https://github.com/pygfx/wgpu-py for webgpu wrappers and https://github.com/pygfx/pygfx for a more high level graphics library
comment by korijn · 2023-04-06 · in Chrome ships WebGPU -
This reminds me of another Python GPU project, bringing in WebGPU shaders. https://github.com/pygfx/wgpu-py
comment by rubatuga · 2022-12-28 · in I've just started mixing shaders with Pygame -
Somewhat related, I’ve tried running compute shaders using wgpu-py: https://github.com/pygfx/wgpu-py You can define any compute shader you like in Python, and annotate it with the data types, and it compiles to SPIRV and runs under macOS,…
comment by rubatuga · 2021-04-16 · in Unifying the CUDA Python Ecosystem