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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: AnyQt-0.1.1.tar.gz
  • Upload date:
  • Size: 43.4 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.4

File hashes

Hashes for AnyQt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 271aee5fd216c14f044917ecc978fadf8b8cd89ecc61060689f0920e51c56276
MD5 adabd770df162bf53a998574d00594be
BLAKE2b-256 5bcce278e69ea918127dd57171484dde3f5dc3919f189a3d01131b5cf6901619

See more details on using hashes here.

File details

Details for the file AnyQt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: AnyQt-0.1.1-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.4

File hashes

Hashes for AnyQt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18f776a26d00c1fe0ac1a60f936d39f39b4c18b31511d8eba41094d1cd1f0bd2
MD5 fd15330ef6c84aab0d70cf8011bc971d
BLAKE2b-256 a89fc0ebfa7206e820e1c5fcd7391961ca1cc84b0998eaa1ac3d54eff44bf7f1

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