annotated-types
Reusable constraint types to use with typing.Annotated
Reusable constraint types to use with typing.Annotated
To install this package, run one of the following:
This package provides metadata objects which can be used to represent common constraints such as upper and lower bounds on scalar values and collection sizes, a Predicate marker for runtime checks, and descriptions of how we intend these metadata to be interpreted. In some cases, we also note alternative representations which do not require this package.
Summary
Reusable constraint types to use with typing.Annotated
Information Last Updated
May 19, 2025 at 11:48
License
MIT
Total Downloads
0
GitHub Repository
https://github.com/annotated-types/annotated-typesDocumentation
https://github.com/annotated-types/annotated-types