Contents

beartype 0.19.0

0

Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.

Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.

Stars: 2672, Watchers: 2672, Forks: 57, Open Issues: 86

The beartype/beartype repo was created 4 years ago and the last code push was Yesterday.
The project is very popular with an impressive 2672 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
None
License
MIT License Copyright (c) 2014-2024 Beartype authors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Homepage
None
PyPi:
https://pypi.org/project/beartype/
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 86 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