To do this, we need a minimalistic web framework, called Cherrypy. It is easy to master and requires a minimum of code.
Installation: Pip Install Cherrypy
Work with it is intuitive, because the module adheres to the principles of OOP. It can be used, for example, to create a test API.
Freimvorku for about 10 years, so it is considered stable and fast
Special method _cp_dispatch
_cp_dispatch is a special method that you declare in any of your controllers for processing the remaining segments before Cherrypy can process them. This gives you the opportunity to delete, add or otherwise process any request that you want, and even completely change the data from the request.
#machinelearning #artificialintelligence #ai #datascience #programming #Technology #Deeplearning