3 ms·
There is a socket.io server for Python that claims to work with Django: https://github.com/abourget/gevent-socketio https://github.com/abourget/gevent-socketio
by rattray 13y ago
There is a socket.io server for Python that claims to work with Django: https://github.com/abourget/gevent-socketio https://github.com/abourget/gevent-socketio
I haven't used it personally, and would be very interested to hear others' thoughts.
EDIT: Looking through the example code ( https://github.com/abourget/gevent-socketio/tree/master/examples/django_chat https://github.com/abourget/gevent-socketio/tree/master/exam... ), it doesn't seem as straightforward as one might hope, especially compared to the channels API.
FWIW, I'm using the AppEngine Channels API from my Django app, and have yet to be disappointed with it.