Install wgpu-native
Project description
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_async as install_wgpu_native if __name__ == "__main__": run(install_wgpu_native(["-vv", "--library", "dynamic", "static"]))
-
Clone the repository and reuse the codes you like:
git clone https://github.com/AsherJingkongChen/wgpu-native-installer.git
from asyncio import run from wgpu_native_installer.github_release import parse_release_latest from wgpu_native_installer.unzip import extract_filter async def main_async(): release = await parse_release_latest("pytorch", "pytorch") asset = release.search_assets(r".*\.tar\.gz") await asset.download("pytorch-latest.tar.gz") if __name__ == "__main__": run(main_async())
Details
Goals
As one of my Python package templates, it should be TSPC-compliant.
- Tested
- Simple
- Performant
- Customizable
License
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for wgpu_native_installer-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c373c8adf4395206e0d04f8208139337cb9938bbedc46be09aaea45625dfd6a |
|
MD5 | d857969dea3293b98729a50739a4872d |
|
BLAKE2b-256 | f38eb120dc4a321249c42651b15e18c5fd38efc1a6fb4d1e552a4d28adb7bb44 |