Skip to main content

a thin compatibility layer for Python code to use Qt through various wrappers

Project description



qts is presently an exploratory project. It does have test coverage and is significantly documented. It only covers a few Qt modules.

qts is a Qt5/6 and PyQt/PySide compatibility layer for your libraries and applications. It is designed to work with mypy and includes a CLI utility to notify mypy of the needed conditions. To keep the scope reasonable, qts will focus on the variances that all code using Qt will need such as imports and signals. Nuanced detailed differences will not be abstracted away. Helper functions and similar may be provided on a case by case basis.

import qts
import qts.util

def main():

    from qts import QtWidgets

    application = QtWidgets.QApplication([])
    widget = QtWidgets.QLabel("this is qts")


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qts, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size qts-0.2-py3-none-any.whl (16.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page