shiboken6-generator


Nameshiboken6-generator JSON
Version 6.8.1.1 PyPI version JSON
download
home_pageNone
SummaryPython/C++ bindings generator
upload_time2024-12-20 11:44:28
maintainerNone
docs_urlNone
authorNone
requires_python<3.14,>=3.9
licenseLGPL
keywords qt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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",
    "summary": "Python/C++ bindings generator",
    "version": "6.8.1.1",
    "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": "6d0e0fb59f2ee5a833761fd859d27526b31ac3b7271bb53a5fa23deeab5775ef",
                "md5": "7e97892b424e06474f37869569ad0349",
                "sha256": "b74670ae764c2e48ff0b5df38070054800bb7e724a6ebec02ab1861bce55775f"
            },
            "downloads": -1,
            "filename": "shiboken6_generator-6.8.1.1-cp39-abi3-macosx_12_0_universal2.whl",
            "has_sig": false,
            "md5_digest": "7e97892b424e06474f37869569ad0349",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "<3.14,>=3.9",
            "size": 108100789,
            "upload_time": "2024-12-20T11:44:28",
            "upload_time_iso_8601": "2024-12-20T11:44:28.297970Z",
            "url": "https://files.pythonhosted.org/packages/6d/0e/0fb59f2ee5a833761fd859d27526b31ac3b7271bb53a5fa23deeab5775ef/shiboken6_generator-6.8.1.1-cp39-abi3-macosx_12_0_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-20 11:44:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "shiboken6-generator"
}
        
Elapsed time: 0.42479s