Skip to main content

Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide) and additional custom QWidgets.

Project description

Latest PyPI version Number of PyPI downloads

QtPy: Abtraction layer for PyQt5/PyQt4/PySide

QtPy (pronounced ‘cutie pie’) is a small abstraction layer that lets you write applications using a single api call to either PyQt or PySide.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

QtPy-1.3.0.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

QtPy-1.3.0-py2.py3-none-any.whl (32.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file QtPy-1.3.0.tar.gz.

File metadata

  • Download URL: QtPy-1.3.0.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for QtPy-1.3.0.tar.gz
Algorithm Hash digest
SHA256 9262a9811b1868ed120f6a4212051d6770b35e4a16b505b2ae0b80522ef56db4
MD5 e3f8924c14afdc04bf9cc1d2d381904e
BLAKE2b-256 13328580cb5ae896d06fcb7c8aa18c104bb4343ea237b7ca816b4768cee21d86

See more details on using hashes here.

File details

Details for the file QtPy-1.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for QtPy-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 98c5c1e26f08a619f9b8401dbd04de0d5e63a29239c0872cc0651f96199df2c0
MD5 3db7a5825b2b1f3dee9b434dfe94fb01
BLAKE2b-256 8ed163b38a25f5df798d383fac267a200b640d82e5c39368bb836bd52a406cd8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page