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.7.3-cp39-abi3-win_amd64.whl (22.6 MB view details)

Uploaded CPython 3.9+ Windows x86-64

shiboken6_generator-6.7.3-cp39-abi3-manylinux_2_31_aarch64.whl (48.6 MB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.31+ ARM64

shiboken6_generator-6.7.3-cp39-abi3-manylinux_2_28_x86_64.whl (42.1 MB view details)

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

shiboken6_generator-6.7.3-cp39-abi3-macosx_11_0_universal2.whl (107.6 MB view details)

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

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.7.3-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3092cfe268486db2dcfa0c9a4985654e0f95850bfcc55a1d9c2a3c3ada02e592
MD5 a1929bc003f00d2a43be124e1e6d4d46
BLAKE2b-256 5850365bcd2fea22fa0672af308ee18eaac162536474686e1427c21f2c172ac0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.7.3-cp39-abi3-manylinux_2_31_aarch64.whl
Algorithm Hash digest
SHA256 821d74ec20a1bc5858035a5782cd4d7ed0513e46bd64db7284056fa73dd54ca9
MD5 081cf77c776d9c39df582729c803627d
BLAKE2b-256 abf392a0267c89f81afa99a1733850eea5c8a360cf50212df546619e8b35b79e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiboken6_generator-6.7.3-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c1d8138f901e0ca55916c963b7d6d77dd34d6e8c4c609b711c9ce1c40d5b33e
MD5 5590476432dd84320578459dfe0da1b2
BLAKE2b-256 28cff233f49e00b95bb9f35fa9f7b1a8d86b182371009b73757c7d7dc82643d7

See more details on using hashes here.

File details

Details for the file shiboken6_generator-6.7.3-cp39-abi3-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for shiboken6_generator-6.7.3-cp39-abi3-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 ae5cb9de27bd87f3ed3789dcbd21e0f40a2d35fe02025335f76e2e8bb2fafa48
MD5 3136eff626457e27faa71948ff8fe9b0
BLAKE2b-256 b5f0fe57364cb681bd34dde96b7442471c6c57e8a9f4e3c5a5a2923aa8a3022c

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