Group :: Development/Python3
RPM: python3-module-annotated-types
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 0.5.0-alt1
Build date: 10 august 2023, 20:27 ( 38.2 weeks ago )
Size: 16.35 Kb
Home page: https://pypi.org/project/annotated-types
License: MIT
Summary: Reusable constraint types to use with typing.Annotated
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 10 august 2023, 20:27 ( 38.2 weeks ago )
Size: 16.35 Kb
Home page: https://pypi.org/project/annotated-types
License: MIT
Summary: Reusable constraint types to use with typing.Annotated
Description:
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.
Current maintainer: Alexandr Shashkin 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.
List of contributors List of rpms provided by this srpm:
- python3-module-annotated-types