Shiboken6-generator
Shiboken is the generator used by the Qt for Python project. It outputs C++ code for CPython extensions, which can be compiled and transformed into a Python module.
C++ projects based on Qt can be wrapped, but also projects which are not related to Qt.
How does it work?
Shiboken uses an API Extractor that does most of the job, but it requires a typesystem (XML file) to customize how the C++ classes/methods will be exposed to Python.
The typesystem allows you to remove arguments from signatures, modify return types, inject code and add conversion rules from the C++ data types to Python data types, manipulate the ownership of the objects, etc.
Examples
For an example related to wrap a C++ library not depending on Qt see the Sample Bindings Example.
Additionally, you can find a couple of tests inside the git repository.
For a more advanced case regarding extending a Qt/C++ application with Python bindings based on the idea of the PySide module, you can check the Scriptable Application Example example.
Documentation
You can find more information about Shiboken in our official documentation page.
Metadata
Release files for shiboken6-generator 6.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| shiboken6_generator-6.12.0-cp310-abi3-win_arm64.whl | CPython 3.10 | abi3 | Windows ARM64 | Details |
| shiboken6_generator-6.12.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| shiboken6_generator-6.12.0-cp310-abi3-manylinux_2_39_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.39+ ARM64 | Details |
| shiboken6_generator-6.12.0-cp310-abi3-manylinux_2_34_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.34+ x86-64 | Details |
| shiboken6_generator-6.12.0-cp310-abi3-macosx_14_0_universal2.whl | CPython 3.10 | abi3 | macOS 14.0+ universal2 (ARM64, x86-64) | Details |
Total release size: 280.8 MB
Release files / shiboken6_generator-6.12.0-cp310-abi3-win_arm64.whl
| Download URL | shiboken6_generator-6.12.0-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 27.4 MB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
5e3f120a228d69553e12be24a80d1240896affa5a3a1d7876e8fe4a9dab72cd8
|
|
BLAKE2b-256 checksum How to use checksums |
a614e83d0aaa00784d846947afc8ae8f5dc5cd6c6f4af4cec83b5b2624b91cab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / shiboken6_generator-6.12.0-cp310-abi3-win_amd64.whl
| Download URL | shiboken6_generator-6.12.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 28.3 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
86e9188f4943190cc788f300fe6efc097f11ac00696a202a361b0c55a281a31c
|
|
BLAKE2b-256 checksum How to use checksums |
b121c9630cb40efe2abec877c5c04fd6f701760ba6ba26fd1298d4d941678fd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / shiboken6_generator-6.12.0-cp310-abi3-manylinux_2_39_aarch64.whl
| Download URL | shiboken6_generator-6.12.0-cp310-abi3-manylinux_2_39_aarch64.whl |
|---|---|
| Size | 49.4 MB |
| Tags | CPython 3.10 Linux glibc 2.39+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
04231c9fd011bd4ccc868f544fcf815e2dbfb4a579ba276403f2bb2ae8fc33c1
|
|
BLAKE2b-256 checksum How to use checksums |
72f9ecc02698bc0f827c930e4ad9146a2080512a81e52ab8a4a3c32c9b0b92c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / shiboken6_generator-6.12.0-cp310-abi3-manylinux_2_34_x86_64.whl
| Download URL | shiboken6_generator-6.12.0-cp310-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 56.1 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ba16a07d4368c92619103e620889918c1af575e58828c821b7b75606724ef028
|
|
BLAKE2b-256 checksum How to use checksums |
472e85a88a40c908b0229de1560ec58a3f6f31d2e1a7868922d1c008de5c2c07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / shiboken6_generator-6.12.0-cp310-abi3-macosx_14_0_universal2.whl
| Download URL | shiboken6_generator-6.12.0-cp310-abi3-macosx_14_0_universal2.whl |
|---|---|
| Size | 119.6 MB |
| Tags | CPython 3.10 abi3 macOS 14.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
d93fb47e8f071855f9b92edea24c331d88461c5b94c0ef656eb5efe157bf0abf
|
|
BLAKE2b-256 checksum How to use checksums |
480f879f46f33817c157af58379470719afb4782264073fe2e188892f6842b50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|