Skip to main content

Minimal Vulkan Python wrapper

Project description

vk

A minimal Vulkan Python package with a PyTorch-like import flow:

import vk

device = vk.create_device(device_index=0, enable_validation_layers=False)

The native extension is _vk and is loaded by vk/__init__.py.

Build and install (Windows PowerShell)

Set-Location "D:\projects\vk_project"
python -m pip install -U pip
python -m pip install -e .

Run example

Set-Location "D:\projects\vk_project"
python .\examples\create_device.py

Tutorials

Each tutorial can be opened directly in Google Colab, or built into a local Jupyter notebook via build_notebooks.bat (requires jupytext).

Tutorial Open in Colab
01 - Vulkan Devices Open In Colab
02 - Vectors and Matrices Open In Colab
03 - Basic Compute Open In Colab

The notebooks themselves (tutorials/*.ipynb) must be committed/pushed to the repository for the Colab links to resolve.

Project details


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 Distributions

If you're not sure about the file name format, learn more about wheel file names.

vulky-0.0.9-cp312-cp312-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12Windows x86-64

vulky-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

vulky-0.0.9-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86-64

vulky-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

vulky-0.0.9-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10Windows x86-64

vulky-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file vulky-0.0.9-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: vulky-0.0.9-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vulky-0.0.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7d2e23661a94b496acc0d9e3e2427f8b17489cf3b2ac8da881809935bf6988d1
MD5 c2b20d9f0e02b5293d65f755885214e0
BLAKE2b-256 5fe2e510e4bfed7e44936783cce1297fc1a43f92ea5bb7691ac75ef7bdd8682a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.0.9-cp312-cp312-win_amd64.whl:

Publisher: cmake-multi-platform.yml on rendervous/vk_project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vulky-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f70b2202d691e37a352e3b7f62ec6b3b005f301efe9b2816d5c823a1ef595346
MD5 711bb3c6b729646bf66b2fade3eac944
BLAKE2b-256 254e4ed7f01b6c437d437f2d192590814657bac675b714d449ff38fc88a8e19a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: cmake-multi-platform.yml on rendervous/vk_project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vulky-0.0.9-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: vulky-0.0.9-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vulky-0.0.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2f482bf2cbff2aad241828cb2c0512e7eddf493efd2293cca33704c366c0dc88
MD5 109846e6983c5c420327902b1db09451
BLAKE2b-256 c3c040af24814a119d865bb09c93d3960afed901a3baef0a1d779490ad0bdbd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.0.9-cp311-cp311-win_amd64.whl:

Publisher: cmake-multi-platform.yml on rendervous/vk_project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vulky-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7a3540f000a1fa623c935e545f1fc92e6b43905e4d381869d2989e55e567bf5a
MD5 a49d2ffa3a2b9642fa0c21baafaca683
BLAKE2b-256 612488b2a2828b005adf4c214a4a170964c478e709b1eecc73213f0a642312f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: cmake-multi-platform.yml on rendervous/vk_project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vulky-0.0.9-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: vulky-0.0.9-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vulky-0.0.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d76a490b1e75800b2dd902e093f00bb484955ae85bf3666b334e2d5eff6e7073
MD5 33d86766c68f2a181ad4bbc368b55bbf
BLAKE2b-256 174fb13a6326877e35b4218528059c699d3af1ee95ec26cb2487c7ff9461945d

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.0.9-cp310-cp310-win_amd64.whl:

Publisher: cmake-multi-platform.yml on rendervous/vk_project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vulky-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98cd3a0e069ac090656b82203e98c9a61c7bad2b8a47ecacc9f9501b18f203e4
MD5 c9c534ea92a251f1cbcc0b6cf5a82418
BLAKE2b-256 56154366f34a62ef6264f1e28dde7925bef2949e417f313419cc3785dccf17b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: cmake-multi-platform.yml on rendervous/vk_project

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page