koda-validate
A Python validation library offering type-safe, reusable validator building blocks. The current update focuses on ergonomics improvements, including a better __repr__ for Invalid types, and potentially expands the ability to generate validators from arbitrary type hints such as get_typehint_validator(list[str | int]).
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
koda-validate
A Python validation library offering type-safe, reusable validator building blocks. The current update focuses on ergonomics improvements, including a better __repr__ for Invalid types, and potentially expands the ability to generate validators from arbitrary type hints such as get_typehint_validator(list[str | int]).
Posted by @keithasaurus · Original source ↗
Source text · @keithasaurus · · Source ↗
Updating my validation library for python, koda-validate (https://github.com/keithasaurus/koda-validate). Focusing on ergonomics improvements. Just released an improvement to the __repr__ for Invalid types. Potentially working on expanding the ability to generate validators from arbitrary typehints, ie `get_typehint_validator(list[str | int])`. It has good coverage, but I suspect I'm blind to some obvious holes. Would love feedback!