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

Uploaded Source

Built Distribution

AnyQt-0.0.9-py2.py3-none-any.whl (45.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: AnyQt-0.0.9.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.2

File hashes

Hashes for AnyQt-0.0.9.tar.gz
Algorithm Hash digest
SHA256 07a33d646f0ebff288e5dd6427e8a3f7c39e4a714103a7f08d3719c4a4f9f1b1
MD5 ce472cf6b18fd68a18ad84c042834e2f
BLAKE2b-256 58229f154fdcc500f47c80765bdd58fcd49418a9a842ce7d541f975fbde8f384

See more details on using hashes here.

File details

Details for the file AnyQt-0.0.9-py2.py3-none-any.whl.

File metadata

  • Download URL: AnyQt-0.0.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.2

File hashes

Hashes for AnyQt-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40e8ea031a98af837406c4c6f2f2a518b46c53124bd50727853700489239c9f5
MD5 3235abd8592c4c3e628c77c190f6c1c8
BLAKE2b-256 0a4809e6704ad67d50e01c2af6a155a26204538bf4670a0d6732a6737efac10c

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