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

Uploaded Source

Built Distribution

AnyQt-0.0.1-py2.py3-none-any.whl (29.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for AnyQt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 495f58a197cdc9af6cd2cf649c605ed60b74ecca7357435acf09247224607113
MD5 a4a36e3b585547868f576328bc52f828
BLAKE2b-256 b52f5027965488c56055ffdc58f73cea271e9d756e1c6cad625f997a707a8588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AnyQt-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a1acad4e423ccfca8eaec1b4276a1c96c15f77f519e95151fcb3a89413b57f99
MD5 f9ce28d6af9e8cd91fb3a65d7f875109
BLAKE2b-256 b82ca0cfa8c0d4c0cad17218e3d6a8b1a8baa43d676ea9d86e7a282f000ab233

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