Pydantic: A Package for Picky Python Programmers - Paul Sharp
Channel: Cambridge University RSE Seminars
Date: 2024-02-22

Presenter: Paul Sharp - Rutherford Appleton Laboratory, STFC
Presented on: 2024-02-22

Abstract:
Pydantic is the most widely used data validation library for Python, with the recent release of version 2 significantly improving its performance and updating the syntax. In this talk, I will introduce the library by showing the connections with type hints and dataclasses. I will then demonstrate the fundamental Pydantic concepts, including models, fields, and validators, and how to use these to build robust and maintainable Python applications that support complex data structures.