{
 "kind": "tool",
 "slug": "typeguard",
 "path": "tools/typeguard/",
 "name": "typeguard",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Languages, types and runtimes",
   "tools/languages-types/"
  ]
 ],
 "lead": "Runtime type checker for Python with decorator and import hook support.",
 "chips": [
  {
   "label": "Languages, types and runtimes",
   "path": "tools/languages-types/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install typeguard"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/agronholm/typeguard"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/agronholm/typeguard"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 22, 2026",
   "note": "Latest GitHub release Nov 20, 2026. ",
   "src": "https://github.com/agronholm/typeguard"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "2 projects",
   "status": "info",
   "sub": "#44 of 70 in its category",
   "note": "Dependency in 2 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What typeguard does",
   "parts": [
    {
     "t": "prose",
     "text": "Runtime type checker for Python with decorator and import hook support."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "typeguard popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "58",
       "of": "/ 100",
       "l": "Gid Score, #1198 overall"
      },
      {
       "n": "16.5M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "1,795",
       "l": "GitHub stars"
      },
      {
       "n": "2",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How typeguard is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 99.0% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 95.9% of its projects",
       "v": "tqdm",
       "path": "tools/tqdm/"
      },
      {
       "l": "In 93.9% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 92.9% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 92.9% of its projects",
       "v": "urllib3",
       "path": "tools/urllib3/"
      },
      {
       "l": "In 91.8% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 91.8% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about typeguard",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Tidelift: https://tidelift.com/funding/github/pypi/typeguard"
       ]
      },
      {
       "title": "More in Languages, types and runtimes",
       "path": "tools/languages-types/",
       "items": [
        {
         "text": "TypeScript",
         "path": "tools/typescript/"
        },
        {
         "text": "tsx",
         "path": "tools/tsx/"
        },
        {
         "text": "ts-node",
         "path": "tools/ts-node/"
        },
        {
         "text": "jiti",
         "path": "tools/jiti/"
        },
        {
         "text": "vue-tsc",
         "path": "tools/vue-tsc/"
        },
        {
         "text": "Cloudflare Workers Types",
         "path": "tools/cloudflare-workers-types/"
        },
        {
         "text": "tsconfig-paths",
         "path": "tools/tsconfig-paths/"
        },
        {
         "text": "CFFI",
         "path": "tools/cffi/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "typeguard",
       "me": true,
       "facts": [
        "MIT",
        "Gid 58",
        "16.5M/wk"
       ]
      },
      {
       "name": "mypy",
       "why": "Optional static type checker for Python enabling better code quality and IDE support.",
       "path": "tools/mypy/",
       "facts": [
        "MIT",
        "Gid 75",
        "48.4M/wk"
       ]
      },
      {
       "name": "beartype",
       "why": "Fast runtime type-checker for Python with near-zero overhead validation.",
       "path": "tools/beartype/",
       "facts": [
        "MIT",
        "Gid 61",
        "25.1M/wk"
       ]
      },
      {
       "name": "Pyright (Python)",
       "why": "Static type checker for Python providing fast type checking and IDE integration.",
       "path": "tools/pyright-pypi/",
       "facts": [
        "MIT",
        "Gid 52",
        "14.5M/wk"
       ]
      }
     ],
     "more": "Compare typeguard with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install typeguard"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for typeguard yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi typeguard"
  ],
  [
   "Category",
   "Languages, types and runtimes"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "57.8"
  ],
  [
   "Rank in category",
   "#44 of 70"
  ],
  [
   "GitHub",
   "agronholm/typeguard"
  ],
  [
   "Last change",
   "Nov 22, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/agronholm.png"
}