Pergunta

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.

Foi útil?

Solução

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.

Outras dicas

Your solution is SignalPy.
https://pypi.org/project/SignalPy/

SignalPy Real-time Communication for web applications with SignalPy. Incredibly simple real-time web for python WSGI servers and frameworks

I am the author of signalpy. report bugs or ask questions :https://github.com/Ksengine/SignalPy/issues If anyone can please contribute.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top