beartype: Unbearably fast O(1) runtime type-checking in pure Python
github.com/beartype/beartype
Repository
beartype/beartype
Unbearably fast near-real-time pure-Python runtime-static type-checker.
What Jamie wrote
This looks like a powerful type-checker for Python.
Beartype brings Rust- and C++-inspired zero-cost abstractions into the lawless world of dynamically-typed Python by enforcing type safety at the granular level of functions and methods against type hints standardized by the Python community in O(1) non-amortized worst-case time with negligible constant factors.
Easy-to-use and claims to be extremely performant.
Same host · 251 links from github.com
Saved the same week · 37 links that week
- How to Navigate Stress in a Storm | Leadership Freak
- The Joy of Cryptography
- No notebook is perfect, but the reMarkable comes really close
- ICU is full of the unvaccinated – my patience with them is wearing thin | Anonymous | The Guardian
- After 35 years, Uptown Minneapolis mainstay Kitchen Window to close - StarTribune.com