Skip to main content

PyQt5/PyQt6 compatibility layer.

Project description

PyQt/PySide 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/PySide2 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).

The documentation is hosted at https://anyqt.readthedocs.io/en/stable/

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

Uploaded Source

Built Distribution

AnyQt-0.2.0rc1-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file AnyQt-0.2.0rc1.tar.gz.

File metadata

  • Download URL: AnyQt-0.2.0rc1.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5

File hashes

Hashes for AnyQt-0.2.0rc1.tar.gz
Algorithm Hash digest
SHA256 37efff031f88344a99996f699fda2d64ce642b8cdf31a8996c566520214d3cf0
MD5 65fba1df2a453ea17e8bbb8d336cbdd4
BLAKE2b-256 985e03071a11774cafa3102180d8604cce9b926ac4e5d5d35ac8041e78e5123e

See more details on using hashes here.

File details

Details for the file AnyQt-0.2.0rc1-py3-none-any.whl.

File metadata

  • Download URL: AnyQt-0.2.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5

File hashes

Hashes for AnyQt-0.2.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 f951ba2859f2010e33f0101a94a33dd8bb662e6285c5c77f1361fe8e87b5071f
MD5 55f03a8f40d2df9185020e699d5f5895
BLAKE2b-256 c67242ce274b833b95c680561705a98008b184cdaca7fcc302b5892100373bed

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