Typing
134 items from typeddjango/awesome-python-typing ★1,987
-
auto-optional github.com
Makes typed arguments Optional when the default argument is None.
-
mypy-silent github.com
Silence mypy by adding or removing code comments.
-
typedpy github.com
Type-safe, strict Python. Works well with standard Python.
-
PyTypes github.com
Infer Types by Python Tracing.
-
typing-utils github.com
Backport 3.8+ runtime typing utils(for eg: get_origin) & add issubtype & more.
-
mypy-test github.com
Test mypy plugins, stubs, custom types.
-
pynamodb-mypy github.com
Plugin for PynamoDB support.
-
python-phonenumbers-stubs github.com
Stubs for phonenumbers.
-
types-aiobotocore vemel.github.io
Stubs for aiobotocore.
-
boto3-stubs vemel.github.io
Stubs for boto3.
-
ParamSpec Guide sobolevn.me
Newly released feature in PEP612 allows you do a lot of advanced typing things with functions and their signatures.
-
Typechecking Django and DRF sobolevn.me
Full tutorial about type-checking Django.
-
Testing mypy stubs, plugins, and types sobolevn.me
Full tutorial about testing mypy types.
-
Simple dependent types in Python sobolevn.me
Full tutorial about Literal types.
-
1-minute guide to real constants in Python sobolevn.me
Full tutorial about Final constants and inheritance.
-
Adding type hints to urllib3 sethmlarson.dev
Tests are not enough: Case study adding type hints to urllib3.
-
Static Typing Python Decorators rednafi.github.io
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.
-
Python Type Checking (Guide) realpython.com
In this guide, you will get a look into Python type checking.
-
PEP-3107 python.org
Function Annotations.
-
PEP-613 python.org
Explicit Type Aliases.
-
PEP-612 python.org
Parameter Specification Variables.
-
PEP-604 python.org
Complementary syntax for Union[].
-
PEP-593 python.org
Flexible function and variable annotations.
-
PEP-591 python.org
Adding a final qualifier to typing.
-
PEP-589 python.org
TypedDict: Type Hints for Dictionaries with a Fixed Set of Keys.
-
PEP-586 python.org
Literal Types.
-
PEP-585 python.org
Type Hinting Generics In Standard Collections.
-
PEP-563 python.org
Postponed Evaluation of Annotations.
-
PEP-561 python.org
Distributing and Packaging Type Information.
-
PEP-560 python.org
Core support for typing module and generic types.
-
PEP-557 python.org
Data Classes.
-
PEP-544 python.org
Protocols: Structural subtyping (static duck typing).
-
PEP-526 python.org
Syntax for Variable Annotations.
-
PEP-484 python.org
Type Hints.
-
PEP-483 python.org
The Theory of Type Hints.
-
PEP-482 python.org
Literature Overview for Type Hints.
-
typing-json pypi.org
Lib for working with typed objects and JSON.
-
ty: A Complete Guide pydevtools.com
Comprehensive guide to ty, the fast Python type checker from Astral.
-
How do mypy, Pyright, and ty compare? pydevtools.com
A detailed comparison of the three major Python static type checkers covering features, performance, and trade-offs.
-
NumPy numpy.org
Plugin for NumPy support.
-
Type hints cheat sheet mypy.readthedocs.io
Cheat sheet on writing type annotations by MyPy team.
-
Type Check Your Django Application kracekumar.com
An article based on two recent talks on adding type checks to Django.
-
flake8-type-ignore gitlab.com
flake8 plugin to disallow type: ignore comments in your typed Python code.
-
mypyc github.com
Compiles mypy-annotated, statically typed Python modules into CPython C extensions.
-
mypy/plugins github.com
Plugins already integrated into mypy.
-
merge-pyi github.com
Part of pytype toolchain, applies stub files onto source code.
-
pytype annotate-ast github.com
A work-in-progress tool to annotate the nodes of an AST with their Python types.
-
Our journey to type checking 4 million lines of Python dropbox.tech
Dropbox has been one of the first companies to adopt Python static type checking at this scale.
-
sqlalchemy2-stubs docs.sqlalchemy.org
Official stubs and mypy plugin for SQLAlchemy.
-
typing docs.python.org
Official Python documentation for typing module.
- next page of items loading…