Path to this page:
./
lang/py-annotated-types,
Reusable constraint types to use with typing.Annotated
Branch: CURRENT,
Version: 0.7.0,
Package name: py312-annotated-types-0.7.0,
Maintainer: pkgsrc-usersPEP-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.
Master sites:
Filesize: 15.704 KB
Version history: (Expand)
- (2024-10-14) Updated to version: py312-annotated-types-0.7.0
- (2024-07-29) Updated to version: py311-annotated-types-0.7.0
- (2024-01-30) Package added to pkgsrc.se, version py311-annotated-types-0.6.0 (created)
CVS history: (Expand)
2024-10-14 08:08:41 by Thomas Klausner | Files touched by this commit (21) |
Log message:
i*: clean up after python38 removal
|
2024-07-29 08:59:24 by Thomas Klausner | Files touched by this commit (2) | |
Log message:
py-annotated-types: update to 0.7.0.
Allow tzinfo objects for Timezone by @Viicos in #56
add URLs to pyproject.toml by @samuelcolvin in #58
suggested fix on typo by @PelicanQ in #60
Correct misstatement in README by @Zac-HD in #62
Fix IsDigit -> IsDigits by @toriningen in #63
Add Unit type by @tlambert03 in #65
Improve handling of GroupedMetadata (First try) by @cksleigen in #69
Prepare for 0.7.0 release by @adriangb in #70
|
2024-01-30 22:04:34 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-annotated-types: added version 0.6.0
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.
|