numerary
numerary copied to clipboard
A pure-Python codified rant aspiring to a world where numbers and types can work together.
Fixes #15.
Hi posita 👋 I'm about to start using `CachingProtocolMeta` in phantom-types, to define narrower parameter types for comparison et cetera. Would you be willing to consider a PR that exposes...
Apparently, `numpy` upped its typing game, which is cool, but it makes it very hard to validate using something as rudimentary as `numerary`. Currently, the work-around I've found is something...
Greetings and salacious salutations, fellow wayward traveller on the congested superhighway of questionable human experience. Per beartype/beartype#84, I'd *love* to promote numeric health in downstream code by elevating `numerary` above...
Currently, it's [quite a list](https://github.com/posita/numerary/search?q=should+not+validate) (mostly `numpy` and `sympy` falsely claiming compliance).
We already opportunistically test (and coerce) ``numpy`` and ``sympy``. Sage is currently [modularizing its monolith](https://trac.sagemath.org/ticket/29705). Is there a package that falls out of that small enough for us to include...
Hello! Just a heads-up that your doc link seems to be broken. (CC @lockwo from https://github.com/patrick-kidger/jaxtyping/issues/245)
Since Python 3.12 runtime-checkable `typing.Protocol`'s use caching and some other tricks to achieve a ~20x speedup: https://github.com/python/cpython/issues/102433 For older Python versions, `typing-extensions` provides a `Protocol` variant that includes (most of)...