Contents

beartype 0.18.5

0

Unbearably fast runtime type checking in pure Python.

Unbearably fast runtime type checking in pure Python.

Stars: 2532, Watchers: 2532, Forks: 51, Open Issues: 66

The beartype/beartype repo was created 4 years ago and the last code push was Yesterday.
The project is very popular with an impressive 2532 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
No  beartype  pypi packages just yet.

Errors

A list of common beartype errors.

Code Examples

Here are some beartype code examples and snippets.

GitHub Issues

The beartype package has 66 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 by typing.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

See more issues on GitHub

Related Packages & Articles

vpype 1.14.0

The Swiss Army knife of vector graphics for pen plotters

aiopyql 0.359

A fast and easy-to-use asyncio ORM(Object-relational Mapper) for performing C.R.U.D. ops within RBDMS tables using python