Hacker GitHub

← All repos

agronholm/typeguard

View on GitHub ↗ ★ 1,793 Python

Run-time type checker for Python

8 mentions on Hacker News by 8 people: 0 stories, 8 comments · first 2017-11-05 · latest 2026-02-25

Mentions per year 8 mentions · busiest year 2022 (2)
20082026
  1. …2) runtime and buildtime typing use the same semantics and syntax, so you don't need band-aids like https://github.com/agronholm/typeguard But yeah, CL's type system is lacking in many places. In order of practical advantages and…
    comment by a-french-anon · 2026-02-25 · in Steel Bank Common Lisp
  2. I think TypeGuard ( https://github.com/agronholm/typeguard ) also does runtime type checking. I use beartype BTW.
  3. …programming (JAX or not), then jaxtyping [3]. [1] https://github.com/beartype/beartype/ [2] https://github.com/agronholm/typeguard [3] https://github.com/patrick-kidger/jaxtyping
  4. …the test suite, you get a failing test whenever an actual type differs from an annotated type. [0]: https://github.com/agronholm/typeguard/ [1]: https://typeguard.readthedocs.io/en/latest/userguide.html#us...
    comment by spappal · 2022-12-21 · in Boring Python: Code quality
  5. …is an explicit decision, not an unwanted shortcoming. [0] https://github.com/RussBaz/enforce [1] https://github.com/agronholm/typeguard [2] https://github.com/microsoft/pyright [3] https://pydantic-docs.helpmanual.io [4]…
  6. …can do runtime checking for important parts of your app or you can use this https://github.com/agronholm/typeguard to enforce all types at runtime (although I haven't measured the performance impact, probably something to do in a sepa
  7. …both look at type annotations and enforce them at runtime. ¹ https://github.com/Stewori/pytypes/ ² https://github.com/agronholm/typeguard
    comment by uryga · 2019-05-15 · in Things to use in Python 3
  8. Check out typeguard: https://github.com/agronholm/typeguard it offers run-time type checking in a variety of ways, is intuitive, and actively maintained