Photo by Luke Chesser on Unsplash

In the previous article, we implemented simple CRUD. But from requests, data doesn’t arrive as planned. Like we want our student’s name to be string, not an integer or float type.

For this purpose, we are using a Python package named Pydantic.

pip install pydantic

After installing pydantic import BaseModel.

  • easy to learn
  • interactive programming language
  • efficient high level data structures
  • simple but effective approach to Object Oriented Programming.

Python’s elegant syntax and dynamic typing together with it’s interpreted nature ,makes python an ideal language for scripting and rapid application development in many areas on most platforms.

Python was developed…

Mausam Adhikari

Computer Engineer, Data Science Learner, Domain Driven Design Practitioner , Python

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store