Forums

Could you add webapp2 and tornado support?

Could you add webapp2 (or GAE dev support) and tornado support?

Thanks much.

Hi there,

We're very happy to support people who are developing for deployment via GAE - we'll look into adding webapp and webapp2 to our standard "batteries included" as soon as we can.

In the meantime, you can install them into your own account, using

pip-2.6 install --user webapp2
pip-2.7 install --user webapp2

On tornado, we do have the package available, but currently we only support apps that work via WSGI - so, for most tornado use cases which require arbitrary socket connections, you can't currently deploy them via PythonAnywhere (although you could conceivably develop them here).a

Supporting non-WSGI webapps is definitely on our to-do list, I'll upvote the ticket on your behalf...

What about Tornado WSGI support? (for example, http://www.tornadoweb.org/en/stable/wsgi.html)

Sure. Looks like that should work. You'd just need to set up you wsgi file to export a variable called application that is an instance of tornado.wsgi.WSGIApplication.