{"library":"annotated-types","type":"library","category":null,"description":"annotated-types provides reusable constraint metadata objects—such as Gt, Lt, Len, MultipleOf, Timezone, Predicate, and more—to be used with typing.Annotated (PEP 593). It does not enforce constraints itself; enforcement is left to consuming libraries like Pydantic, Hypothesis, or custom validators. Current version is 0.7.0 (released 2024). The project follows an irregular, feature-driven release cadence and was created at PyCon 2022 by the Pydantic and Hypothesis maintainers.","language":"python","status":"active","version":"0.7.0","tags":["typing","annotations","pep-593","validation","pydantic","constraints","type-hints"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install annotated-types","imports":["from annotated_types import Gt, Lt, Ge, Le, Interval","from annotated_types import Len, MinLen, MaxLen","from annotated_types import Predicate","from annotated_types import Timezone","from annotated_types import IsDigits","from annotated_types import Unit","from annotated_types import GroupedMetadata"]}],"homepage":null,"github":"https://github.com/annotated-types/annotated-types","docs":null,"changelog":"https://github.com/annotated-types/annotated-types/releases","pypi":"https://pypi.org/project/annotated-types/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.06,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/annotated-types/compatibility"}}