Skip to content

TristanCacqueray/awesome-python-typing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

awesome-python-typing

Gitter

Collection of awesome Python types, stubs, plugins, and tools to work with them.

Contents

Static type checkers

  • 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.

Stub packages

Mypy plugins

Tools

  • 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.

Integrations

Articles

Communities

Related

License

CC BY-SA 4.0

About

Collection of awesome Python types, stubs, plugins, and tools to work with them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors