MENU

Fun & Interesting

Pydantic Tutorial • Solving Python's Biggest Problem

pixegami 306,982 1 year ago
Video Not Working? Fix It Now

Learn how to use Pydantic in this short tutorial! Pydantic is the most widely used data validation library for Python. It lets you structure your data, gives you type-hints and auto-complete in your IDE, and helps to serialize to and from JSON. Learn how to use it in just 10 minutes! 👉 Links 🔗 Pydantic Docs: https://docs.pydantic.dev/ 🔗 Pydantic GitHub: https://github.com/samuelcolvin/pydantic 📚 Chapters 00:00 Python's Dynamic Typing Problem 02:11 How To Use Pydantic 05:04 Validating Data with Pydantic 06:36 Custom Field Validation 07:58 JSON Serialization 08:49 Pydantic vs Dataclasses #pixegami #python

Comment