Skip to main content

PyQt4/PyQt5 compatibility layer.

Project description

PyQt4/PyQt5 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 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).

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

Uploaded Source

Built Distribution

AnyQt-0.0.2-py2.py3-none-any.whl (30.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: AnyQt-0.0.2.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for AnyQt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4c67b75886a9bae78b369d9112a040e1091dae31830a67057e83f328250897e1
MD5 fa69b90d66bc94579cca20b354309e32
BLAKE2b-256 4b08eb13a5fcc7d24ca6213e4f9776aa35d3271bb1455a469b1062a0d361958b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AnyQt-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6f1859dc61dbf8c92005eeb46a571582af7d3db5af014a33827c20a1ab84bd24
MD5 5bdfd0decd6c782ecbf03d0e1855f6da
BLAKE2b-256 90e9a4a5bbba2ab3768596d54709ef3069293c2a2b10fbd99f02644f92ca2128

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