Pydantic: Your One-Stop Shop to Data Validation in Python

  • Home /
  • Schedule /
  • Pydantic: Your One-Stop Shop to Data Validation in Python

Pydantic: Your One-Stop Shop to Data Validation in Python

  • General Python, Web/DevOps
  • Short Talk
  • Beginner
  • Image Description

    By David Asem

    Software Engineer

    Abstract:

    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:

    1. What is Pydantic and how does it work?
    2. How to define data models using Pydantic.
    3. What Pydantic Models, Validators, and Convertors are
    4. Validating and converting data using Pydantic
    5. Working with complex data structures using Pydantic
    6. 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
    Image Description