python/mypy
Optional static typing for Python observed · 2026-10-17
Health v2 · maintenance only
77/100
- Activity 100
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5065
- days_rel: n/a
- days_push: 4
- n_releases_24m: 0
Adoption not part of the score
20684 stars · 3334 forks observed · 2026-10-17
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.97
Mypy is an optional static type checker for Python that validates type hints at compile time. It integrates with the Python ecosystem and runs as a command‑line tool with minimal runtime overhead.
Use cases
- Check Python code for type errors before runtime
- Enforce type hints across a large codebase
- Gradually add static typing to an existing dynamic Python project
- Generate machine‑checked documentation from type annotations
- Improve code maintainability by catching bugs early
When to choose
- You need compile‑time type checking for Python without modifying runtime behavior
- Your project already uses type hints or plans to adopt them
- You want a fast, well‑maintained tool with strong community support
When to avoid
- You require runtime type enforcement or dynamic type checking
- You are working in a language other than Python
- You need a full IDE integration rather than a command‑line tool
Facets
cli-tool · maturity active
testing developer-tools programming-languages python cross-platform cli static-typing type-checker type-hints mypy linting
3 sources
- readme: https://github.com/python/mypy · fetched 2026-10-17 · 0d5c9e213cee
- homepage: https://www.mypy-lang.org/ · fetched 2026-10-05 · 96af4a97db7b
- site_page: https://www.mypy-lang.org/about.html · fetched 2026-10-05 · 2e1e26112087
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python/mypy | main | 77 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem