{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"}],"enrichment":{"capability":"wgpu-py provides a Python binding to WebGPU, a modern GPU graphics API that serves as the successor to OpenGL, enabling GPU compute and graphics rendering across Windows, Linux, and macOS.","skillfed_tags":["gpu-graphics","webgpu","cross-platform"],"use_cases":["Build modern GPU-accelerated visualization and rendering engines as a foundation (e.g., pygfx)","Implement GPU compute kernels and data-parallel algorithms without low-level graphics API complexity","Create cross-platform graphics applications that run on Windows, Linux, and macOS with a single codebase","Embed GPU rendering in Qt/wxPython/Jupyter applications via rendercanvas integration","Port WebGPU JavaScript code to Python while maintaining API compatibility"],"what_it_does":"wgpu-py is a Pythonic wrapper around wgpu-native, exposing the WebGPU API\u2014a modern, higher-level GPU graphics standard designed to replace OpenGL. It abstracts over Vulkan, Metal, DX12, and OpenGL backends, providing a unified interface for GPU compute and graphics across platforms. The library ships with precompiled binaries for Windows, Linux (x86 and ARM), and macOS (Intel and M1), making installation straightforward on supported systems.\n\nThe package is used as the foundation for rendering engines like pygfx and supports both synchronous (blocking) and asynchronous function variants, allowing integration with asyncio or Trio. Test coverage is near complete, and the API surface is mature enough to power production visualization and compute libraries. Developers can render to screen via rendercanvas, which auto-detects available GUI backends (GLFW, Qt, wxPython, Jupyter), or use wgpu purely for headless GPU compute.","worth_installing":"Yes, if you need modern GPU graphics or compute in Python and can target Python 3.11+. The library is actively maintained, permissively licensed, has no known vulnerabilities, and offers a stable, well-tested API suitable for production visualization and compute work. Install friction is moderate due to platform-specific binaries, but precompiled wheels handle most systems. Not suitable if you require Python <3.11 or need to support older GPU drivers."},"id":"wgpu","links":{"html":"https://skillfed.io/packages/wgpu","md":"https://skillfed.io/packages/wgpu.md","pypi":"https://pypi.org/project/wgpu/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-19","license_spdx":null,"license_treatment":"permissive","name":"wgpu","python_support":"supports_current","summary":"WebGPU for Python"},"popularity":{"monthly_downloads":129092,"position":11684,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.32.0"}
