Skip to content

kcarnold/flask-gevent-socketio-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I couldn't find a minimal example of using Flask (a small web framework) with gevent-socketio (a simple way to get websockets). So this is a straight-up port of the chat example from gevent-socketio to Flask.

You'll need Flask and gevent-socketio installed. Then just run python server.py.

You can use virtualenv too, just type:

mkvirtualenv flask-chat
pip install -r requirements.txt
python server.py

About

Minimal example of using Flask with python-gevent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages