Pydantic: Your One-Stop Shop to Data Validation in Python
By David Asem
Software EngineerAbstract:
External data entering our applications is inherently untrustworthy—a reality that makes data validation a nonnegotiable security component of any software application. This process, which ensures that the data coming in and being processed by the application is accurate and consistent, can often become a tedious and error-prone task, especially when handling complex data structures. It often results in complicated code logic and increases complexity; consequently decreasing code readability.
Pydantic is a powerful, efficient, elegant, and flexible answer to these challenges in Python. It simplifies the process of data validation in Python by providing a declarative syntax that is easy to understand and straightforward to implement This talk will explore how Pydantic can streamline your data validation processes, reduce coding errors, and maintain the readability and simplicity of your codebase.
In this talk, I will introduce Pydantic and discuss how it can be used to make data validation easy in Python. We will cover the following topics:
- What is Pydantic and how does it work?
- How to define data models using Pydantic.
- What Pydantic Models, Validators, and Convertors are
- Validating and converting data using Pydantic
- Working with complex data structures using Pydantic
- How to leverage Pydantic in your day to day application development.
Target Audience: This talk is aimed at Python developers of all levels (although beginners are highly targeted) who are interested in simplifying the data validation process in their applications. No prior knowledge of Pydantic is required, but a basic understanding of Python is recommended.
Conclusion: After this talk, attendees would have gained practical working knowledge of Pydantic and how to use it to simplify data validation in their real-world Python applications. Whether you are building a small script or a large-scale application, Pydantic can be an invaluable tool for data validation and processing data.
GO BACK
Other Talks
-
-
Building your Python Cloud & Serverless applications using LocalStack!
by Harsh Bardhan Mishra -
-
-
Building SMART Recommendation Systems in Python
by Arthur Kakande