@jaseg Thanks! Yes I've found a lot of mentions of wsgi, but wading through search results isn't easy.
What is confusing me when reading up on wsgi, I still need to run the script through the uswgi binary, I cannot just have a stand-alone Python script answer the requests internally and just call a handler function directly?
I should probably try to locate the official uwsgi documentation, the Python library documentation on wsgi was confusing.