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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: AnyQt-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 aa261a28c3da6e7d9cee16fab209343b272b9f7ab39ad42ae02dc1687834c402
MD5 f227ebee04ce281143d7b53f2d1ce231
BLAKE2b-256 e528e7ebb286896a6001ee0435417f8672987ccd0f2d40097b8aec51f275a50f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AnyQt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 53.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eebc4e17758df3af1aee34e1ef3d9c1d939d0a3733040f786a8e8b59b66a7a1b
MD5 c08473b820c2a2edbc06f2226d427d42
BLAKE2b-256 c93303cea4835f451fe0521c730366cf2016f7cb280daebb51bfd360f76e5a4f

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