Skip to main content

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
04 - Basic Rasterization Open In Colab
05 - Vertex Buffers Open In Colab
06 - OBJ Viewer Open In Colab
07 - Texture Mapping Open In Colab
08 - Basic Raytracing Open In Colab
09 - Shadow Cast Open In Colab
10 - Whitted Raytracing Open In Colab

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

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.1.2-cp312-cp312-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.12Windows x86-64

vulky-0.1.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

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

vulky-0.1.2-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11Windows x86-64

vulky-0.1.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

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

vulky-0.1.2-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10Windows x86-64

vulky-0.1.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.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.1.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: vulky-0.1.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vulky-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 88487acc8ed13c76517c91b11593b0a34b67c3539e0477e87937b90349c38b5b
MD5 23e452c85962242e7d5ebab73c1ae58a
BLAKE2b-256 062e134cfab8d02c6a963abdb3e6e963f10ae6b1791474f9bd0ab29296a284ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.2-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.1.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.1.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5432a31eaf62c5690d14a7e19539055d14d71c538a135fe64d9892b963342b7d
MD5 8ff070d67ccaeac8761f2fabc970471b
BLAKE2b-256 11336654cff121c81c4aa5b8f34a1ddd235d781e6eac94fc45393ffc54f4406a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.2-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.1.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: vulky-0.1.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vulky-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b8924e973d119ed3a46c559a6dc0f40f3281423b4596db98a09ab81d63e0c482
MD5 9d28c40b807706419a9c33bbc68184ea
BLAKE2b-256 2117615879765fb4b7dee38e276dab457f9c30de97a8c54dab96c5e5d74d36c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.2-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.1.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.1.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 00b67e69c2d71ff473129461b69b474415b10ea182c5d2925e9b6c4e03862012
MD5 7bcc2b878f4f45bc0577321b42de9550
BLAKE2b-256 39528d8db27f52dc3b921dfaf21f042f8c635d70d43ac019cb880bc65396fb1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.2-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.1.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: vulky-0.1.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vulky-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ebaf249a6d896f501b341979b7eb09520895e51ea0aaf49567025fb6a8345d9c
MD5 2d04bd0c8026004f476047698e230f27
BLAKE2b-256 0ffc37891fd293a54edae8ab491568398cef8cbe390032234f5ff4943f21acb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.2-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.1.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.1.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 842c6c65a0913ca6d0832e105e88e9085f254412fe6c9a7c8e88b1180471d67e
MD5 7c1d6b3f13eab345bf94453703b0e126
BLAKE2b-256 462be5c1a8f601087ecd8c730ecd13b9eaca712908d8e1dd919e3f432c9c2c30

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.2-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.

Release history Release notifications | RSS feed

0.1.4

10 files

0.1.3

6 files

This release

0.1.2 This release

6 files

0.1.1

6 files

0.1.0

6 files

0.0.9

6 files

0.0.8

6 files

0.0.7

6 files

0.0.6

6 files

0.0.5

6 files

0.0.4

6 files

0.0.3

6 files

0.0.2

6 files

0.0.1

6 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page