Apocrypha

qtpy

Abstraction layer on top of PyQt and PySide with additional custom QWidgets

QtPy is a small abstraction layer that lets you write applications using a single API call to either PyQt or PySide. It provides support for PyQt6 and PySide6. Basically, you can write your code as if you were using PyQt6 but import Qt modules from qtpy instead of PyQt6 (or PySide6)

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 2.4.3-r3 1 14 h details ›
stuff GitHub ↗ 2.4.3-r99 1 2 d details ›
pkalin GitHub ↗ 2.4.3_pre99 1 18 d details ›
pypi GitHub ↗ 2.4.3 1 5 mo details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvarmloong Committed
2.4.3-r99 stuff amd64 testing arm64 testing x86 testing ppc64 testing riscv testing arm testing loong testing 2 mo view · download · history ↗
2.4.3-r3 gentoo amd64 stable arm64 stable x86 stable ppc64 testing riscv testing arm testing loong testing view · download · history ↗
2.4.3 pypi amd64 testing arm64 untested x86 testing ppc64 untested riscv untested arm untested loong untested view · download · history ↗
2.4.3_pre99 pkalin amd64 stable arm64 stable x86 stable ppc64 testing riscv testing arm testing loong testing 6 mo view · download · history ↗

Use flags of 2.4.3-r99

  • pyqt5
  • +pyqt6 Use dev-python/pyqt6 as Qt for Python implementation
  • pyside6 Use dev-python/pyside as Qt for Python implementation
  • ${_IUSE_QT_MODULES}