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.11.1-cp310-abi3-win_arm64.whl (26.6 MB view details)

Uploaded CPython 3.10+Windows ARM64

shiboken6_generator-6.11.1-cp310-abi3-win_amd64.whl (27.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

shiboken6_generator-6.11.1-cp310-abi3-manylinux_2_39_aarch64.whl (49.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.39+ ARM64

shiboken6_generator-6.11.1-cp310-abi3-manylinux_2_34_x86_64.whl (56.0 MB view details)

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

shiboken6_generator-6.11.1-cp310-abi3-macosx_13_0_universal2.whl (116.5 MB view details)

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

File details

Details for the file shiboken6_generator-6.11.1-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.11.1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7eccbd675d9028e5a02604ed90c7fbae4e89ce275f614bd15f0053fe4f1572c8
MD5 893a39f663ae4807d81c44f98472e61f
BLAKE2b-256 bce51295793179c4ac90c7e9037ce1cf029cae1bef86054db7b67953399b225f

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.11.1-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.11.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d21f852f929328705b8751328e186fd6368c5ff46d59109c5daa0188f68073fd
MD5 e0f8b558461e100fab4588b31b2d6537
BLAKE2b-256 dcd7df6faf9c4e1741cd255552ed53d26484765baaa452fe0224dffc2091d55c

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.11.1-cp310-abi3-manylinux_2_39_aarch64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.11.1-cp310-abi3-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 04925896e033789cbd64f461061aac22a770dae0b5681ba59bacceafe3d48095
MD5 8b29ec1d4f8aa528085bee0ad681da47
BLAKE2b-256 91f660ec37f74048b19c83c436ecd8bbe8fee7d6ca314933df25136bedfd4219

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.11.1-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.11.1-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 123287d441287e9fcae3a9b07482677f0cfbb4d6bc26ff82f6b6439c7f572238
MD5 5d4c02f010ba9a7a0b82dcf597e11161
BLAKE2b-256 a792b2a91ebac4ec1bb91c1ebe57910440594f132e16da8b5ef78468d6eafbf3

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.11.1-cp310-abi3-macosx_13_0_universal2.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.11.1-cp310-abi3-macosx_13_0_universal2.whl
Algorithm Hash digest
SHA256 a35ee3cc57d5f8388d8bbb472e61cddc32fde61c0a2420b1ede0c35842cb846e
MD5 b8218892d45492d04b87afd323626efb
BLAKE2b-256 302b75ec82106f8ab63dbca844055f30861c163f1f00214a15b377f2aa6d5976

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