Skip to main content

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.

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.

shiboken6_generator-6.10.2-cp39-abi3-win_arm64.whl (26.5 MB view details)

Uploaded CPython 3.9+Windows ARM64

shiboken6_generator-6.10.2-cp39-abi3-win_amd64.whl (27.4 MB view details)

Uploaded CPython 3.9+Windows x86-64

shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_39_aarch64.whl (49.2 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.39+ ARM64

shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_34_x86_64.whl (55.9 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.34+ x86-64

shiboken6_generator-6.10.2-cp39-abi3-macosx_13_0_universal2.whl (116.3 MB view details)

Uploaded CPython 3.9+macOS 13.0+ universal2 (ARM64, x86-64)

File details

Details for the file shiboken6_generator-6.10.2-cp39-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.10.2-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a3924d3612f3c32d0eab4a4d555933e089f91d0c1276196db27dcde2f42cc105
MD5 a75f4d80f46c5fb91711b9ec46dcf3af
BLAKE2b-256 ca2b4685ba56178e25c3c68ac93af7863558ce94270d1b84b10e14ea52e4fb72

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.10.2-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.10.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f5d16745428e2660a70c12bfa6476e5c5254ead6e79c190621ce9baa17339eaf
MD5 3b002d6bbe378b511e1ca2e97adc3cdb
BLAKE2b-256 9b5eca34e5a147bf3911eaee2177f6af8d74440885fb06217e7c91671e197ddb

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 859e4398d9d9b1da91cd5c9be9823a6ee49cc78cc55754fd29b1c7081f4ea360
MD5 5a7c8f2054a21b62d14b8f023a3c042f
BLAKE2b-256 6a6f254af7559007371791752905027bcd1629e1ecb80b1a25ac1b50065f3109

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.10.2-cp39-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c1d8e2f7bfde63e8f06e5f9b2305030f93d7ffaca98d7f2d83b02fc7373455cd
MD5 53e89101ed9a13d8951fac1e44c99b5d
BLAKE2b-256 053149bdada898489a8d210b15cf03a736ee440daa6a9c6a56d455e70e36e580

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.10.2-cp39-abi3-macosx_13_0_universal2.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.10.2-cp39-abi3-macosx_13_0_universal2.whl
Algorithm Hash digest
SHA256 5f5d053c744ec7ac8739908f5c759c62bae1043623faaab94fe399f36135766e
MD5 a4db6153e255b7c8ec0202a261d125aa
BLAKE2b-256 1828fd5f5965c11e3533ea0bd717fb1745cb6e76231eac6d22ba9765e26d4cdf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page