Configuration management in Python like a Boss(Pydantic with python-dotenv)
Note: For non-members, this article is also available at https://progressstory.com/tech/python/configuration-management-python-pydantic/
The most basic thing of any application is the configuration variables. Some of them are constant throughout the application lifecycle and others keep on changing. The ones that are constants we just…