I am choosing a python library to write a live-chat function page embed in my website.
I found two libraries that based on Socket.IO, python-socketio
and gevent-socketio
:
From python-socketio doc:
Python implementation of the Socket.IO realtime server.
From gevent-socketio doc:
Socket.IO is a WebSocket-like abstraction that enables real-time communication between a browser and a server. gevent-socketio is a Python implementation of the protocol.
You see, both are implementation of Socket.IO.
I want to choose one of them(or if there is a better library than them I don't know).
My consideration points are bellow:
My python backend project is written by Django/Django-Rest-Framework framework.
My project is in a hurry, I want to use a more convenient lib, write less code to realize my requirement.
I surfed the internet, the gevent-socketio
live-chat must use the gevent python WSGI
server, I am not sure whether this is a limit for my project deployment.
Who can give me the suggestion to choose the best library for me?