python/typeshed
Collection of library stubs for Python, with static types observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4199
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
5114 stars · 2078 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Typeshed is a collection of static type stubs for the Python standard library, builtins, and many third-party packages. It provides the annotations consumed by type checkers like mypy, pyright, and PyCharm for static analysis, type inference, and autocompletion.
Use cases
- add static type checking to Python code
- get autocompletion and type inference in an IDE
- install type stubs for third-party packages like requests
- build a custom Python type checker or static analysis tool
- fix incorrect type annotations for a Python library
When to choose
- you need type annotations for the Python standard library or builtins
- a third-party package lacks inline types and you need stubs
- you are developing a type checker or static analysis tool for Python
When to avoid
- you just use a type checker and don't need to modify stubs (they are bundled/installed automatically)
- you need runtime behavior rather than static type information
- the library already ships its own inline type annotations
Facets
library · maturity active
type-system developer-tools developer-tools programming-languages testing python cross-platform type-stubs static-analysis typing mypy pyright stdlib-annotations
1 source
- readme: https://github.com/python/typeshed · fetched 2026-08-28 · 5a9e197a2ed7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python/typeshed | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem