Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Stubs for PyQt5

License

NotificationsYou must be signed in to change notification settings

python-qt-tools/PyQt5-stubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mypy logo

PyPI versionmypy checkedBuild StatusDownloadsDownloads

Mypy stubs for the PyQt5 framework

This repository holds the stubs of the PyQt5 framework. The stub files releasedwithin 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 willappreciate 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 otherpackages released by Riverbank Computing (PyQt3D, PyQtCharts, ...). Here is the full listof 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

About

Stubs for PyQt5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors16

Languages


[8]ページ先頭

©2009-2025 Movatter.jp