Ross ROSS = Recommend OSS · open-source software intelligence for agents

beartype/beartype

Unbearably fast near-real-time pure-Python runtime-static type-checker. observed · 2026-08-28

github.com/beartype/beartype · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 99
  • Release rhythm 61
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 10
  • age_days: 2343
  • days_rel: 263
  • days_push: 11
  • n_releases_24m: 14

Full methodology

Adoption not part of the score

3486 stars · 81 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Beartype is a pure-Python, PEP-compliant runtime type checker that validates type hints at near-real-time speed with O(1) constant-time checks. It can implicitly type-check all annotated callables, classes, and variable assignments across a package via a single import hook.

Use cases

  • enforce type hints at runtime in Python
  • validate function arguments against type annotations
  • catch type errors in production without performance overhead
  • type-check an entire Python package with one line
  • validate data structures against complex PEP 484/585 type hints

When to choose

  • you want runtime type checking with negligible overhead
  • you need PEP-compliant validation of modern type hints (generics, unions, Annotated)
  • you want a zero-dependency pure-Python solution
  • you want to opt a whole package into type checking via an import hook

When to avoid

  • you only need static type checking at edit time (use mypy or pyright)
  • you need runtime schema validation with coercion or detailed error schemas (consider pydantic)
  • your codebase is not Python

Facets

library · maturity active

type-system testing developer-tools developer-tools programming-languages performance python cross-platform type-checking type-hints runtime-validation pep-compliant pure-python

2 sources

Member repositories

RepositoryRoleHealth v2
beartype/beartypemain86

For agents

markdown · JSON · MCP: product_card(name="beartype/beartype")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem