Companies Home Search Profile

Learning Pydantic: Advanced Data Validation In Python

Focused View

Andy Bek

11:16:21

15 View
  • 1 - Course Resource Part 1.html
  • 1 - lecture-code.zip
  • 2 - Introduction To Pydantic.mp4
    07:50
  • 3 - Our First Pydantic Model.mp4
    09:59
  • 4 - Coercion And Strict Types.mp4
    07:30
  • 5 - More Types And Constraints.mp4
    08:43
  • 6 - Date And Time Types.mp4
    08:10
  • 7 - Lists And Nested Lists.mp4
    09:53
  • 8 - Dictionaries And Typed KeyValues.mp4
    12:53
  • 9 - Sets And Tuples.mp4
    07:57
  • 10 - Unions.mp4
    06:41
  • 11 - Optional Any And Defaults.mp4
    06:26
  • 12 - UUIDs And Default Factories.mp4
    08:09
  • 13 - Immutable Attributes.mp4
    07:34
  • 14 - Additional Properties.mp4
    07:09
  • 15 - Enumerations.mp4
    05:16
  • 16 - For Better Performance Literals.mp4
    07:30
  • 17 - Customizing Field Validators.mp4
    10:59
  • 18 - ModelLevel Validators.mp4
    11:54
  • 19 - Extra A Closer Look At Error Objects.mp4
    10:45
  • 20 - Instance Serialization To Dict And JSON.mp4
    05:23
  • 21 - Field Exclusions.mp4
    07:48
  • 22 - JSON Schema.mp4
    12:33
  • 23 - Deserialization.mp4
    06:23
  • 24 - Course Resource Part 2.html
  • 24 - the-polls-api-main.zip
  • 25 - Overview.mp4
    04:00
  • 26 - Creating A Virtual Environment.mp4
    05:54
  • 27 - Our First Dependencies.mp4
    03:23
  • 28 - Application Directory Structure.mp4
    05:00
  • 29 - API Hello World.mp4
    05:27
  • 30 - Defining Our First Poll Model.mp4
    06:40
  • 31 - Polls Create With Placeholders.mp4
    04:10
  • 32 - Polls In The Request Body.mp4
    07:15
  • 33 - Defining The Choice Data Model.mp4
    03:05
  • 34 - Splitting Into Read And Write Models.mp4
    05:23
  • 35 - Poll vs PollCreate.mp4
    08:06
  • 36 - Polls Should Have Between 2 and 5 Choices.mp4
    03:19
  • 37 - pollcreate With Incrementing Choice Labels.mp4
    12:29
  • 38 - Creating Polls Through The API.mp4
    06:23
  • 39 - Refactoring To HTTPExceptions.mp4
    06:37
  • 40 - Conceptual Introduction To Redis Our KeyValue Store.mp4
    04:52
  • 41 - Setting Up A Redis Instance.mp4
    04:31
  • 42 - Connecting Saving And Retrieving Data From Redis.mp4
    08:46
  • 43 - Refactoring Connection Parameters To Environment Variables.mp4
    07:04
  • 44 - Defining utilspy.mp4
    04:10
  • 45 - Integrating savepoll With POST pollscreate.mp4
    02:28
  • 46 - Defining And Integrating GET Poll.mp4
    07:06
  • 47 - Modular Reorganization With API Routers.mp4
    08:54
  • 48 - Application Metadata.mp4
    03:10
  • 49 - Faster Iteration With Visual HTTP Clients.mp4
    11:29
  • 50 - Voting Pydantic Data Models.mp4
    09:05
  • 51 - The Votes API Router.mp4
    09:11
  • 52 - Get Choice ID From Label.mp4
    04:41
  • 53 - Creating And Returning Vote Instances.mp4
    10:13
  • 54 - Storing And Retrieving Votes In Redis Hashsets.mp4
    09:08
  • 55 - Integrating Vote Saving With The Routes.mp4
    02:15
  • 56 - Double Voting Should Not Be Allowed.mp4
    04:16
  • 57 - Voting On Expired Polls Should Not Be Allowed.mp4
    08:30
  • 58 - Other Voting Validations.mp4
    04:23
  • 59 - Optimizing Get getchoiceidbylabel.mp4
    04:30
  • 60 - Dependency Injecting Common Validations.mp4
    09:24
  • 61 - Get All Polls.mp4
    08:07
  • 62 - Batching Requests With mget.mp4
    04:01
  • 63 - Parameterizing Get Polls For Poll Status.mp4
    08:03
  • 64 - Tracking Vote Counts With Hash Increment By.mp4
    04:35
  • 65 - Displaying Vote Tallies.mp4
    07:26
  • 66 - Defining The Poll Results Pydantic Data Models.mp4
    03:53
  • 67 - Returning PollResults.mp4
    08:47
  • 68 - Deleting Poll Data.mp4
    10:43
  • 69 - Extra Custom Exception Handlers.mp4
    08:00
  • 70 - Deployment Checklist.mp4
    05:38
  • 71 - Requirementstxt And Build Configuration.mp4
    05:52
  • 72 - Git Repository And gitignore.mp4
    08:21
  • 73 - Pushing To GitHub.mp4
    01:47
  • 74 - Deployment.mp4
    05:33
  • 75 - Python-Programming-Crash-Course.zip
  • 75 - Section Resources.html
  • 76 - Data Types.mp4
    02:35
  • 77 - Variables.mp4
    08:27
  • 78 - Arithmetic And Augmented Assignment Operators.mp4
    07:16
  • 79 - Ints And Floats.mp4
    08:54
  • 80 - Booleans And Comparison Operators.mp4
    05:12
  • 81 - Strings.mp4
    07:52
  • 82 - Methods.mp4
    06:29
  • 83 - Containers I Lists.mp4
    06:08
  • 84 - Lists vs Strings.mp4
    06:53
  • 85 - List Methods And Functions.mp4
    07:54
  • 86 - Containers II Tuples.mp4
    04:43
  • 87 - Containers III Sets.mp4
    10:32
  • 88 - Containers IV Dictionaries.mp4
    05:15
  • 89 - Dictionary Keys And Values.mp4
    08:14
  • 90 - Membership Operators.mp4
    04:28
  • 91 - Controlling Flow if else And elif.mp4
    08:21
  • 92 - Truth Value Of Nonbooleans.mp4
    03:28
  • 93 - For Loops.mp4
    05:06
  • 94 - The range Immutable Sequence.mp4
    05:10
  • 95 - While Loops.mp4
    05:56
  • 96 - Break And Continue.mp4
    04:15
  • 97 - Zipping Iterables.mp4
    03:39
  • 98 - List Comprehensions.mp4
    07:47
  • 99 - Defining Functions.mp4
    10:19
  • 100 - Function Arguments Positional vs Keyword.mp4
    06:54
  • 101 - Lambdas.mp4
    05:28
  • 102 - Importing Modules.mp4
    05:38
  • Description


    The Complete Guide To Pydantic Including A Full Capstone Project with FastAPI And Redis

    What You'll Learn?


    • Gain an in-depth understanding of what Pydantic is and how it is used
    • Practice defining Pydantic data models using modern type hints, custom validations, and fine-tuned configuration
    • Learn how to define complex, interdependent, and nested data models with Pydantic
    • Serialize model instances into JSON and deserialize incoming data
    • Practice using Pydantic in the context of building and deploying a real-world python web API
    • Master relevant concepts in modern python application development, like dependency management and version control

    Who is this for?


  • Anyone interested in learning about Pydantic
  • What You Need to Know?


  • Some basic experience with python would help but is NOT required
  • A full-length introduction to Python is included as an optional Appendix
  • A general willingness to learn is the only prerequisite as all relevant concepts will be explained as and when used
  • More details


    Description

    Welcome to the best resource online for learning modern Pydantic, a data validation library that has taken the python community by storm.

    Pydantic is was first released in 2018 and has since become one of the most popular python libraries. It is nowadays downloaded more than 130 million times a month, and is used by some of the largest organizations out there, from the tech giants like Google, Amazon, Apple, Meta, and Netflix, to large conglomerates in various other industries, such as Starbucks, JPMorgan Chase. Oh, and yes, even NASA.

    There's a good reason for this. Pydantic is a powerful library that elegantly solves a very common problem in software development: data validation.

    Pydantic's speed, simple declarative syntax, and extensibility make it an indispensable utility in modern python development.

    And in this course, you will learn everything you need to know to get started with Pydantic, from the very basics of defining data models, to more advanced topics such as fields with factory defaults, creating custom model-validators, data serialization, and much more.

    The first part of the course will be purely about pydantic, where we explore it in isolation. You will learn:


    • how to define data models with pydantic

    • how to compose more complex models from simpler ones via inheritance

    • the foundations of type hinting in python, including enumerations, literals, and other advanced types-

    • how to use pydantic's powerful validation system

    • how to serialize and deserialize data

    • how to extract models to schemas

    • how to validate data against pydantic models


    Then in the second part of the course we will turn our attention to the Capstone Project, where we will use pydantic to develop and deploy a python web API that allows users to create and vote on polls. This app will use Redis as our durable key-value data store, and will be deployed to production as a serverless function.

    The Capstone will be developed step by step, in a series of about 30 skill challenges, where you will be asked to incrementally implement small features. This will give you the opportunity to practice what you've learned in the first part of the course, and to:


    • get a practical feel for how Pydantic is used in real-world applications

    • learn about modern API development with python

    • understand what Redis is and how it can be used as a durable data store

    • learn about virtual environments and dependency management in python

    • practice using git and github

    • learn the basics of serverless computing by deploying the API as a serverless function

    The course will use the latest version of Pydantic, which leverages the power of Rust to achieve blazing fast performance.

    Also, if you're new to python or haven't used the used the language in a while, there's a full-featured python crash course included as an extra appendix which will get you up to speed in no time.

    I'm very excited to share this with you, and I look forward to seeing you in the course!

    Who this course is for:

    • Anyone interested in learning about Pydantic

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Hi! I'm Andy. I'm freelance software developer and capital markets consultant. I've spent close to a decade working with data, using code to automate business workflows, and consulting financial institutions on data-intensive applications.Aside from teaching, I run a AI and data consulting firm that targets fintechs in the post-trade services niche.
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 99
    • duration 11:16:21
    • Release Date 2024/04/14