Code Monkey home page Code Monkey logo

pyqt5-stubs's Introduction

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

pyqt5-stubs's People

Contributors

altendky avatar bluebird75 avatar brycebeagle avatar dependabot[bot] avatar djedouas avatar hexchain avatar karlch avatar kmolyuan avatar mkrieger1 avatar pfremy avatar powersnail avatar sanjacob avatar stlehmann avatar the-compiler avatar tilmank avatar welps avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.