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.2.tar.gz
(42.7 kB
view hashes)
Built Distribution
AnyQt-0.0.2-py2.py3-none-any.whl
(30.1 kB
view hashes)
Close
Hashes for AnyQt-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f1859dc61dbf8c92005eeb46a571582af7d3db5af014a33827c20a1ab84bd24 |
|
MD5 | 5bdfd0decd6c782ecbf03d0e1855f6da |
|
BLAKE2b-256 | 90e9a4a5bbba2ab3768596d54709ef3069293c2a2b10fbd99f02644f92ca2128 |