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.4-cp314-cp314-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.14Windows x86-64

vulky-0.1.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

vulky-0.1.4-cp313-cp313-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.13Windows x86-64

vulky-0.1.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

vulky-0.1.4-cp312-cp312-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.12Windows x86-64

vulky-0.1.4-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.4-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11Windows x86-64

vulky-0.1.4-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.4-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10Windows x86-64

vulky-0.1.4-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.4-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: vulky-0.1.4-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.14, 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.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 b5a24ffaa7d4c43f239b02052606991657aad8a7c4ee313a2c250f41d2a57438
MD5 caf1a26645bc19ec3c041a7e8c7491f1
BLAKE2b-256 19a2cea6aeae43dd00f41c8f82dd6f2e43a317aebc3205af5f133f3dbdd0049b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.4-cp314-cp314-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.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.1.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ab6f69701e98f20927dff1fbe24ce653539d625c8535034ea8ef62903d881d5
MD5 747ef77b87d8ddfd9b9e960922fd26f8
BLAKE2b-256 c599654f6c38abc17912a709912d8233b0f8cf506ad311a3f5ead9d20e4dcc9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.4-cp314-cp314-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.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: vulky-0.1.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.13, 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.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 80632c869994074a230e0bfddd62f72ad165230f40225dc04f57e24351dd5d08
MD5 d0c1db4e1a3116ab3160eacb54b31b01
BLAKE2b-256 df91d2dc7b90ce48149682ef88e90e44d6fa5416209139618f95a0b62f062ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.4-cp313-cp313-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.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vulky-0.1.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b5460212b17855395545d3f6b385ed9ea39ae6bf701d2438a915ab2e7fc8a8b0
MD5 622c995e57967c8a9e8316d57da56ac4
BLAKE2b-256 22fe4c3626c5a0ccc12a9d41eea02c7294fc7d86b748afc95ea7eca5376f2c26

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.4-cp313-cp313-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.4-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: vulky-0.1.4-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.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b5cb72f6023c714a022865eb989f08120ed72d2b35b5f24f9f5b15cefd6d864d
MD5 b16f1d24e92656d5408f74807e5b79ba
BLAKE2b-256 1ea6de39e7211301919ff382649f012bfaa1b966663e558164879c0bda572840

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vulky-0.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ecd4262936a49310ed8b574fede226f3b7c50367c80e31170d076a8e30dc7493
MD5 7ad51267a01142d00e577440ea849853
BLAKE2b-256 4102bb80fc825cf40cd19129fd6141655db3d280246a874474d0cfb6daa47554

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vulky-0.1.4-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.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7d05e8cee834a82d78d2a41f8e0e3eb631c8748f3f61e04b65df9e95d6a8d2f5
MD5 c86d0e1dae7a038fdad6018fee477363
BLAKE2b-256 32cfed370749fafc02aac6ff8661332ea51930c005cf2fb18115313a81024538

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vulky-0.1.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7c00379ce5a9c9b0697845cd3b6711fcf89eb60cf078e125980643bbb2fe9b4
MD5 1d82b84dc002cb991debaa44f4c3de91
BLAKE2b-256 63000ca9fb37d9dee39e1e00ca6ff42627f5ad44e0d6f22d54c366232064a285

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vulky-0.1.4-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.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2d33329ac129e2689ce356cc72466ceaa005ab7641ec6d976cb56a8654c2c5bb
MD5 bdd543e755903a8bfe9a1dd6e7417bb3
BLAKE2b-256 dbc218180f10970187ae2361781bbf6abd9b6596e788bdefebda653fa8f6279e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vulky-0.1.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b6133d62cb07e1db5bc1affc257c40067a8b5ecb26dbae00674727cd9a5a57a3
MD5 71deeb3353cdfa7a64d454a500f42f17
BLAKE2b-256 6eaee8a707a646a573dcef36ad4ee3b108130b6e0488e0fa48ca8d852fc09654

See more details on using hashes here.

Provenance

The following attestation bundles were made for vulky-0.1.4-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.4 This release

10 files

0.1.3

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