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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

shiboken6_generator-6.11.0-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.0-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.0-cp310-abi3-macosx_13_0_universal2.whl (116.4 MB view details)

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

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.11.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ade41362b656673c17146ea919dc24a4d80f4c470789fc39f18b2174c5490afb
MD5 7848e3ffbcd188c6e4ef50e35327058e
BLAKE2b-256 8457dabee054a27c9687f908f777c367a069335a130fd5fce3d4c61819e6b2f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.11.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 321674894f7ea6d55e5ef2025bd9293a85d59670b1be178f99b21bb63d974aab
MD5 316885e82296392938269ea88d51746f
BLAKE2b-256 37665c4f0eae6e222200fb47b1b636313b78ea6aa8994a4905c0fa6e1391c3d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.11.0-cp310-abi3-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 cb936de548cd38dabb51469d9931a350b4bbc2b1d40bff343d4eca42fb7cd56c
MD5 9a7183d7385522f0171a1f417083fbf0
BLAKE2b-256 b2d8147d75d5abf5d03ca273522a52c25408bf6fe0eaf318c1abdd567323233a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.11.0-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3537b67c0f855602f6abf2412a095e7f5b0c60cc633b8cf1546ab78b3d38a118
MD5 c5da970a46950af06008e0c82bf29bb3
BLAKE2b-256 6e00fe88ff032f0cf93aa78f1b9cdff6b361317833a2eaec57a9f17aa06b2706

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.11.0-cp310-abi3-macosx_13_0_universal2.whl
Algorithm Hash digest
SHA256 369be622de46d7f128365a3dedaa9a08267c47027e4ae16965e0fa9f55dc5ad5
MD5 1682dadcb14c5eaaced22209298f1dab
BLAKE2b-256 7bc74c134c53a57fe7ade96390a5fddb156978160c2b77fad5f76a823cbf9baa

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