Updating conversion, creating readmes

This commit is contained in:
Jonas Zeunert
2024-04-19 23:37:46 +02:00
parent 3619ac710a
commit 08e75b0f0a
635 changed files with 30878 additions and 37344 deletions

View File

@@ -1,5 +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.
@@ -46,9 +45,8 @@
- asgiref (https://github.com/django/asgiref) - ASGI specification, provides asgiref.typing (https://github.com/django/asgiref/blob/main/asgiref/typing.py) module with type annotations for ASGI servers.
- boto3-stubs (https://vemel.github.io/boto3_stubs_docs/) - Stubs for boto3 (https://github.com/boto/boto3).
- botostubs (https://github.com/jeshan/botostubs) - Gives you code assistance for any boto3 API in any IDE.
- celery-types (https://github.com/sbdchd/celery-types) - Type stubs for Celery (https://github.com/celery/celery) and its related packages django-celery-results 
(https://github.com/celery/django-celery-results), ampq (https://github.com/celery/py-amqp), kombu (https://github.com/celery/kombu), billiard (https://github.com/celery/billiard), vine 
(https://github.com/celery/vine) and ephem (https://github.com/brandon-rhodes/pyephem).
- celery-types (https://github.com/sbdchd/celery-types) - Type stubs for Celery (https://github.com/celery/celery) and its related packages django-celery-results (https://github.com/celery/django-celery-results), ampq 
(https://github.com/celery/py-amqp), kombu (https://github.com/celery/kombu), billiard (https://github.com/celery/billiard), vine (https://github.com/celery/vine) and ephem (https://github.com/brandon-rhodes/pyephem).
- django-stubs (https://github.com/typeddjango/django-stubs) - Stubs for Django (https://github.com/django/django).
- djangorestframework-stubs (https://github.com/typeddjango/djangorestframework-stubs) - Stubs for DRF (https://github.com/encode/django-rest-framework).
- grpc-stubs (https://github.com/shabbyrobe/grpc-stubs) - Stubs for grpc (https://github.com/grpc/grpc).
@@ -88,8 +86,7 @@
- flake8-pyi (https://github.com/ambv/flake8-pyi) - Plugin for Flake8 that provides specializations for type hinting stub files.
- flake8-type-checking (https://github.com/snok/flake8-type-checking) - Plugin to help you guard any type-annotation-only import correctly.
- flake8-typing-imports (https://github.com/asottile/flake8-typing-imports) - Plugin which checks that typing imports are properly guarded.
- 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-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.
@@ -119,13 +116,13 @@
- 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.
@@ -179,8 +176,8 @@
- 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.
@@ -192,8 +189,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