Reusable constraint types to use with typing.Annotated

PEP-593 added typing.Annotated as a way of adding context-specific metadata to existing types, and specifies that Annotated[T, x] should be treated as T by any tool or library without special logic for x. 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.
RPM
python3-annotated-types-0.7.0-7.lbn36.noarch.rpm
Summary
Reusable constraint types to use with typing.Annotated
URL
https://github.com/annotated-types/annotated-types
Group
Unspecified
License
MIT
Source
python-annotated-types-0.7.0-7.lbn36.src.rpm
Checksum
7d030f5c09cdb1af25304e7b1883a17ef4336d43004176190bc065132aea0cb0
Signing Signature
(none)
Build Date
2025/09/10 10:01:21
Requires
Provides
python-annotated-types = 0.7.0-7.lbn36
python3-annotated-types = 0.7.0-7.lbn36
python3.10-annotated-types = 0.7.0-7.lbn36
python3.10dist(annotated-types) = 0.7
python3dist(annotated-types) = 0.7