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
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
File details
Details for the file AnyQt-0.2.0.tar.gz
.
File metadata
- Download URL: AnyQt-0.2.0.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9228b918a26df2fdcc61f135db548ad3c3036e5bc7e67ba8147e0b6683763b |
|
MD5 | ab8e0cf844cd3cd17f386da9e34f6e95 |
|
BLAKE2b-256 | 234cea43dc35e2460199758b4ae78e476ccd2bc8d54672eb1a71be3fbe188b84 |
File details
Details for the file AnyQt-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: AnyQt-0.2.0-py3-none-any.whl
- Upload date:
- Size: 56.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486664a7a5390d276b2a0f62a7dd43a6d93445359676a0be17a68a58034b9b7d |
|
MD5 | 045c5ffb3fd6ea9fb758c471df13fb1b |
|
BLAKE2b-256 | 56cf23fecd7086b1eea4d07eabb053f9b5893741e2ef71a2692ce00c1a741f82 |