For anybody that has been both dwelling underneath a programming rock or truthfully has stuff to do exterior of python improvement, you could not have heard about Pydantic. Its a bundle for information validation, object serialization and de-serialization, and sophistication administration.
In my latest article, Cease utilizing Python prefer it was 15 years in the past, I discussed you need to be utilizing Pydantic fashions. So now I’m going to point out you what I imply. Additionally, simply came upon a short time in the past that the definition of pedantic is:
“somebody who annoys others by correcting small errors, caring an excessive amount of about minor particulars, or emphasizing their very own experience particularly in some slim or boring subject material.”
So that is very becoming for a medium tech article! haha
Here’s a pal hyperlink in the event you don’t have medium premium: https://medium.com/@BryMei/what-is-pydantic-and-how-can-it-help-your-next-python-project-a2d1bc01c91b?sk=2a25c171394e2c651fb23d3ea702eafa
- Parsing incoming information
- Passing round settings, information, and different data over args
- Making certain that sorts are what I anticipate at runtime.