4 ms·
I just use CherryPy. It can run under WSGI, be a host for WSGI applications (and is usually used to host Flask applications) and runs it's own web server as wel
by giancarlostoro 9y ago
I just use CherryPy. It can run under WSGI, be a host for WSGI applications (and is usually used to host Flask applications) and runs it's own web server as well. CherryPy is pretty decent and performant, both Hulu and Netflix use it internally or have in the past. I do know one of the main devs is trying to make it support more of the asyncio stuff, though that might be a while.
To answer your question as to "why WSGI?" the point is that if you write code that targets WSGI, no matter what you can put your Python code behind any WSGI compliant server. You wont be screwed because you picked a dying framework.
- sametmax 9y agoYes but we have plenty of solutions for those. It's 2017, we got WSGI right. It's a done deal. Like trying to create another CGI framework.
- giancarlostoro 9y agoI'm for WSGI, just stating that there are frameworks that fully support it properly as both hosts and end points for it.