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.

Source Distribution

AnyQt-0.0.3.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

AnyQt-0.0.3-py2.py3-none-any.whl (30.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file AnyQt-0.0.3.tar.gz.

File metadata

  • Download URL: AnyQt-0.0.3.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for AnyQt-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5afd33916d7fc13d4fd5d42ddcd2c5e3e0d353ab030a9e57fd63f63008dd2771
MD5 abc7aeb98cba6fcf83a490ff3a2a03c8
BLAKE2b-256 803ceac5125c5869b37e45a5a6dc02c8f49beae05338822c1c3e704ae53a47ae

See more details on using hashes here.

File details

Details for the file AnyQt-0.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for AnyQt-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 862e44b9c634836663d3719f48b0ba539ddeff14bbd9b554823e930b261f9550
MD5 e511a331ae0c793a41bd49fd3809986d
BLAKE2b-256 1bf85d45086b00d0395a65024efdd36b805ab8960ea28e460bf35607188e891a

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