Skip to main content

PyQt4/PyQt5 compatibility layer.

Project description

PyQt4/PyQt5 compatibility layer.

Features:

  • At the top level AnyQt exports a Qt5 compatible module namespace along with some minimal renames to better support portability between different versions
  • Which Qt api/backend is chosen can be controlled by a QT_API env variable
  • The api can be chosen/forced programmatically (as long as no PyQt4/PyQt5/PySide was already imported)
  • provides an optional compatibility import hook, that denys imports from conflicting Qt api, or intercepts and fakes a Qt4 api imports, to use a Qt5 compatible API (some monkey patching is involved).

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
AnyQt-0.0.8-py2.py3-none-any.whl (33.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 30, 2016
AnyQt-0.0.8.tar.gz (34.3 kB) Copy SHA256 hash SHA256 Source None Dec 30, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page