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.6.1-cp38-abi3-win_amd64.whl (22.8 MB view details)

Uploaded CPython 3.8+Windows x86-64

shiboken6_generator-6.6.1-cp38-abi3-manylinux_2_31_aarch64.whl (12.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.31+ ARM64

shiboken6_generator-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl (27.3 MB view details)

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

shiboken6_generator-6.6.1-cp38-abi3-macosx_11_0_universal2.whl (52.9 MB view details)

Uploaded CPython 3.8+macOS 11.0+ universal2 (ARM64, x86-64)

File details

Details for the file shiboken6_generator-6.6.1-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.6.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 34e9491290096da524ddc179c1760776705558430e1c9f57d5f355101d4d651b
MD5 c18934ce1377e6d4bcd3cd69ac98c131
BLAKE2b-256 4369fcde995b84504007cb06dc99b0b8b34e2055b6e9b10cc38b8318452ba292

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.6.1-cp38-abi3-manylinux_2_31_aarch64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.6.1-cp38-abi3-manylinux_2_31_aarch64.whl
Algorithm Hash digest
SHA256 accd6c0a1a12cc31851a07aa4f28a95ffc7cdb0dafc109f8fbbdb5b9ecdf5a41
MD5 530dcfad40b97ac0290bbc5d8144e345
BLAKE2b-256 29660b7c61af0548daeff0bde175b60dc99cd326af56bf635d59404e2c9c3997

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8656967307512316129d91cfb226125811ac05b25da43172c44f0d25bbe02325
MD5 c2f3c807bcbf920de3c4999cc8ae94d5
BLAKE2b-256 42a1f5d89838b155d8c840380ae0673c82e0b52fd87d100287436f3ccb0a52ee

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.6.1-cp38-abi3-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.6.1-cp38-abi3-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 659ddb9a316dfb4f893fc3d2535d11702335b23403edbf00b652a932d79887d2
MD5 0c22a2e57bf2eb30cc32767f50f52410
BLAKE2b-256 70847b776a8bfad775afd19adb9d643c93d29107d7a8df5689badfcd735b5222

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