WebGPU for Python: a Python implementation of the WebGPU API, enabling modern GPU compute and rendering on multiple backends (Vulkan, Metal, D3D12, OpenGL). Current version 0.31.0. Requires Python >=3.10. Releases roughly monthly.
pip install wgpuVerified import paths — ran on the pinned version, not inferred.
Initialize wgpu, request adapter and device. In real usage, provide a canvas from wgpu.gui.
Replace `from wgpu.backend.wgpu_native import ...` with `import wgpu` and use `wgpu.request_adapter`.
Change import to `from wgpu.gui.auto import WgpuCanvas`.
Install appropriate GPU drivers or test with `wgpu.request_adapter` to see available adapters.
No dependency data recorded yet.