I want to write an 'cloud' based application to interactivly develop games. I'm developing apps and tools in Python for years, but so far they were not in 'client <-> server' model.
I don not want to get any comparison. I want to ask experts, which tool is able to solve this specific problem
I was digging for over two weeks for right solutions and I found a lot of different servers/frameworks. I'm new to client-server world, so I'm not able to judge the real strengths or weaknesses of these libraries.
I will heavly use websockets (Python on the server side, js on the client side) and I want to choose best possible Python server / framework.
The question is, which python server/framework:
The solutions I found during my research include:
If you want to use Python only, then Twisted is a nice option to go with. Django has no web sockets implementation, though there are few projects at github, but still it is not recommended since Django runs on wsgi. Tornado is good with websockets too.
If you are at a beginning stage and exploring options, I strongly suggest, go with Node.js. It is awesome for asynchronous event handling. As name only suggests, its javascript not some python framework.
You may try http://websockets.readthedocs.io/en/stable/intro.html There is a small demo using it with Python3.5 that I have uploaded https://www.youtube.com/watch?v=BgpPm9N338s
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With