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

Uploaded Source

Built Distribution

QtPy-1.6.0-py2.py3-none-any.whl (43.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: QtPy-1.6.0.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for QtPy-1.6.0.tar.gz
Algorithm Hash digest
SHA256 fd5c09655e58bf3a013d2940e71f069732ed67f056d4dcb2b0609a3ecd9b320f
MD5 dc7dd4683e64e0764d6c47bf45a4deae
BLAKE2b-256 60eb97613c6faf3df25be90107a5affe934bb0b240a4048d639d1f116dbae630

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: QtPy-1.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 43.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for QtPy-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58c4cff9f1a559559350f5f513d7c8f9ef4b26b5565eee93b9c65980c2d439c1
MD5 b3b98cb7833d07f1f70d07943c2ca31f
BLAKE2b-256 88314e09942c43cd46050025b8b80c8d8c972dc88807740a49351bd4af41f1ab

See more details on using hashes here.

Provenance

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