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

Uploaded Source

Built Distribution

AnyQt-0.1.0rc1-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: AnyQt-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 43.2 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.2

File hashes

Hashes for AnyQt-0.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 41cf8d8bfbbad6f1a1d3d4051dc9a101cc095e47746672f68cbd61567f5f1748
MD5 d5081628b0eb919f8a90267608f0dbe5
BLAKE2b-256 9fbe174c0ec01f7b0f5094e51bed8a61126d5fd4259a054fe33ef8ddd21bb34a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AnyQt-0.1.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 53.8 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.2

File hashes

Hashes for AnyQt-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 b829f7079a96f68eb4c88802c02d67e25af606c22113aecb543da1401968010e
MD5 d9a1df32ae335171759a353d2e6414cc
BLAKE2b-256 97c1588af66e2112e69fdeceaf8de6eca5e45186e49a4a86fc82c98038b13622

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