# 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](https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/samplebinding).
Additionally, you can find a couple of tests inside the
[git repository](https://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources/shiboken6/tests).
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](https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/scriptableapplication)
example in our repository.
# Documentation
You can find more information about Shiboken in our
[official documentation page](https://doc.qt.io/qtforpython/shiboken6/).
Raw data
{
"_id": null,
"home_page": null,
"name": "shiboken6-generator",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.14,>=3.9",
"maintainer_email": null,
"keywords": "Qt",
"author": null,
"author_email": "Qt for Python Team <pyside@qt-project.org>",
"download_url": null,
"platform": null,
"description": "# Shiboken6-generator\n\nShiboken is the generator used by the Qt for Python project. It outputs C++\ncode for CPython extensions, which can be compiled and transformed into\na Python module.\n\nC++ projects based on Qt can be wrapped, but also projects which are not\nrelated to Qt.\n\n## How does it work?\n\nShiboken uses an API Extractor that does most of the job, but it requires\na typesystem (XML file) to customize how the C++ classes/methods will be\nexposed to Python.\n\nThe typesystem allows you to remove arguments from signatures, modify return\ntypes, inject code and add conversion rules from the C++ data types to Python\ndata types, manipulate the ownership of the objects, etc.\n\n# Examples\n\nAn example related to wrap a C++ library not depending on Qt can be found in\nour [repository](https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/samplebinding).\n\nAdditionally, you can find a couple of tests inside the\n[git repository](https://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources/shiboken6/tests).\n\nFor a more advanced case regarding extending a Qt/C++ application with Python\nbindings based on the idea of the PySide module, you can check the\n[scriptableapplication](https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/scriptableapplication)\nexample in our repository.\n\n# Documentation\n\nYou can find more information about Shiboken in our\n[official documentation page](https://doc.qt.io/qtforpython/shiboken6/).\n",
"bugtrack_url": null,
"license": "LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only",
"summary": "Python/C++ bindings generator",
"version": "6.10.0",
"project_urls": {
"Changelog": "https://code.qt.io/cgit/pyside/pyside-setup.git/tree/doc/changelogs",
"Documentation": "https://doc.qt.io/qtforpython",
"Homepage": "https://pyside.org",
"Repository": "https://code.qt.io/cgit/pyside/pyside-setup.git/",
"Tracker": "https://bugreports.qt.io/projects/PYSIDE"
},
"split_keywords": [
"qt"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "24064ef342af3a7f96a2c04bb2d9cd76af6519262cd691e3380b4730f8511194",
"md5": "eb37b0c79b186a6eb3db1c2c8303784f",
"sha256": "d7ca4b763159af1a8fc32c094004cf3291944191bb34d7cca5394298b4b3ad35"
},
"downloads": -1,
"filename": "shiboken6_generator-6.10.0-cp39-abi3-macosx_13_0_universal2.whl",
"has_sig": false,
"md5_digest": "eb37b0c79b186a6eb3db1c2c8303784f",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "<3.14,>=3.9",
"size": 116243722,
"upload_time": "2025-10-08T09:49:20",
"upload_time_iso_8601": "2025-10-08T09:49:20.783294Z",
"url": "https://files.pythonhosted.org/packages/24/06/4ef342af3a7f96a2c04bb2d9cd76af6519262cd691e3380b4730f8511194/shiboken6_generator-6.10.0-cp39-abi3-macosx_13_0_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d28d57a94477907761b4a7c9ba9a735efc64f29aac81d3266671857f736ed607",
"md5": "aa76b423717f887a8d440bcf014284e6",
"sha256": "2cb29e04c4a1d2abf5dcee074f6746fefa74c3d586cdadcab96cc09df7a10406"
},
"downloads": -1,
"filename": "shiboken6_generator-6.10.0-cp39-abi3-manylinux_2_34_x86_64.whl",
"has_sig": false,
"md5_digest": "aa76b423717f887a8d440bcf014284e6",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "<3.14,>=3.9",
"size": 55933661,
"upload_time": "2025-10-08T09:49:27",
"upload_time_iso_8601": "2025-10-08T09:49:27.112127Z",
"url": "https://files.pythonhosted.org/packages/d2/8d/57a94477907761b4a7c9ba9a735efc64f29aac81d3266671857f736ed607/shiboken6_generator-6.10.0-cp39-abi3-manylinux_2_34_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8cd80411be132b1d3f6e086dcf4a36f292b434f310360b21d9041c4f44a1ae80",
"md5": "d858f58a1af10de8a455360da62d1ddf",
"sha256": "fc218587c2491ac79066ad6b978b75bc56824b2720ebcdb713de05b150ebc583"
},
"downloads": -1,
"filename": "shiboken6_generator-6.10.0-cp39-abi3-manylinux_2_39_aarch64.whl",
"has_sig": false,
"md5_digest": "d858f58a1af10de8a455360da62d1ddf",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "<3.14,>=3.9",
"size": 49214782,
"upload_time": "2025-10-08T09:49:32",
"upload_time_iso_8601": "2025-10-08T09:49:32.180191Z",
"url": "https://files.pythonhosted.org/packages/8c/d8/0411be132b1d3f6e086dcf4a36f292b434f310360b21d9041c4f44a1ae80/shiboken6_generator-6.10.0-cp39-abi3-manylinux_2_39_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a44ae745fb0aaf4f1a8ff669b55974ac2ac7ede6ec7d642acc8afd6b91c00ff2",
"md5": "9304551519da32ee7cf851b91d0d18f2",
"sha256": "cf6c869b0b187964817c4a047c29e4d1ff3e7ddb90f73e60067cea0ff58aeae0"
},
"downloads": -1,
"filename": "shiboken6_generator-6.10.0-cp39-abi3-win_amd64.whl",
"has_sig": false,
"md5_digest": "9304551519da32ee7cf851b91d0d18f2",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "<3.14,>=3.9",
"size": 27355708,
"upload_time": "2025-10-08T09:49:35",
"upload_time_iso_8601": "2025-10-08T09:49:35.964039Z",
"url": "https://files.pythonhosted.org/packages/a4/4a/e745fb0aaf4f1a8ff669b55974ac2ac7ede6ec7d642acc8afd6b91c00ff2/shiboken6_generator-6.10.0-cp39-abi3-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2bb3a77bc7d49cf4547392ea4939413e7baf2a12367737ee1c9b9859fe27cc4b",
"md5": "42e0ce4f1cbaf73724d51d95584f706a",
"sha256": "2bdf4f64cae905a9be37724192e0bdedfda9fa3f8df64ac66b66a8e20667e823"
},
"downloads": -1,
"filename": "shiboken6_generator-6.10.0-cp39-abi3-win_arm64.whl",
"has_sig": false,
"md5_digest": "42e0ce4f1cbaf73724d51d95584f706a",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "<3.14,>=3.9",
"size": 26454916,
"upload_time": "2025-10-08T09:49:39",
"upload_time_iso_8601": "2025-10-08T09:49:39.795859Z",
"url": "https://files.pythonhosted.org/packages/2b/b3/a77bc7d49cf4547392ea4939413e7baf2a12367737ee1c9b9859fe27cc4b/shiboken6_generator-6.10.0-cp39-abi3-win_arm64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-08 09:49:20",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "shiboken6-generator"
}