wgpu-native-installer
Install wgpu-native
Introduction
Install the GitHub assets from gfx-rs/wgpu-native.
The installer has additional options to customize the installation.
Installation
Choose one of the following methods:
-
Install the package from PyPI:
Website link
pip install wgpu-native-installer
-
Install the package from GitHub:
Website link
curl -LO $ASSET_URL_ends_with_whl pip install *.whl
Usage
Choose one of the following methods. It depends on your requirements.
-
Download the artifacts of wgpu-native on your machine:
python -m wgpu_native_installer -v ls -l # c++ -L. -lwgpu_native ....
-
Import the CLI as a package:
from asyncio import run from wgpu_native_installer import main as install_wgpu_native if __name__ == "__main__": run(install_wgpu_native(["-vv", "--library", "dynamic", "static"]))
from asyncio import run from wgpu_native_installer.github_release import parse_release_latest async def amain(): release = await parse_release_latest("pytorch", "pytorch") asset = release.search_assets(r".*\.tar\.gz")[0] async for _ in asset.download("pytorch-latest.tar.gz", show_progress=True): pass if __name__ == "__main__": run(amain())
-
Clone the repository and reuse the codes you like:
git clone https://github.com/AsherJingkongChen/wgpu-native-installer.git
Details
Goals
As one of my Python package templates, it should be TSPC-compliant.
- Tested
- Simple
- Performant
- Customizable
License
Metadata
Release files for wgpu-native-installer 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wgpu_native_installer-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for wgpu_native_installer-0.0.1-py3-none-any.whl |
Release files / wgpu_native_installer-0.0.1-py3-none-any.whl
| Download URL | wgpu_native_installer-0.0.1-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dd3f3035e0f55bf851de3b6dd4d3dbfa0dbbb3559230ed515bc1d2dfa323531
|
|
BLAKE2b-256 checksum How to use checksums |
97228bc08f0e510159ac075555cfe6c74456d560b42b7eb1cea4fd48d4904f16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for wgpu-native-installer 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.