Open-source Languages & Tools for z/OS

 View Only
  • 1.  Have you looked at Flask for Python on z/OS?

    Posted 10-03-2016 21:09

    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?



  • 2.  RE: Have you looked at Flask for Python on z/OS?

    Posted 07-31-2017 06:57

    We are working on porting Flask now. Thanks for waiting.



  • 3.  RE: Have you looked at Flask for Python on z/OS?

    Posted 08-16-2017 05:23

    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
    :slight_smile: