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
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
Built Distribution
Hashes for AnyQt-0.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40e8ea031a98af837406c4c6f2f2a518b46c53124bd50727853700489239c9f5 |
|
MD5 | 3235abd8592c4c3e628c77c190f6c1c8 |
|
BLAKE2b-256 | 0a4809e6704ad67d50e01c2af6a155a26204538bf4670a0d6732a6737efac10c |