flask websocket server example
Example 1: Flask socket io
pip install flask-socketio
Example 2: flask socketio with gevent
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app
pip install flask-socketio
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app