Yet another PyQt4/PyQt5 compatibility layer
Python
Clone or download
Latest commit 3ca28c8 Feb 28, 2018
Permalink
Failed to load latest commit information.
AnyQt Fix QtQuick Feb 26, 2018
conda-recipe
docs Add test Feb 21, 2018
test
.gitignore
LICENSE.txt Add LICENSE.txt and more distribution metadata in setup.py Apr 5, 2016
MANIFEST.in
README.txt Mention PySide in README Feb 26, 2018
setup.cfg Add some basic documentation Apr 6, 2016
setup.py

README.txt

AnyQt
-----

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).