Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets.
Project Links
Meta
Author: Gonzalo Peña-Castellanos
Classifiers
Development Status
- 4 - Beta
Environment
- X11 Applications :: Qt
- Win32 (MS Windows)
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Operating System
- OS Independent
Programming Language
- Python :: 2
- Python :: 2.7
- Python :: 3
- Python :: 3.3
- Python :: 3.4
Topic
- Software Development :: Widget Sets
QtPy: Abtraction layer for PySide/PyQt4/PyQt5
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, PyQt4 and PySide using the PyQt5 layout (where the QtGui module has been split into QtGui and QtWidgets).
Basically, you write your code as if you were using PyQt5 but import qt from qtpy instead of PyQt5.
Attribution and acknowledgements
This project is based on the pyqode.qt project and the spyderlib.qt module from the spyder project.
Unlike pyqode.qt this is not a namespace package so it is not tied to a particular project, or namespace.
Feb 11, 2025
2.4.3
Nov 04, 2024
2.4.2
Oct 23, 2023
2.4.1
Aug 29, 2023
2.4.0
Mar 28, 2023
2.3.1
Nov 07, 2022
2.3.0
Oct 03, 2022
2.2.1
Aug 10, 2022
2.2.0
May 02, 2022
2.1.0
Feb 02, 2022
2.0.1
Dec 22, 2021
2.0.0
Dec 03, 2021
1.11.3
Sep 23, 2021
1.11.2
Sep 13, 2021
1.11.1
Sep 03, 2021
1.11.0
Aug 17, 2021
1.10.0
Jul 23, 2019
1.9.0
Jun 12, 2019
1.8.0
May 05, 2019
1.7.1
Mar 16, 2019
1.7.0
Jan 12, 2019
1.6.0
Oct 20, 2018
1.5.2
Sep 18, 2018
1.5.1
Aug 25, 2018
1.5.0
May 06, 2018
1.4.2
Apr 28, 2018
1.4.1
Mar 11, 2018
1.4.0
Aug 21, 2017
1.3.1
Aug 12, 2017
1.3.0
Jan 22, 2017
1.2.1
Jan 08, 2017
1.2.0
Aug 08, 2016
1.1.2
Jul 01, 2016
1.1.1
Jun 30, 2016
1.1.0
Jun 02, 2016
1.0.2
Apr 10, 2016
1.0.1
Mar 22, 2016
1.0
Jan 22, 2016
1.0b1
Dec 30, 2015
0.1.3
Mar 01, 2015
0.1.2
Mar 01, 2015
0.1.1
Wheel compatibility matrix
Files in release
No dependencies