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

Uploaded Source

Built Distribution

AnyQt-0.0.11-py2.py3-none-any.whl (46.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: AnyQt-0.0.11.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.5

File hashes

Hashes for AnyQt-0.0.11.tar.gz
Algorithm Hash digest
SHA256 4436dee6e0c9fa1b1d67971e03f30b6cf1896ee74ac461125e70cb9fe367823e
MD5 1e301e94ee6cf196ebc909a8ed77c252
BLAKE2b-256 c0e23e957614f30a9a6d8108e5e0527725653e0548c76fae20ece9059201c9d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AnyQt-0.0.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.5

File hashes

Hashes for AnyQt-0.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f6c50ac08693bd0316b4d7abc0e0f7d805e588b6b179bbc2ae05668755ffe88
MD5 9c28d0ab72a3ff1a7a742bff2ee86b97
BLAKE2b-256 0ee9bde5c1e6871068ff78b2ea18bd2e9bfa7cd6ecfd1e8f1c280cb238138bc1

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