Below is a simple Websockets Echo Server using Flask and gevent 🙂

Installation

requirements.txt – easily build all depencies

websocket_echo_test.py – main server file

index.html – HTML template

Start Server

Browser URL

References

1. Flask
2. Gevent
3. Websockets

About Gugulethu Ncube

IT enthusiast getting things done.