pydantic: Data validation using Python type hints.
What problem it solves External data needs to conform to an application's expectations before it is used. Pydantic addresses this by letting developers define data shapes with standard Python type hints and then validate incoming values against those definitions. Key features Type-hint-based models — Models describe expected data using familiar Python type hints. This keeps validation definitions …
github.comhttps://github.com/pydantic/pydantic