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

Uploaded Source

Built Distribution

AnyQt-0.0.6-py2.py3-none-any.whl (32.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for AnyQt-0.0.6.tar.gz
Algorithm Hash digest
SHA256 40a77fd166cb2d9ba04c01b892fa646d93affedfea96ad8411995b0b7cd5db9d
MD5 c357d2d43e24fda651c3f24ffa89f8f4
BLAKE2b-256 ee2917c8e74a33ea60d981b22a7194781b090a2d71480af85f3c01c817d04126

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AnyQt-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a7fd320545cd1aba41ad4723f1a2c51a9032d0fcc5e822264a0ff3ba64e2eb36
MD5 5331e1629cd648bf00deeeed27e12ed3
BLAKE2b-256 adef7ca47ccd67d032f8b102956d26a348c7b31a09deba6e494102bbe629a34d

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