conda-archive / conda-ui

UI for Conda package manager
Web user interface for Conda
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Add installation progress dialog #3

Open mattpap opened 10 years ago

mattpap commented 10 years ago

This may require websockets.

lidavidm commented 10 years ago

Python websocket libraries:

Sockjs seems like the best bet right now, as it works with Python 3.

mattpap commented 10 years ago

Thanks. It would be good to have a 2/3 solution. Usually either the first or the later is supported. I was playing with another option, autobahn, which claims to support both.

lidavidm commented 10 years ago

Both autobahn and Tornado/SockJS look comparable, so I guess the issue is whether we prefer Twisted (the asyncio version doesn't have WSGI integration?) or Tornado for the server.

tswicegood commented 10 years ago

Just giving each a cursory glance, sockjs looks more Pythonic. (on_message vs onMessage). All things being equal, I would lean toward a library that follows the underscore naming just because I would expect less surprise from it.

That said, neither of these libraries have any testing -- so tread lightly with them.