google/pytype
A static type analyzer for Python code observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 72
- 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: 4186
- days_rel: n/a
- days_push: 170
- n_releases_24m: 0
Adoption not part of the score
5031 stars · 291 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Pytype is a static type analyzer for Python that checks and infers types without requiring type annotations, using inference rather than gradual typing. It can lint unannotated code, enforce existing annotations, and generate .pyi stub files, though Python 3.12 is its last supported version as Google shifts investment elsewhere.
Use cases
- type check python code without annotations
- infer types for untyped python codebase
- generate pyi stub files from python source
- catch type errors like str + int at compile time
- enforce type annotations in python project
- lint python code for misspelled attributes and bad calls
When to choose
- your codebase is largely unannotated and you want inference-based checking
- you need to generate .pyi stub files
- you prefer lenient checking that allows anything valid at runtime
- you are on Python <= 3.12
When to avoid
- you need support for Python 3.13 or newer
- you want a long-term maintained checker - the project is winding down
- you prefer strict gradual typing like mypy
- you want fast adoption of new typing PEPs
Facets
library · maturity maintenance
linter type-system developer-tools developer-tools programming-languages python cli cross-platform type-checker type-inference pyi static-analysis python-typing python
2 sources
- readme: https://github.com/google/pytype · fetched 2026-08-28 · ba0efc10d3d6
- homepage: https://google.github.io/pytype · fetched 2026-08-29 · 908fb70bf4be
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/pytype | main | 65 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem