python-annotated-types

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.

There is no official package available for openSUSE Leap 16.0

Distributions

openSUSE Tumbleweed

openSUSE Leap 16.0

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Backports for SLE 15 SP7

openSUSE Backports for SLE 15 SP4

Fedora Rawhide (unstable)

Fedora 43

Fedora 42

Fedora 41

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.