Python Pydantic Tutorial - Learn how to write advanced Classes in Python

Published: 28 May 2024
on channel: JimShapedCoding
2,946
101

#Python #Pydantic #OOP

Welcome to a unique tutorial, this library is the most popular way of creating classes in Python and we're going to learn how to use it.
I might have not mentioned this in the video, but please use Python3.11 or above in your computer to ensure everything will work


Timeline:
00:00 - 01:30 - Why learn Pydantic ?
01:31 - 03:11 - Basic Pydantic Syntax
03:12 - 07:45 - Field Validating
07:46 - 11:05 - Annotations with Pydantic
11:06 - 14:24 - Default values in fields
14:25 - 16:11 - Additional fields for the Project
16:12 - 19:22 - Useful object methods in Pydantic


Related tutorials:

🟤 Decorators:
   • How Decorators REALLY work in Python?  

🟤 Class vs Instance vs Static methods:
   • Python Object Oriented Programming - Class...  


Important Links:
🔴 Take the code from:

https://github.com/jimdevops19/code_s...

🔴 Pydantic documentation
https://docs.pydantic.dev/latest/

🔴 How to install choco on Windows ?
https://chocolatey.org/install#indivi...


On this page of the site you can watch the video online Python Pydantic Tutorial - Learn how to write advanced Classes in Python with a duration of hours minute second in good quality, which was uploaded by the user JimShapedCoding 28 May 2024, share the link with friends and acquaintances, this video has already been watched 2,946 times on youtube and it was liked by 101 viewers. Enjoy your viewing!