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

shiboken6_generator-6.8.0.1-cp39-abi3-win_amd64.whl (24.6 MB view details)

Uploaded CPython 3.9+ Windows x86-64

shiboken6_generator-6.8.0.1-cp39-abi3-manylinux_2_31_aarch64.whl (48.8 MB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.31+ ARM64

shiboken6_generator-6.8.0.1-cp39-abi3-manylinux_2_28_x86_64.whl (52.7 MB view details)

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

shiboken6_generator-6.8.0.1-cp39-abi3-macosx_12_0_universal2.whl (108.1 MB view details)

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

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.8.0.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5a6dc53c676fab6fb48e17c53c8fba77fe667a1ceb7b7a68fe9356356e54513c
MD5 14b25ef43333327e44679c42ddb35d66
BLAKE2b-256 9a0cf1efb392385d6957b85f711788a07e5423c9b1ba170144675d95bcc3cfc1

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.8.0.1-cp39-abi3-manylinux_2_31_aarch64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.8.0.1-cp39-abi3-manylinux_2_31_aarch64.whl
Algorithm Hash digest
SHA256 82a986e48e00bf24975cabea36618c1053402436c5638484d6db49815c246128
MD5 d9f270c6b5b0b41ea81a68ece269f755
BLAKE2b-256 7af7e09dbce337975247c6866f671d464dd0a499472ef593096984a734b8db10

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.8.0.1-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.8.0.1-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 780d0a5790d96af86a6d48470fcba6048e386a71c1f48ab034ffd4406e98852f
MD5 bc76a123c083c5cacc282ce7cd55ea54
BLAKE2b-256 d4772ad6df95a2f32c9f99e6beb5c70d410943f4e2f2b2aac314809d8835d1a9

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.8.0.1-cp39-abi3-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.8.0.1-cp39-abi3-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 fd9bfddf6b8272f63b4021fa4b4949bd6b9ec29975da50fcd3678f339ef2b340
MD5 8f6e754d71f04f0eaa94d1547b50a7a9
BLAKE2b-256 49826aaff3fb30cb8fd4d4bb696c2b15c2114d6b04483161acc2700156ad763c

See more details on using hashes here.

Supported by

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