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.1.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for QtPy-1.3.1.tar.gz
Algorithm Hash digest
SHA256 08af2525d59f9eb639946d5ed7a72b002103c5b7369c0ef0dd70ad2696845313
MD5 920d35170c55f37c5ad6cf6bf78321d7
BLAKE2b-256 b916b801f43a911e644c3308f86f8c294a5a2d1e7c6d77a87122bdb03b29888d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for QtPy-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 65f530bd42e64436712591a7e8d0f0588c780fcff1da4ed6bc00beb17691897b
MD5 8e6e609eeee6b21902a2f5192760dae0
BLAKE2b-256 5981aaf7437d785386e1f65321ce62c0c5f0e5c25de496a2240c3356cebc81db

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