
beartype 0.15.0
0
Unbearably fast runtime type checking in pure Python.
Contents
Unbearably fast runtime type checking in pure Python.
Stars: 1995, Watchers: 1995, Forks: 37, Open Issues: 51The beartype/beartype
repo was created 3 years ago and the last code push was 2 days ago.
The project is very popular with an impressive 1995 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 51 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