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
Release history Release notifications | RSS feed
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.6.tar.gz
(44.0 kB
view hashes)
Built Distribution
AnyQt-0.0.6-py2.py3-none-any.whl
(32.3 kB
view hashes)
Close
Hashes for AnyQt-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7fd320545cd1aba41ad4723f1a2c51a9032d0fcc5e822264a0ff3ba64e2eb36 |
|
MD5 | 5331e1629cd648bf00deeeed27e12ed3 |
|
BLAKE2b-256 | adef7ca47ccd67d032f8b102956d26a348c7b31a09deba6e494102bbe629a34d |