Python/C++ bindings generator
Project description
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
An example related to wrap a C++ library not depending on Qt can be found in our repository.
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 scriptableapplication example in our repository.
Documentation
You can find more information about Shiboken in our official documentation page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shiboken6_generator-6.10.2-cp39-abi3-win_arm64.whl.
File metadata
- Download URL: shiboken6_generator-6.10.2-cp39-abi3-win_arm64.whl
- Upload date:
- Size: 26.5 MB
- Tags: CPython 3.9+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3924d3612f3c32d0eab4a4d555933e089f91d0c1276196db27dcde2f42cc105
|
|
| MD5 |
a75f4d80f46c5fb91711b9ec46dcf3af
|
|
| BLAKE2b-256 |
ca2b4685ba56178e25c3c68ac93af7863558ce94270d1b84b10e14ea52e4fb72
|
File details
Details for the file shiboken6_generator-6.10.2-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: shiboken6_generator-6.10.2-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 27.4 MB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5d16745428e2660a70c12bfa6476e5c5254ead6e79c190621ce9baa17339eaf
|
|
| MD5 |
3b002d6bbe378b511e1ca2e97adc3cdb
|
|
| BLAKE2b-256 |
9b5eca34e5a147bf3911eaee2177f6af8d74440885fb06217e7c91671e197ddb
|
File details
Details for the file shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_39_aarch64.whl.
File metadata
- Download URL: shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_39_aarch64.whl
- Upload date:
- Size: 49.2 MB
- Tags: CPython 3.9+, manylinux: glibc 2.39+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
859e4398d9d9b1da91cd5c9be9823a6ee49cc78cc55754fd29b1c7081f4ea360
|
|
| MD5 |
5a7c8f2054a21b62d14b8f023a3c042f
|
|
| BLAKE2b-256 |
6a6f254af7559007371791752905027bcd1629e1ecb80b1a25ac1b50065f3109
|
File details
Details for the file shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 55.9 MB
- Tags: CPython 3.9+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1d8e2f7bfde63e8f06e5f9b2305030f93d7ffaca98d7f2d83b02fc7373455cd
|
|
| MD5 |
53e89101ed9a13d8951fac1e44c99b5d
|
|
| BLAKE2b-256 |
053149bdada898489a8d210b15cf03a736ee440daa6a9c6a56d455e70e36e580
|
File details
Details for the file shiboken6_generator-6.10.2-cp39-abi3-macosx_13_0_universal2.whl.
File metadata
- Download URL: shiboken6_generator-6.10.2-cp39-abi3-macosx_13_0_universal2.whl
- Upload date:
- Size: 116.3 MB
- Tags: CPython 3.9+, macOS 13.0+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f5d053c744ec7ac8739908f5c759c62bae1043623faaab94fe399f36135766e
|
|
| MD5 |
a4db6153e255b7c8ec0202a261d125aa
|
|
| BLAKE2b-256 |
1828fd5f5965c11e3533ea0bd717fb1745cb6e76231eac6d22ba9765e26d4cdf
|