dogear

enter for all results · esc to close

Type hints cheat sheet

mypy.readthedocs.iosite

Cheat sheet on writing type annotations by MyPy team.

from
Typing
added
2026-10-10
likes
0

similar

  1. pytype github.com

    Tool to check and infer types - without requiring type annotations.

    tool link ↗
  2. Testing mypy stubs, plugins, and types sobolevn.me

    Full tutorial about testing mypy types.

    site link ↗
  3. pytype annotate-ast github.com

    A work-in-progress tool to annotate the nodes of an AST with their Python types.

  4. PEP-586 python.org

    Literal Types.

    site link ↗
  5. pytypes github.com

    Provides a rich set of utilities for runtime typechecking.

    tool link ↗

Typing › Articles > Third-party articles: “Cheat sheet on writing type annotations by MyPy team.”