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

Uploaded Source

Built Distribution

AnyQt-0.0.7-py2.py3-none-any.whl (32.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for AnyQt-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d5eb93921079f59acbf2381286eed7a86781993cc8232eaefcbd83338cae8da7
MD5 bb5703dbf54ba428f32a352ab2f07775
BLAKE2b-256 45841b9b63fca18d22f79d19a5c233cb6938f18f97a1dd6f9a6a28d71b580393

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AnyQt-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b0130e008ea882702fe5b13a4d6d485b6e005e1a6a00a16c160cfce9d4607eec
MD5 306c5f5c463693cfadf17c869619674d
BLAKE2b-256 716e7225ef67c5b25a30fe54aefdaac25941603fae4a48a4e63c20e1d244e4ed

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