Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

typeguard

Runtime type checker for Python with decorator and import hook support.

Languages, types and runtimesPYPI

GitHub

1. License

License from PyPI license expression.

github.com/agronholm/typeguard

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What typeguard does

Runtime type checker for Python with decorator and import hook support.

typeguard popularity

58 / 100
Gid Score, #1198 overall
16.5M
downloads a week, pypi
1,795
GitHub stars
2
agent projects use it
typeguard: downloads per weekPyPI, typeguard 15,986,023
typeguard: GitHub starsagronholm/typeguard 1,795

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How typeguard is used

  • typeguard is a dependency in 2 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 98 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is mypy (46 projects).
  • Projects that use it most often also use NumPy (99.0%), tqdm (95.9%), Requests (93.9%).

Often used with

In 99.0% of its projects
In 95.9% of its projects
In 93.9% of its projects
In 92.9% of its projects
In 92.9% of its projects
In 91.8% of its projects
In 91.8% of its projects

More about typeguard

Funding
  • Tidelift: https://tidelift.com/funding/github/pypi/typeguard

See all

More in Languages, types and runtimes

Alternatives

typeguard This page

MITGid 5816.5M/wk

mypy

Optional static type checker for Python enabling better code quality and IDE support.

MITGid 7548.4M/wk

beartype

Fast runtime type-checker for Python with near-zero overhead validation.

MITGid 6125.1M/wk

Pyright (Python)

Static type checker for Python providing fast type checking and IDE integration.

MITGid 5214.5M/wk

Compare typeguard with another tool

Get started

Install it.

pip install typeguard

No step-by-step start for typeguard yet: we have not written its hand-checked card.