1.0.0.b5
Pre-release
Pre-release
Added support for binding constants.
import Qt
# Before
if Qt.__binding__ == "PyQt5":
# Do PyQt5 things
# After
if Qt.IsPyQt5:
# Do PyQt5 things
Which in addition to cutting down on typed characters also enables your IDE to detect potential misspellings. The previous method still exists and continues to work, there are no plans to deprecate it.
Thanks to @dgovil for this feature!