annotated-types
Reusable constraint types to use with typing.Annotated
About annotated-types
Reusable constraint types to use with typing.Annotated
Key Features
- Reusable constraint metadata for typing.Annotated
- Expresses bounds and shape constraints in type hints
- Works cleanly with Pydantic and validator frameworks
- Keeps validation intent close to type declarations
Installation
uv add annotated-typesRelated Tools
Quick Info
- Latest Version
- 0.7.0
- First Release
- 2022
- License
- MIT License