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.3-cp39-abi3-win_arm64.whl (26.5 MB view details)

Uploaded CPython 3.9+Windows ARM64

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

Uploaded CPython 3.9+Windows x86-64

shiboken6_generator-6.10.3-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.3-cp39-abi3-manylinux_2_34_x86_64.whl (56.0 MB view details)

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

shiboken6_generator-6.10.3-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.3-cp39-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.10.3-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 50fcbd0340de7616696f0260c5912d0f2341ffd763e6daaff6291263e4c1dd7e
MD5 45fa6f9bc193c8f1cd5c6ea7317b306a
BLAKE2b-256 bca16d987438ed4355393ec8503500cc8b97be279b717fea72c77e0accfa74e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.10.3-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ded791a3e8d9805989c8038e6c96640544d1558a276bf611fe0c69618f0bf49b
MD5 df7511e626978d48c9ac12fd03fcecba
BLAKE2b-256 d3c875dee41ec2f7114ff46a26677cec308f87d3e28c9a12a9f31e6800c389fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.10.3-cp39-abi3-manylinux_2_39_aarch64.whl
Algorithm Hash digest
SHA256 47cfb7b0d7b13ecdafe1c277ffe76d6a7a9932ac0cb5623f9c0964ce9894d7bf
MD5 a6d576a333d68d4fc96f5c101715270a
BLAKE2b-256 fd38d90edc1d15921745b8e42581bb92ba0dc61c9428ca6489eb404a891e1ad0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.10.3-cp39-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 621fc7877e565fe5d5ed2481128566ce13461d9ba64b8eb693661265641946a5
MD5 f3608cfde7502894720478a34a2bf86e
BLAKE2b-256 20810e806c489edf950f089cbe709107f4d4b78e6e235e0abb357cc01ae6ba32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.10.3-cp39-abi3-macosx_13_0_universal2.whl
Algorithm Hash digest
SHA256 aa799662d4bc8886403167ca051544fcd0d3ab62ee1338cb6201bbec7d48e085
MD5 5589750dc605348c0c07928be81cffb1
BLAKE2b-256 bed19538440b9bcfb4da98756e4a8fa47e5d69b2d1b9a2b3abc1573cef33bd84

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