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?
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.
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?
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

Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.