{
 "kind": "tool",
 "slug": "beartype",
 "path": "tools/beartype/",
 "name": "beartype",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Languages, types and runtimes",
   "tools/languages-types/"
  ]
 ],
 "lead": "Fast runtime type-checker for Python with near-zero overhead validation.",
 "chips": [
  {
   "label": "Languages, types and runtimes",
   "path": "tools/languages-types/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install beartype"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/beartype/beartype"
  }
 ],
 "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/beartype/beartype"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Oct 11, 2026. ",
   "src": "https://github.com/beartype/beartype"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "8 projects",
   "status": "info",
   "sub": "#20 of 70 in its category",
   "note": "Dependency in 8 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "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 beartype does",
   "parts": [
    {
     "t": "prose",
     "text": "Fast runtime type-checker for Python with near-zero overhead validation."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "beartype popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "61",
       "of": "/ 100",
       "l": "Gid Score, #944 overall"
      },
      {
       "n": "25.1M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "3,519",
       "l": "GitHub stars"
      },
      {
       "n": "8",
       "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 beartype is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "beartype is a dependency in 8 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 74 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Pyright (Python) (3 projects).",
      "Projects that use it most often also use attrs (93.2%), CFFI (93.2%), Click (93.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "5 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 93.2% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 93.2% of its projects",
       "v": "CFFI",
       "path": "tools/cffi/"
      },
      {
       "l": "In 93.2% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 91.9% of its projects",
       "v": "charset-normalizer",
       "path": "tools/charset-normalizer/"
      },
      {
       "l": "In 91.9% of its projects",
       "v": "cryptography",
       "path": "tools/cryptography/"
      },
      {
       "l": "In 90.5% of its projects",
       "v": "AnyIO",
       "path": "tools/anyio/"
      },
      {
       "l": "In 90.5% of its projects",
       "v": "cachetools",
       "path": "tools/cachetools/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about beartype",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/leycec",
        "4 GitHub sponsors"
       ]
      },
      {
       "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": "mypy",
         "path": "tools/mypy/"
        },
        {
         "text": "tsconfig-paths",
         "path": "tools/tsconfig-paths/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "beartype",
       "me": true,
       "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"
       ]
      },
      {
       "name": "typeguard",
       "why": "Runtime type checker for Python with decorator and import hook support.",
       "path": "tools/typeguard/",
       "facts": [
        "MIT",
        "Gid 58",
        "16.5M/wk"
       ]
      }
     ],
     "more": "Compare beartype with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install beartype"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for beartype yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi beartype"
  ],
  [
   "Category",
   "Languages, types and runtimes"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "61.1"
  ],
  [
   "Rank in category",
   "#20 of 70"
  ],
  [
   "GitHub",
   "beartype/beartype"
  ],
  [
   "Last change",
   "Nov 24, 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/beartype.png"
}