DEV Community

Cover image for The Vonage Dev Discussion: Everyone loves Pydantic
Liz Acosta for Vonage Developers

Posted on

The Vonage Dev Discussion: Everyone loves Pydantic

We’re back with another Vonage Dev Discussion!

If you’re a Python developer, chances are you’ve heard of Pydantic.

Pydantic is a data validation library for Python. Since its release in 2017, Pydantic has quickly become one of the most popular dependencies in software, reaching 10 billion downloads in 2026 🤯

But why is Pydantic so popular? We could name a few reasons – one of them being that it helped improve our Python SDK when we did a rewrite of it a couple of years ago.

But what do you think? 🤔

Why do you use Pydantic? What are some good use cases for it? How would you explain Pydantic to a beginner?

A stylized illustration of a robot with a megaphone and a speech bubble with the following text: Why do you use Pydantic? What are some good use cases for it? How would you explain Pydantic to a beginner?

(By the way, if you’re totally new to Pydantic, we've got this gentle introduction to help you out!)

Let us know your thoughts about Pydantic in the comments below! 🐍👇

Top comments (1)

Collapse
 
lizzzzz profile image
Liz Acosta Vonage Developers • Edited
pydantic_core._pydantic_core.ValidationError: 1 validation error for EmailChannel
to
  Input should be a valid string [type=string_type, input_value=678910, input_type=int]
    For further information visit https://errors.pydantic.dev/2.13/v/string_type
Enter fullscreen mode Exit fullscreen mode

This ^^^

Informative, actionable error messages. Need I say more? 🤣