Skip to main content
mypy logo

PyPI version mypy checked Build Status Downloads Downloads

Mypy stubs for the PyQt5 framework

This repository holds the stubs of the PyQt5 framework. The stub files released within the PyQt5 packages have been modified to allow using them for type-checking via mypy. Improvements over the default stubs include:

  • Signals are properly typed as signals and not as methods
  • QFlags derived classes correctly support all combination operations
  • Many methods accepting an optional None have been annotated so
  • and more...

This repository can always be improved and the authors will appreciate any PRs or Issues that help making this stub-repository more reliable.

Installation

Simply install PyQt5-stubs with pip:

$ pip install PyQt5-stubs

Or clone the latest version from Github and install it via Python setuptools:

$ git clone https://github.com/python-qt-tools/PyQt5-stubs
$ python setup.py install

Supported Modules

The modules supported by PyQt5-stubs include modules from the PyQt5 package as well as modules from the other packages released by Riverbank Computing (PyQt3D, PyQtCharts, ...). Here is the full list of packages and modules:

  • package PyQt5:
    • QtBluetooth
    • QtCore
    • QtDBus
    • QtGui
    • QtLocation
    • QtMultimedia
    • QtNetwork
    • QtNfc
    • QtOpenGL
    • QtPositioning
    • QtPrintSupport
    • QtQml
    • QtQuick
    • QtQuickWidgets
    • QtRemoteObjects
    • QtSensors
    • QtSerialPort
    • QtSql
    • QtSvg
    • QtTest
    • QtWebChannel
    • QtWebSockets
    • QtWidgets
    • QtX11Extras
    • QtXml
    • QtXmlPatterns
    • sip
  • package PyQt3D:
    • Qt3DAnimation
    • Qt3DCore
    • Qt3DExtras
    • Qt3DInput
    • Qt3DLogic
    • Qt3DRender
  • package PyQtChart:
    • QtChart
  • package PyQtDataVisualization:
    • QtDataVisualization
  • package PyQtNetworkAuth:
    • QtNetworkAuth
  • package PyQtPurchasing:
    • QtPurchasing
  • package PyQtWebEngine:
    • QtWebEngine
    • QtWebEngineCore
    • QtWebEngineWidgets
  • package PyQtWebkit:
    • QtWebKit
    • QtWebKitWidgets

Authors

  • Stefan Lehmann
  • Kyle Altendorf
  • Bryce Beagle
  • Florian Bruhin
  • Philippe Fremy

Release files for PyQt5-stubs 5.15.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyQt5-stubs 5.15.6.0
File Size Uploaded
PyQt5-stubs-5.15.6.0.tar.gz 395.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyQt5-stubs 5.15.6.0
File Interpreter ABI Platform
PyQt5_stubs-5.15.6.0-py3-none-any.whl Python 3 none any Details

Total release size:829.0 kB

Release files / PyQt5-stubs-5.15.6.0.tar.gz

Download URL PyQt5-stubs-5.15.6.0.tar.gz
Size 395.6 kB
Tags Source
SHA-256 checksum
How to use checksums
91270ac23ebf38a1dc04cd97aa852cd08af82dc839100e5395af1447e3e99707
BLAKE2b-256 checksum
How to use checksums
e75bf96312e01661dff7320366fc948f7597d3e3e28ff7116e9e77dbf41ab937
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.25.1 setuptools/50.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

Release files / PyQt5_stubs-5.15.6.0-py3-none-any.whl

Download URL PyQt5_stubs-5.15.6.0-py3-none-any.whl
Size 433.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fb8177c72489a8911f021b7bd7c33f12c87f6dba92dcef3fdcdb5d9400f0f3f
BLAKE2b-256 checksum
How to use checksums
33d59b8482ed572be40d51c3fcbb87451e446e56b5e19487cd60340b8ef51eb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.25.1 setuptools/50.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page