beartype 0.18.2
0
Unbearably fast runtime type checking in pure Python.
Contents
Unbearably fast runtime type checking in pure Python.
Stars: 2378, Watchers: 2378, Forks: 46, Open Issues: 59The beartype/beartype
repo was created 4 years ago and the last code push was 15 hours ago.
The project is very popular with an impressive 2378 github stars!
How to Install beartype
You can install beartype using pip
pip install beartype
or add it to a project with poetry
poetry add beartype
Package Details
- Author
- Cecil Curry, et al.
- License
- MIT
- Homepage
- https://beartype.readthedocs.io
- PyPi:
- https://pypi.org/project/beartype/
- Documentation:
- https://beartype.readthedocs.io
- GitHub Repo:
- https://github.com/beartype/beartype
Classifiers
- Software Development/Code Generators
- Software Development/Libraries/Python Modules
- Software Development/Quality Assurance
Related Packages
Errors
A list of common beartype errors.
Code Examples
Here are some beartype
code examples and snippets.
GitHub Issues
The beartype package has 59 open issues on GitHub
- [Feature Request] Pydantic-specific constrained list (i.e.,
pydantic.conlist
) integration - [DOOR Bug]
beartype.door.is_subhint()
returns false negatives for parametrized generics sigh - [Docos] Add a new FAQ entry: "Why is @beartype spitting alien hieroglyphics at me?"
- [Feature Request]
beartype.door.die_if_unbearable()
+typing.TypeGuard
integration - [Feature Request]
beartype.vale
validators subscriptable bytyping.TypeVar
type variables - [Feature Request] Official FreeBSD support
- [Feature Request] New
BeartypeConf
setting to hide @beartype in exception tracebacks - [Bug] beartype.claw doesn't supress warning and exceptions about non pure-python functions
- [Feature Request] Postponed evaluation of non-self-referential type hints
- [Feature Request] Allow emitting warnings rather than throwing errors for guadual adoption