I would really like to use Python to build some services on z/OS. In order to do that, I need a listener…and Flask appears to be the standard way to do this with Python. Any chance y’all are looking at porting that framework?
We are working on porting Flask now. Thanks for waiting.
With the Python 3.6 Beta version there is a Flask included.
This seems to be working. I have tried this with a small app that reads and displays codepages.
Only thing that is that it draws a lot of CPU when run with app.debug=True. This may be a Flask problem that may be fixed with watchdog package or with a z/OS specific solution for monitoring changes in the file system.
With debug=False it is better in CPU consumption, but for production a solid web server should be used (e.g Apache with mod_wsgi). Tornado is included in the package as well that could be used to serve a WSGI Flask app