Skip to main content

PyQt4/PyQt5 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.0.14.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

AnyQt-0.0.14-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: AnyQt-0.0.14.tar.gz
  • Upload date:
  • Size: 39.0 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.0.14.tar.gz
Algorithm Hash digest
SHA256 bde437983498045c85e69fc9906508a6394a69d486c598c031e53d8933f10e9c
MD5 b8b2a8f44ac9dccbe5d1f1fd80fc180d
BLAKE2b-256 96c9e92571bafdd42c22910bb5570f451015e98b58d5875482d7073007e9435a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AnyQt-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 48.5 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.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 3e407c1db522b4d3ab9ed7cf0050c85f5b10bfa0211ddcb77f62f0d77ee10090
MD5 b355deda5b54bdb556b75ca28d74cb0a
BLAKE2b-256 cbc135013e6fe71b3a0faa19dffe2966dafb83e53255ebd468410d08c185adb9

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