FICHA · MANJARO

python-annotated-types

Reusable constraint types to use with typing.Annotated

  • Library
  • Dev
  • NONE
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Define reusable constraint metadata for Python types with typing.Annotated, supporting validation and schema tools that understand structured type constraints. It helps libraries express rules without custom ad hoc markers.

Constraints are metadata until a tool enforces them. Confirm which validator or framework reads the annotations before relying on them for safety.

Permissions

Permissions not analysed for this source yet.