Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

pytype

Free#7 of 25 in Static Type Checkers

pytype: A free, open-source checker for Python projects that want type inference without adding annotations first. Ranked #7 of 25 in Static Type Checkers by our editors (8.1/10); pricing: Free plan; best for python developers who want annotation-free type inference.

8.1/10Editor score
pytype8.1 Visit pytype

At a glance

  • Editor score
    8.1 / 10
  • Pricing
    Free plan
  • Best for
    Python developers who want annotation-free type inference
  • Free plan
    Yes
  • Paid from
    Free
  • Founded
    2012
  • Facts checked
    23 Sep 2026
  • Where it wins

    • Infers types in unannotated code and checks annotations where they exist.
    • Analyzes code across files and narrows types based on control flow.
    • Generates .pyi files and can merge their type information into source.
  • Where it doesn't

    • Checks Python only, so it cannot cover a mixed-language codebase on its own.
    • Windows use is through WSL.
    • Python 3.12 is marked unsupported.

Our verdict on pytype

You don’t have to annotate a Python codebase before pytype can check it. The free, open-source command-line analyzer infers types where annotations are absent and checks the annotations you’ve already written. That makes it a practical choice for developers who want to catch misspelled attributes, incorrect calls, or incompatible operations without making annotation a prerequisite. You can run it locally on individual files or packages, so the scope can match what you want to check.

Type inference is useful here because it extends beyond a single file and can narrow a type based on the path the code takes through a branch. If you want to keep the inferred type information without changing the implementation, pytype can write it to standalone .pyi files. If you’d rather have annotations in the Python source, merge-pyi can bring that information back into the code. Those options let you keep checking code and adding annotations as separate decisions.

Install pytype with pip, configure analysis in pyproject.toml or setup.cfg, and run it in an automated testing workflow with GitHub Actions. It’s developed primarily for Linux, supports macOS, and runs on Windows through WSL. Check Python version compatibility before adopting it: Python 3.12 is marked unsupported. Pick pytype if you want a local checker for a compatible Python project with few or no annotations. Choose another tool if you need Python 3.12 support, native Windows operation, or a single checker that covers multiple languages.

Your product? Our editors can test pytype in depth and publish a review, labelled as paid · from $149/mo →

pytype pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on google.github.io

pytype fact sheet

Free planYes
Paid fromFree
Supported languagesNot verified
Analysis scopeNot verified
IDE pluginsNot verified
CI/CD integrationYes
Incremental analysisNot verified
Strictness controlsNot verified
License modelNot verified
DeploymentSelf-hosted
PlatformsmacOS, Linux
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations1 integrations: GitHub Actions
PricingFree plan
Websitegoogle.github.io
Facts checked23 Sep 2026

pytype integrations

pytype lists 1 integrations on its own site.

  • GitHub Actions

Alternatives to pytype

See all pytype alternatives →

pytype vs the competition

Compare pytype with any tool side by side →

Used pytype? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used pytype for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — pytype 8.1/10

pytype is listed in our Static Type Checkers directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/pytype/"><img src="https://www.itechguides.com/best/badge/pytype.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Dec 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update