What does HackerNews think of qtpy?

Provides an uniform layer to support PyQt5, PySide2, PyQt6, PySide6 with a single codebase

Language: Python

#164 in Python
Not exactly what you're asking for, but QtPy - https://github.com/spyder-ide/qtpy - is a nice abstraction layer that sits between your program and either PyQt5 or PySide2.