GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - google/pytype: A static type analyzer for Python code

This repository was archived by the owner on Sep 3, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

6,969 Commits
6,969 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
build_scripts
build_scripts
 
 
cmake/modules
cmake/modules
 
 
docs
docs
 
 
googletest @ 58d77fa
googletest @ 58d77fa
 
 
out
out
 
 
pybind11 @ 80dc998
pybind11 @ 80dc998
 
 
pytype
pytype
 
 
pytype_extensions
pytype_extensions
 
 
third_party
third_party
 
 
typeshed @ a4cc79f
typeshed @ a4cc79f
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.pre-commit-hooks.yaml
.pre-commit-hooks.yaml
 
 
AUTHORS
AUTHORS
 
 
CHANGELOG
CHANGELOG
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile.dev
Dockerfile.dev
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
pylintrc
pylintrc
 
 
pyproject.toml
pyproject.toml
 
 
requirements.in
requirements.in
 
 
requirements.txt
requirements.txt
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 

Repository files navigation

An update on pytype

TL;DR: The last supported Python version for Pytype will be 3.12. We are still very actively interested in the space of Python type checking, but shifting our investments towards new ideas and different frameworks.

Pytype's development began in 2012 to meet Google developers' demand for compile-time checking. Pytype started with using type inference and interface files, and then switched to inline annotations (while retaining the inference engine) after the acceptance of PEP 484. Later, pytype's team collaborated with Guido and mypy to create typeshed, a central repository for type annotations.

While pytype has been effective, its bytecode-based design has presented challenges in implementing new features (e.g. faster adoption of new typing PEPs) due to bytecode’s inherent instability and propensity to change. Consequently, we intend to focus our investments on exploring new typing approaches that are better suited for Google’s Python user base and make Python 3.12 the last supported version for pytype.

We encourage folks to investigate the mature and excellent alternative solutions for Python typing going forward. We would like to note that the Python typing ecosystem is very robust now, offering a wider array of mature solutions (see FAQ).

The creation and development of pytype was a collaborative effort, and we would like to thank all contributors to pytype, especially the four main contributors: Rebecca Chen, Martin DeMello, Teddy Sudol, and initial lead Matthias Kramm. We particularly recognize Rebecca Chen for her decade-long commitment to pytype and her significant contributions to Python's type system as a long-standing member of the typing council.

About

A static type analyzer for Python code

google.github.io/pytype

Topics

linterpythonstatic-analysisstatic-code-analysistypecheckertypestyping

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

5.0k stars

Watchers

52 watching

Forks

289 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.