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

Uploaded Source

Built Distribution

AnyQt-0.0.8-py2.py3-none-any.whl (33.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for AnyQt-0.0.8.tar.gz
Algorithm Hash digest
SHA256 7f1f71ce744e940fb49da0a302d972a9561c0844ab67df77091d631c6f2687b6
MD5 7154018b06770d958659faa8f89c7b9a
BLAKE2b-256 ca6cd51a17bc123982e046eb548b29dd05d7dc878beb916cab1cd85bffc4b425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AnyQt-0.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f6336f0e4bb59352a449c7b2db06137cdc7946f3e47be962f079beca6aca25c
MD5 21d66d413e662f5a2f1192a4c1128454
BLAKE2b-256 7c32f6ae3ad3be05722d344ff8d202d4f0382f7fc75e1ad2fd49cc36ccd2e8a7

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