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

Uploaded CPython 3.12Windows x86-64

vulky-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

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

Uploaded CPython 3.11Windows x86-64

vulky-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

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

Uploaded CPython 3.10Windows x86-64

vulky-0.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 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.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: vulky-0.1.3-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.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1a41a95b1593e4777511351d1ce3a483fd28a528c3b89dd64db4caaeef528339
MD5 5b73a608b1f8159b5ea45ecfe439a515
BLAKE2b-256 1ccade67db2d897086de96d685b0061dc04d8c38f17f92fb54e83dafc800ee34

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vulky-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 96969b816cde835e61a9c7bfa719cad45b77537ad9aeac163d3a1464bba1ea3a
MD5 2b72f253d689a37edff370f29ed17aa4
BLAKE2b-256 0d0afeac87f202c5eacdc76d2ae2e126290d32b3e435f0edead4f434e8d476c3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vulky-0.1.3-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.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 65834d95e145998250875bc4b4fa7a02f0c0cd892957d31b5e526a750e326a58
MD5 3807de961efbe99299abe973f7acf9b4
BLAKE2b-256 128fb9df8f3c21b7f4da5f18477d56dfb8a16f5f3880a70ed41fb6c4cb60bf37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vulky-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e9dc4012b79b6b6c25a56b3c940cfa51ea579e93533355363b9600f592778d7b
MD5 019375e4dbe8da8ef69f39fabb269728
BLAKE2b-256 d1bca2fdccdff968cb1efb1268d7162b6ad315935c042b0e19eae4b02c0891a7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vulky-0.1.3-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.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 274c5fea6b35bf39ce53cac103393efa3a2136982e98c9d5fb520b586abb8e4b
MD5 72703d6928af74f8fb22ff3b9eaea525
BLAKE2b-256 4b1fa970ebdbccc28e683836f38fc20e01d9a9bf2f93613be0621bb04ae78ccc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vulky-0.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d9d6d8f5cf1aef5db5b0de8672c083ff995e8993c082582b54c14bb782a0e2cc
MD5 a9a0875dcd001e1ec938b5748035d96e
BLAKE2b-256 6f1164919e1f50bdbfe18d5351dbd35bc7d1f68965c026fb66d5155f47ad8969

See more details on using hashes here.

Provenance

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

This release

0.1.3 This release

6 files

0.1.2

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