python3-qtpy

Abstraction layer for PySide2/PySide6/PyQt5/PyQt6 (Python 3)

Description

QtPy (pronounced 'cutie pie') is a small abstraction layer that lets you write applications using a single API call to either PyQt or PySide. QtPy also provides a set of additional QWidgets.

It provides support for PyQt5, PyQt6, PySide2 and PySide6 using the PyQt5 layout (where the QtGui module has been split into QtGui and QtWidgets). You write your code as if you were using PyQt5 but import from QtPy instead of PyQt5.

This package contains the Python modules for QtPy without depending on any Qt toolkit packages as the package that uses QtPy needs to depend on the necessary packages. The python3-qtpy-pyqt5, python3-qtpy-pyqt6, python3-qtpy-pyside2, python3-qtpy-pyside6 variant packages can be used to install all the toolkit packages if appropriate for your particular application.

Note that for a short transitional period, this package will continue to depend on the PyQt5 packages to avoid instantly breaking every package that depends on the old behaviour. Those packages should migrate to either depending on one of the python3-qtpy-* metapackages or listing their PyQt*/PySide* dependencies explicitly.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/spyder-ide/qtpy


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-qtpy