update lists

This commit is contained in:
2025-07-18 22:22:32 +02:00
parent 55bed3b4a1
commit 5916c5c074
3078 changed files with 331679 additions and 357255 deletions

View File

@@ -1,4 +1,4 @@
 Awesome Python Typing !Awesome (https://awesome.re/badge-flat2.svg) (https://awesome.re) !Gitter (https://img.shields.io/gitter/room/mypy-django/Lobby?color=9cf&style=flat-square) (https://gitter.im/mypy-django/Lobby?source=title)
 Awesome Python Typing !Awesome (https://awesome.re/badge-flat2.svg) (https://awesome.re) !Gitter (https://img.shields.io/gitter/room/mypy-django/Lobby?color=9cf&style=flat-square) (https://gitter.im/mypy-django/Lobby?source=title)
Collection of awesome Python types, stubs, plugins, and tools to work with them.
@@ -54,6 +54,7 @@
- PyQt5-stubs (https://github.com/stlehmann/PyQt5-stubs) - Stubs for PyQt5 (https://www.riverbankcomputing.com/software/pyqt/intro).
- python-phonenumbers-stubs (https://github.com/AA-Turner/python-phonenumbers-stubs) - Stubs for phonenumbers (https://github.com/daviddrysdale/python-phonenumbers).
- pythonista-stubs (https://github.com/hbmartin/pythonista-stubs) - Stubs for Pythonista (http://omz-software.com/pythonista/docs/ios/).
- scipy-stubs (https://github.com/jorenham/scipy-stubs) - Stubs for SciPy (https://github.com/scipy/scipy).
- sqlalchemy-stubs (https://github.com/dropbox/sqlalchemy-stubs) - Stubs for SQLAlchemy (https://github.com/sqlalchemy/sqlalchemy).
- sqlalchemy2-stubs (https://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html) - Official stubs and mypy plugin for SQLAlchemy (https://www.sqlalchemy.org).
- torchtyping (https://github.com/patrick-kidger/torchtyping) - Enhanced type annotations for pytorch (https://pytorch.org/).
@@ -74,7 +75,7 @@
Backports and improvements
- future-typing (https://github.com/PrettyWood/future-typing) - Backport for type hinting generics in standard collections and union types as X | Y.
- typing-extensions (https://github.com/python/typing/tree/master/typing_extensions) - Backported and experimental type hints.
- typing-extensions (https://github.com/python/typing_extensions) - Backported and experimental type hints.
- typing-utils (https://github.com/bojiang/typing_utils) - Backport 3.8+ runtime typing utils(for eg: get_origin) & add issubtype & more.
Tools
@@ -89,6 +90,7 @@
- flake8-typing-only-imports (https://github.com/sondrelg/flake8-typing-only-imports) - flake8 plugin that helps identify which imports to put into type-checking blocks, and how to adjust your type annotations once imports are moved.
- flake8-type-ignore (https://gitlab.com/jonafato/flake8-type-ignore/) - flake8 plugin to disallow type: ignore comments in your typed Python code.
- wemake-python-styleguide (https://github.com/wemake-services/wemake-python-styleguide) - The strictest and most opinionated Python linter ever.
- Ruff (https://github.com/astral-sh/ruff/) - Extremely fast linter which supports lint rules from many other lint tools, such as flake8.
Testing
@@ -116,16 +118,17 @@
- autotyping (https://github.com/JelleZijlstra/autotyping) - Automatically add simple return type annotations for functions (bool, None, Optional).
- infer-types (https://github.com/orsinium-labs/infer-types) - CLI tool to automatically infer and add type annotations into Python code.
- jsonschema-gentypes (https://github.com/camptocamp/jsonschema-gentypes) - Generate Python types based on TypedDict from a JSON Schema.
- monkeytype (https://github.com/instagram/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 code based on the 
types collected at runtime.
- monkeytype (https://github.com/instagram/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 code based on the types 
collected at runtime.
- no_implicit_optional (https://github.com/hauntsaninja/no_implicit_optional) - A codemod to make your implicit optional type hints PEP 484 (https://peps.python.org/pep-0484/#union-types) compliant.
- pyannotate (https://github.com/dropbox/pyannotate) - Insert annotations into your source code based on call arguments and return types observed at runtime.
- PyTypes (https://github.com/pvs-hd-tea/PyTypes) - Infer Types by Python Tracing.
- pyre infer (https://github.com/facebook/pyre-check) - Pyre has a powerful feature for migrating codebases to a typed format. The infer (https://pyre-check.org/docs/pysa-coverage/) command-line option ingests a file or directory, makes
educated guesses about the types used, and applies the annotations to the files.
- pyre infer (https://github.com/facebook/pyre-check) - Pyre has a powerful feature for migrating codebases to a typed format. The infer (https://pyre-check.org/docs/pysa-coverage/) command-line option ingests a file or directory, makes educated 
guesses about the types used, and applies the annotations to the files.
- pytest-annotate (https://github.com/kensho-technologies/pytest-annotate) - Pyannotate plugin for pytest.
- pytest-monkeytype (https://github.com/mariusvniekerk/pytest-monkeytype) - MonkeyType plugin for pytest.
- pytype annotate-ast (https://github.com/google/pytype/tree/master/pytype/tools/annotate_ast) - A work-in-progress tool to annotate the nodes of an AST with their Python types.
- RightTyper (https://github.com/RightTyper/RightTyper) - A tool that generates types for your function arguments and return values. RightTyper lets your code run at nearly full speed with almost no memory overhead.
- type4py (https://github.com/saltudelft/type4py) - Deep Similarity Learning-Based Type Inference.
- typilus (https://github.com/typilus/typilus) - A deep learning algorithm for predicting types in Python. Also available as a GitHub action (https://github.com/typilus/typilus-action)
- auto-optional (https://github.com/Luttik/auto-optional) - Makes typed arguments Optional when the default argument is None.
@@ -138,6 +141,7 @@
- mypy/plugins (https://github.com/python/mypy/tree/master/mypy/plugins) - Plugins already integrated into mypy.
- numpy (https://numpy.org/devdocs/reference/typing.html) - Plugin for NumPy (https://numpy.org) support.
- pynamodb-mypy (https://github.com/pynamodb/pynamodb-mypy) - Plugin for PynamoDB (https://github.com/pynamodb/PynamoDB) support.
- pydantic (https://docs.pydantic.dev/latest/integrations/mypy/) - Plugin for additional Pydantic (https://docs.pydantic.dev/latest/) support.
Integrations
@@ -176,8 +180,7 @@
- 1-minute guide to real constants in Python (https://sobolevn.me/2018/07/real-python-contants) - Full tutorial about Final constants and inheritance.
- Simple dependent types in Python (https://sobolevn.me/2019/01/simple-dependent-types-in-python) - Full tutorial about Literal types.
- Testing mypy stubs, plugins, and types (https://sobolevn.me/2019/08/testing-mypy-types) - Full tutorial about testing mypy types.
- Our journey to type checking 4 million lines of Python (https://dropbox.tech/application/our-journey-to-type-checking-4-million-lines-of-python) - Dropbox has been one of the first companies to adopt Python static type checking at 
this scale.
- Our journey to type checking 4 million lines of Python (https://dropbox.tech/application/our-journey-to-type-checking-4-million-lines-of-python) - Dropbox has been one of the first companies to adopt Python static type checking at this scale.
- PyTest MonkeyType Introduction (https://dev.to/ldrscke/type-annotate-an-existing-python-django-codebase-with-monkeytype-254i) - Type Annotate an existing Python Django Codebase with MonkeyType.
- The state of type hints in Python (https://bernat.tech/posts/the-state-of-type-hints-in-python/) - As of May 2018.
- Type hints cheat sheet (https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html) - Cheat sheet on writing type annotations by MyPy team.
@@ -189,8 +192,8 @@
- Adding type hints to urllib3 (https://sethmlarson.dev/blog/2021-10-18/tests-arent-enough-case-study-after-adding-types-to-urllib3) - Tests are not enough: Case study adding type hints to urllib3.
- Adam Johnsons Blog (https://adamj.eu/tech/tag/mypy/) - Adam Johnson blogs about typing practices.
- ParamSpec Guide (https://sobolevn.me/2021/12/paramspec-guide) - Newly released feature in PEP612 allows you do a lot of advanced typing things with functions and their signatures.
- Static Typing Python Decorators (https://rednafi.github.io/reflections/static-typing-python-decorators.html) - Accurately static typing decorators in Python is an icky business. The wrapper function obfuscates type information 
required to statically determine the types of the parameters and the return values of the wrapped function.
- Static Typing Python Decorators (https://rednafi.github.io/reflections/static-typing-python-decorators.html) - Accurately static typing decorators in Python is an icky business. The wrapper function obfuscates type information required to 
statically determine the types of the parameters and the return values of the wrapped function.
Communities
@@ -202,3 +205,5 @@
- awesome-python (https://github.com/vinta/awesome-python) - Curated list of awesome Python frameworks, libraries, software and resources.
- python-typecheckers (https://github.com/ethanhs/python-typecheckers) - List of Python type checkers: static and runtime.
pythontyping Github: https://github.com/typeddjango/awesome-python-typing