Pydantic V2: Essentials
An in-depth guide to mastering Pydantic V2 for data modeling, parsing and validation
Lo que serás capaz de hacer
This is an advanced level course on using the Pydantic V2 library. This course is not for beginners ! I have worked with Pydantic (starting with v1) for many years , and use that experience to bring you a course that focuses on the essential parts of Pydantic you will need to know to use it professionally , effectively and to leverage it's full potential . Pydantic provides a very flexible framework for modeling , validating and parsing data in Python. Although Pydantic is often associated with frameworks such FastAPI, it has far broader applications well beyond just REST API development. From modeling and validating data in databases (like Redis, DynamoDB, Clickhouse), queues (like SQS, ElasticMQ, RabbitMQ), and even CSV files, to even providing argument validation for your custom Python functions! Pydantic is a very flexible, fast-to-develop, and easy-to-understand data modeling framework that belongs in every serious Python developer's toolkit . Anytime you have a Python project that contains a fair amount of data validation and modeling into Python classes, Pydantic can be leveraged very effectively. You can think of Pydantic as somewhat similar to Python's dataclasses, but with an advanced and flexible data validation layer, as well as the easy ability to deserialize (load) and serialize (output) these Python/Pydantic classes into plain dictionaries and JSON. Just like dataclasses, Pydantic uses Python's type hinting capabilities to define data models, but then adds in validation and serialization/deserialization capabilities, which are all fully customizable.
- Create Advanced Pydantic V2 Models
- Custom Validators and Serializers
- Leverage Annotated Types with Pydantic
- Aliases, Properties and Computed Fields
- Pydantic applications, including validating Python function arguments
Temario
UNIDAD 1 - Introduction · 3 leccionesUNIDAD 1 - Introduction
UNIDAD 1 - Introduction
- Course Goals and Prerequisites
- Course Curriculum Overview
- Using the Companion GitHub Repository
UNIDAD 2 - Basics · 12 leccionesUNIDAD 2 - Basics
UNIDAD 2 - Basics
- Introduction
- Creating a Pydantic Model
- Deserialization
- Serialization
- Type Coercion
- Required vs Optional Fields
- Nullable Fields
- Combining Nullable and Optional
- Inspecting Fields
- JSON Schema Generation
- Project
- Project Solution
UNIDAD 3 - Model Configuration · 11 leccionesUNIDAD 3 - Model Configuration
UNIDAD 3 - Model Configuration
- Introduction
- Handling Extra Fields
- Strict vs Lax Type Coercion
- Validating Default Values
- Validating Assignments
- Mutability
- Coercing Numbers to Strings
- Standardizing Strings
- Handling Python Enums
- Project
- Project Solution
UNIDAD 4 - Field Aliasing, Serialization and Deserialization · 9 leccionesUNIDAD 4 - Field Aliasing, Serialization and Deserialization
UNIDAD 4 - Field Aliasing, Serialization and Deserialization
- Introduction
- Field Aliases and Default Values
- Alias Generator Functions
- Deserializing by Field Name or Alias
- Serialization Aliases
- Validation Aliases
- Custom Serializers
- Project
- Project Solution
UNIDAD 5 - Specialized Pydantic Types · 8 leccionesUNIDAD 5 - Specialized Pydantic Types
UNIDAD 5 - Specialized Pydantic Types
- Introduction
- PositiveInt
- Constrained Lists
- UUID
- Date Related Types
- Network Types
- Project
- Project Solution
UNIDAD 6 - Additional Field Features · 7 leccionesUNIDAD 6 - Additional Field Features
UNIDAD 6 - Additional Field Features
- Introduction
- Numerical Constraints
- String Constraints
- Default Factories
- Additional Field Configurations
- Project
- Project Solution
UNIDAD 7 - Annotated Types · 6 leccionesUNIDAD 7 - Annotated Types
UNIDAD 7 - Annotated Types
- Introduction
- Pydantic and Annotated Types
- Annotated Types and Type Variables
- String Constraints
- Project
- Project Solution
UNIDAD 8 - Custom Validators · 8 leccionesUNIDAD 8 - Custom Validators
UNIDAD 8 - Custom Validators
- Introduction
- After Validators
- Before Validators
- Combining Before and After Validators
- Custom Validators using Annotated Types
- Dependent Field Validations
- Project
- Project Solution
UNIDAD 9 - Properties and Computed Fields · 5 leccionesUNIDAD 9 - Properties and Computed Fields
UNIDAD 9 - Properties and Computed Fields
- Introduction
- Properties
- Computed Fields
- Project
- Project Solution
UNIDAD 10 - Custom Serializers using Annotated Types · 4 leccionesUNIDAD 10 - Custom Serializers using Annotated Types
UNIDAD 10 - Custom Serializers using Annotated Types
- Introduction
- Custom Serializers with Annotated Types
- Project
- Project Solution
UNIDAD 11 - Complex Models · 6 leccionesUNIDAD 11 - Complex Models
UNIDAD 11 - Complex Models
- Introduction
- Model Composition
- Model Inheritance
- Project
- Project Solution
- Final Project Solution Recap
UNIDAD 12 - Pydantic Applications · 5 leccionesUNIDAD 12 - Pydantic Applications
UNIDAD 12 - Pydantic Applications
- Introduction
- Consuming a REST API
- Ingesting a CSV File
- Validating Function Arguments
- Model Code Generators
UNIDAD 13 - Conclusion · 1 leccionesUNIDAD 13 - Conclusion
UNIDAD 13 - Conclusion
- Conclusion
Tu certificado lo emite la SEP, no solo una plataforma
Al demostrar la competencia recibes un certificado emitido por la Secretaría de Educación Pública a través del Gobierno del Estado de México: un documento oficial que puedes presentar con confianza ante cualquier empleador o institución.
Tu certificado con INEC
- Lo emite la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México
- Documento oficial con folio verificable en línea
- Lo otorga la Universidad Tecnológica Fidel Velázquez
Otras plataformas en línea
- Constancia privada emitida por la misma plataforma
- Solo acredita horas cursadas o asistencia
- Sin respaldo de una autoridad educativa
Tu itinerario, de la inscripción al certificado
- 1
Inscripción con pago único
Pagas $2,800 MXN una sola vez y entras de inmediato al curso.
- 2
Estudias a tu ritmo
13 unidades con videos, lecturas y actividades, disponibles 24/7 durante 12 meses.
- 3
Cuestionarios por unidad
Cuestionarios para comprobar lo aprendido.
- 4
Certificado
Emitido por la SEP a través del Gobierno del Estado de México, con folio verificable.
Un certificado oficial de la SEP
- Emitido por la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México. No es una constancia privada: es un documento oficial, y ese respaldo marca la diferencia frente a otras plataformas en línea.
- Contenido impartido por Dr. Fred Baptiste.
- Folio y QR verificables para compartirlo con quien te contrate.
Empieza hoy, a tu ritmo
Un solo pago y acceso inmediato al curso completo durante 12 meses.
- 13 unidades · 85 lecciones · 60 h
- 12 meses de acceso
- Certificado emitido por la SEP (Gob. del Estado de México) con folio verificable
Sobre tu inscripción
¿Cómo es el pago?
Un solo pago de $2,800 MXN. No hay mensualidades ni cargos recurrentes.
¿Cuánto tiempo tengo acceso?
12 meses desde tu inscripción, 24/7, para avanzar a tu ritmo.
¿Quién imparte el contenido?
El curso es impartido por Dr. Fred Baptiste; INEC gestiona tu inscripción, evaluación y certificado.
¿Qué pasa cuando vence mi acceso?
Puedes renovar tu cuenta tú mismo desde la plataforma, sin trámites ni esperas.


