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

Uploaded Source

Built Distribution

QtPy-1.5.2-py2.py3-none-any.whl (42.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: QtPy-1.5.2.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for QtPy-1.5.2.tar.gz
Algorithm Hash digest
SHA256 4c690f90586c82c1210bb6fdf5e9ee4d1228809421dc6a349c5afacc27caabcd
MD5 c36cd80a5e16deb5a5aec381fdc9c2a3
BLAKE2b-256 ca9618e3d1163a3ec2b9f968d7afd896914212e0708230df44d5a6c342f16d13

See more details on using hashes here.

File details

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

File metadata

  • Download URL: QtPy-1.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 42.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for QtPy-1.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5ac559ef44b86e4eb083f780dd222fcdb753c5d93dd044f7fa6010537e12ddd
MD5 c8e594ec11ba020d3277044e1cb68522
BLAKE2b-256 8eddeef9ac8a6b30cb38fedd1187848d9f3e39b02e5c29e684130c85f314cea6

See more details on using hashes here.

Supported by

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