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

Uploaded Source

Built Distribution

anyqt-0.2.1-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

Details for the file anyqt-0.2.1.tar.gz.

File metadata

  • Download URL: anyqt-0.2.1.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for anyqt-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a9ed7c5169691a105ef2cea9114d6f8d439875b807d7258a2107f55cb56483f6
MD5 7a9d179b6c7e99a5d317f4b69b1ffe87
BLAKE2b-256 0b49657334a9501285d6860e6c46e5eeadbdf6de7a5fd0b73af1c8951749dabd

See more details on using hashes here.

File details

Details for the file anyqt-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: anyqt-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 56.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for anyqt-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9532aa63a3725b3b05c07a37065d7e2423fbda45f58831f3e1d669a5a4f912d
MD5 f085648d72387ba416ad54a583d730c8
BLAKE2b-256 2207e68e293de059a2c32e356ab708f5ce43d636ef5ea40fc5dbc9f04ccefd48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page