@jaseg That was indeed quite minimal. I struggled with the #uwsgi manual and was unable to find a definition for the application interface, but got some help from
https://dev.to/cwprogram/python-deployment-wsgi-with-uwsgi-d45
I have successfully converted the simple scripts, but I have one more complex one that need to handle POST data (both multipart/form-data, possibly some query parameters in the URI, and a direct binary POST with a file upload). The #cgi package did help me there, but I am struggling to find any documentation on how uwsgi handles that.