Collection of awesome Python types, stubs, plugins, and tools to work with them.
- mypy - Optional static typing for Python 3 and 2 (PEP 484).
- pyre - A performant type-checker for Python 3.
- pytype - Pytype checks and infers types for your Python code - without requiring type annotations.
- PyCharm - The Python IDE for Professional Developers.
- pyright - Pyright is a fast type checker meant for large Python source bases. It can run in a “watch” mode and performs fast incremental updates when files are modified.
- Typeshed - Collection of library stubs for Python, with static types.
- django-stubs - stubs for Django.
- djangorestframework-stubs - stubs for DRF.
- numpy-stubs - stubs for NumPy.
- dry-python/returns - stubs for returns.
- sqlalchemy-stubs - stubs for SQLAlchemy.
- grpc-stubs - stubs for grpc.
- PyQt5-stubs - stubs for PyQt5.
- ordered-set-stubs - stubs for OrderedSet.
- pyspark-stubs - stubs for PySpark.
- pynamodb-mypy - Plugin for PynamoDB support.
- mypy-zope - Plugin for zope.interface support.
- mypy/plugins - some plugins already integrated into mypy.
- MonkeyType - MonkeyType collects runtime types of function arguments and return values, and can automatically generate stub files or even add draft type annotations directly to your Python code based on the types collected at runtime.
- pytest-mypy - Mypy static type checker plugin for Pytest.
- pytest-mypy-plugins - pytest plugin for testing mypy types, stubs, and plugins.
- flake8-mypy - A plugin for flake8 integrating mypy.
- flake8-pyi - A plugin for Flake8 that provides specializations for type hinting stub files.
- pytype - A static type analyzer, alternative to mypy. Can do static type inference, and generate stub files with infered types.
- merge_pyi - part of pytype toolchain, applies stub files onto source code.
- retype - another one tool to apply stubs to code.
- mypy-PyCharm-plugin - mypy integration for PyCharm.
- vim-mypy - mypy integration for Vim.
- linter-mypy - mypy integration for Atom.
- emacs-flycheck-mypy - mypy integration for Emacs.
- PEP-484 about type annotations.
- PEP-561 about distributing and packaging type information.
- MyPy docs about stubs.
- Testing mypy stubs, plugins, and types - full tutorial.
- python/typing gitter chat.
- TypedDjango gitter chat.
- PythonRu#typing slack chat (invites are here)