Skip to main content

VTK-SDK Python Helper

VTK-SDK Python Helper is a collection of CMake modules to help you build VTK-compatible wheels using the VTK-SDK!

It is distributed as a Python package, used as a build-requirements for project builds using scikit-build-core. See Usage section for more information.

Features

High-level CMake functions to build VTK modules in a wheel compatible with VTK wheel using the VTK-SDK:

  • Build VTK based modules using a high-level API, compatible with any VTK version >= 9.6.0.
  • Generate a package init correctly initializing your module against VTK.
  • Generate a SDK version of your project to then build other VTK modules against it. You can "chain" projects using this.
  • Package native runtime dependencies

Usage

Add vtk-sdk-python-wheel-helper to your build requirements, with scikit-build-core build-system:

[build-system]
requires = [
    "scikit-build-core",
    "vtk-sdk==X.Y.Z", # Version of "vtk-sdk" should always be specified using "==X.Y.Z" and match the one associated with the "vtk" dependency below.
    "vtk-sdk-python-wheel-helper" # you can use the latest version, it supports VTK 9.6.0 and newer.
]
build-backend = "scikit_build_core.build"

vtk-sdk-python-wheel-helper package adds an entry to CMAKE_MODULE_PATH variable, so you can directly include it:

include(VTKSDKPythonWheelHelper)

vtk-sdk adds a path to CMAKE_PREFIX_PATH, this enables VTKSDKPythonWheelHelper to find VTK automatically. Then you get access to the helper's functions, for example:

vtksdk_build_modules(${SKBUILD_PROJECT_NAME} MODULES SuperProject::AmazingModule)
vtksdk_generate_package_init(${SKBUILD_PROJECT_NAME} MODULES SuperProject::AmazingModule)

See tests/BasicProject for more information about building your own module and SDK. See tests/packages/build_module for more information about building your own modules against your own SDK!

Other usage example can be found on SlicerCore repository.

Documentation

CMake functions documentation can be found in the CMake files and online @ https://vtk-sdk-python-wheel-helper.readthedocs.io/en/latest

Future work

  • Support PYI generation using VTK helper script
  • Support debug symbol wheel generation

License

Apache License, Version 2.0. See LICENSE file for details.

Metadata

Release files for vtk-sdk-python-wheel-helper 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vtk-sdk-python-wheel-helper 1.0.5
File Size Uploaded
vtk_sdk_python_wheel_helper-1.0.5.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vtk-sdk-python-wheel-helper 1.0.5
File Interpreter ABI Platform
vtk_sdk_python_wheel_helper-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 47.0 kB

Release files / vtk_sdk_python_wheel_helper-1.0.5.tar.gz

Download URL vtk_sdk_python_wheel_helper-1.0.5.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3628aae560d46f47d271b10c3a1048a74d9c161668712b448c3c559219be91f5
BLAKE2b-256 checksum
How to use checksums
a2ae185f120fde4eabf63ff3b7ee834ea95a690e6d3f0861978cd232d0866e4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 15, 2026.

Transparency log

Release files / vtk_sdk_python_wheel_helper-1.0.5-py3-none-any.whl

Download URL vtk_sdk_python_wheel_helper-1.0.5-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
163d220f245874eb89bffc57ead940f2d9e785c14bfd050fdd8c7eaf6d4e0203
BLAKE2b-256 checksum
How to use checksums
fc784d3ab98b726796a514f43d7218d985ae547509ee40d6d280d95509a5f376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release 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