SignalR Alternative for Python

空扰寡人 提交于 2019-12-22 06:31:21

问题


What would be an alternative for SignalR in Python world?

To be precise, I am using tornado with python 2.7.6 on Windows 8; and I found sockjs-tornado (Python noob; sorry for any inconveniences). But sockjs supports just 3 types of events and there are some limitations; I need things like groups, subscribers, propagating and other features that SignalR provides.


回答1:


You are probably looking for Twisted, a whole real-time engine for applications. https://twistedmatrix.com/trac/

If you do microframeworks, Flask (think Sinatra on ruby) also has a real-time module, but it's all barebones really, it might not be what you're looking for:

http://flask.pocoo.org/

Cheers.



来源:https://stackoverflow.com/questions/22413568/signalr-alternative-for-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!