loongson/pypi/: shiboken2-generator-5.15.2.1 metadata and description

Homepage Simple index

Python / C++ bindings generator

author Qt for Python Team
author_email pyside@qt-project.org
classifiers
  • Development Status :: 5 - Production/Stable
  • Environment :: Console
  • Environment :: MacOS X
  • Environment :: X11 Applications :: Qt
  • Environment :: Win32 (MS Windows)
  • Intended Audience :: Developers
  • License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
  • License :: Other/Proprietary License
  • Operating System :: MacOS :: MacOS X
  • Operating System :: POSIX
  • Operating System :: POSIX :: Linux
  • Operating System :: Microsoft
  • Operating System :: Microsoft :: Windows
  • Programming Language :: C++
  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.5
  • Programming Language :: Python :: 3.6
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Topic :: Database
  • Topic :: Software Development
  • Topic :: Software Development :: Code Generators
  • Topic :: Software Development :: Libraries :: Application Frameworks
  • Topic :: Software Development :: User Interfaces
  • Topic :: Software Development :: Widget Sets
description_content_type text/markdown
download_url https://download.qt.io/official_releases/QtForPython
keywords Qt
license LGPL
requires_dist
  • shiboken2 ==5.15.2.1
requires_python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.11

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
shiboken2_generator-5.15.2.1-5.15.2-cp310-cp310-linux_loongarch64.whl
Size
942 KB
Type
Python Wheel
Python
3.1.0

Shiboken2-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.