researching different options for serving websockets with python

lots of overlap with the recent search for python based web servers. uWSGI has an option that looks nice.

https://www.google.com/search?q=python+websockets&oq=python+websockets&aqs=chrome.0.57.2957j0&sourceid=chrome&ie=UTF-8
http://lowpowerlab.com/blog/2013/01/17/raspberrypi-websockets-with-python-tornado/
http://stackoverflow.com/questions/5839054/websocket-server-in-python
http://backchannel.org/blog/web-sockets-tornado
https://code.google.com/p/pywebsocket/
https://www.google.com/search?q=nginx+websockets&oq=nginx+websockets&aqs=chrome.0.57.4069j0&sourceid=chrome&ie=UTF-8#sclient=psy-ab&q=websocket+python&oq=websocket+&gs_l=serp.1.0.0i20l2j0l2.454777.457116.0.458384.3.3.0.0.0.0.384.669.0j2j0j1.3.0...0.0.0..1c.1.17.psy-ab.TarP4megT7c&pbx=1&bav=on.2,or.r_qf.&bvm=bv.48175248,d.aWc&fp=82a600f6a06a56f6&biw=990&bih=681
http://nginx.org/en/docs/http/websocket.html
https://www.google.com/search?q=we&oq=we&aqs=chrome.0.57j60l3j61j62.4078j0&sourceid=chrome&ie=UTF-8#sclient=psy-ab&q=websocket+server&oq=webso&gs_l=serp.1.3.0i20j0j0i20j0.1597.3486.0.12026.3.3.0.0.0.0.171.504.0j3.3.0...0.0.0..1c.1.17.psy-ab.x4pDwAaYnXM&pbx=1&bav=on.2,or.r_qf.&bvm=bv.48175248,d.aWc&fp=82a600f6a06a56f6&biw=990&bih=681
http://en.wikipedia.org/wiki/WebSocket
http://autobahn.ws/python
https://github.com/Lawouach/WebSocket-for-Python
https://www.google.com/search?q=we&oq=we&aqs=chrome.0.57j60l3j61j62.4078j0&sourceid=chrome&ie=UTF-8#q=websocket+server+python&source=lnt&tbs=qdr:y&sa=X&ei=NWvDUd3oJePXygHf8oDIBw&ved=0CBsQpwUoBQ&bav=on.2,or.r_qf.&fp=82a600f6a06a56f6&biw=990&bih=681
http://stackoverflow.com/questions/13936371/python-websocket-based-application-framework-server
http://stackoverflow.com/questions/8701444/websocket-library-for-python?rq=1
http://www.gelens.org/code/gevent-websocket/
https://www.google.com/search?q=uwsgi+websocket&oq=uwsgi+websocket&aqs=chrome.0.57.4749j0&sourceid=chrome&ie=UTF-8#q=uwsgi+websocket+example&ei=8XrDUdaaEuPkyAHWlYHwCQ&start=0&sa=N&bav=on.2,or.r_qf.&bvm=bv.48175248,d.aWc&fp=82a600f6a06a56f6&biw=990&bih=681
http://stackoverflow.com/questions/6761430/django-uwsgi-websocket-client-connection
http://lists.unbit.it/pipermail/uwsgi/2011-July/002436.html
https://github.com/unbit/uwsgi-docs/blob/master/WebSockets.rst
https://www.google.com/search?q=uwsgi+tutorial&oq=uwsgi+tutorial&aqs=chrome.0.57.3573j0&sourceid=chrome&ie=UTF-8
http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html
https://www.google.com/search?q=bottle+python+wsgi&oq=bottle+python+wsgi&aqs=chrome.0.57.3917j0&sourceid=chrome&ie=UTF-8
http://bottlepy.org/docs/dev/
http://bottlepy.org/docs/dev/tutorial_app.html#server-setup



references use while crafting web page to automatically refresh temperature

http://192.168.1.85/
http://192.168.1.85/check/
https://www.google.com/search?q=javascript+poll+for+change&oq=javascript+poll+for+change&aqs=chrome.0.57.4275j0&sourceid=chrome&ie=UTF-8
http://stackoverflow.com/questions/3583203/server-polling-with-javascript
http://api.jquery.com/category/ajax/
https://www.google.com/search?q=ajax+update+page+on+interval&oq=ajax+update+page+on+interval&aqs=chrome.0.57.8069j0&sourceid=chrome&ie=UTF-8#sclient=psy-ab&q=jquery+ajax+update+page+on+interval&oq=jquery+ajax+update+page+on+interval&gs_l=serp.3...69425.73392.0.74376.7.7.0.0.0.1.167.1105.0j7.7.0...0.0.0..1c.1.17.psy-ab.mBw36GrUd4Y&pbx=1&bav=on.2,or.r_qf.&bvm=bv.48175248,d.aWc&fp=82a600f6a06a56f6&biw=990&bih=681
http://stackoverflow.com/questions/10861407/how-to-automatically-refresh-data-on-page-using-ajax-on-an-interval
http://stackoverflow.com/questions/4542863/jquery-ajax-call-with-timer
https://developers.google.com/speed/libraries/devguide#jquery
http://jquery.com/
http://www.google.com/#gs_rn=17&gs_ri=psy-ab&suggest=p&pq=jquery%20changes%20in%20version%202&cp=9&gs_id=o&xhr=t&q=jquery+ajax&es_nrs=true&pf=p&sclient=psy-ab&oq=jquery+aj&gs_l=&pbx=1&bav=on.2,or.r_qf.&fp=bc3fba682f534136&biw=990&bih=681
http://api.jquery.com/jQuery.ajax/
http://blog.jquery.com/2013/04/18/jquery-2-0-released/
https://www.google.com/search?q=jquery+update+content+of+div&oq=jquery+update+content+of+div&aqs=chrome.0.57.5734j0&sourceid=chrome&ie=UTF-8
http://api.jquery.com/html/
https://www.google.com/search?q=javascript+split+string&oq=javascript+split+string&aqs=chrome.0.57j62.6054j0&sourceid=chrome&ie=UTF-8
http://www.w3schools.com/jsref/jsref_split.asp


seems like nginx in front of either uWSGI or gunicorn is the preferred configuration (alternative to apache and mod_python)

this was an informative discussion:
http://www.reddit.com/r/Python/comments/16tm4e/what_wsgi_servers_you_use/

and this is a useful benchmark:
http://nichol.as/benchmark-of-python-web-servers


https://www.google.com/search?q=python+webserver&oq=python+webserver&aqs=chrome.0.57.2389j0&sourceid=chrome&ie=UTF-8#sclient=psy-ab&q=python+webserver+comparison&oq=python+webserver+comparison&gs_l=serp.3..0i10j0i22i30.203797.205798.0.206687.11.11.0.0.0.0.453.2382.3j1j5j1j1.11.0...0.0.0..1c.1.16.psy-ab.0nlgqizpWa4&pbx=1&bav=on.2,or.r_qf.&bvm=bv.47534661,d.aWc&fp=de346911d8be9af9&biw=990&bih=641
http://nichol.as/benchmark-of-python-web-servers
https://www.google.com/search?q=gevent+vs+fapws&oq=gevent+vs+fapws&aqs=chrome.0.57.3558j0&sourceid=chrome&ie=UTF-8#q=gevent+vs+fapws&source=lnt&tbs=qdr:y&sa=X&ei=opq3UZGUG4XlygHry4CoCQ&ved=0CB4QpwUoBQ&bav=on.2,or.r_qf.&bvm=bv.47534661,d.aWc&fp=de346911d8be9af9&biw=990&bih=641
http://www.reddit.com/r/Python/comments/16tm4e/what_wsgi_servers_you_use/
http://www.fapws.org/benchmarks
http://www.tornadoweb.org/en/stable/
https://www.google.com/search?q=uwsgi&oq=uwsgi&aqs=chrome.0.57.6364j0&sourceid=chrome&ie=UTF-8
http://projects.unbit.it/uwsgi/
http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html
http://uwsgi-docs.readthedocs.org/en/latest/ThingsToKnow.html
https://www.google.com/search?q=nginx&oq=nginx&aqs=chrome.0.57j62.2196j0&sourceid=chrome&ie=UTF-8
http://nginx.org/en/
https://www.google.com/search?q=gunicorn&oq=gunicorn&aqs=chrome.0.57.1781j0&sourceid=chrome&ie=UTF-8
http://gunicorn.org/
http://docs.python.org/2/howto/webservers.html
http://wiki.python.org/moin/WebFrameworks


looking for easy ways to interface with VLC,
came across Phonon project, which Qt uses, and therefore PySide can also use:
http://srinikom.github.io/pyside-docs/PySide/phonon/Phonon.VideoPlayer.html

this is a good example of its usage (only required minor tweaks to work)
http://qt.gitorious.org/pyside/pyside-examples/blobs/7cc317c53cccfc9126d1d1ae3c4a98b179fd8c43/examples/phonon/pyqplayer/pysideqplayer.py

https://www.google.com/search?q=embed+VLC&oq=embed+VLC&aqs=chrome.0.57.2469j0&sourceid=chrome&ie=UTF-8
http://stackoverflow.com/questions/3120027/embed-vlc-player-in-html
http://stackoverflow.com/questions/12157210/cross-browser-embed-vlc-plugin
http://www.autohotkey.com/
https://www.google.com/search?q=PySide+play+video&oq=PySide+play+video&aqs=chrome.0.57j62l2.4116j0&sourceid=chrome&ie=UTF-8
http://srinikom.github.io/pyside-docs/PySide/phonon/Phonon.VideoPlayer.html
http://stackoverflow.com/questions/12192684/pyside-phonon-and-media-formats-such-as-mp4-flv-mkv-eg
http://doc-snapshot.qt-project.org/4.8/phonon-capabilities.html
https://www.google.com/search?q=phonon&oq=phonon&aqs=chrome.0.57.1549j0&sourceid=chrome&ie=UTF-8
http://techbase.kde.org/Development/Tutorials/Phonon/Introduction
http://techbase.kde.org/Development/Tutorials/Phonon/Introduction/Python
https://www.google.com/search?q=pyside+phonon&oq=pyside+phonon&aqs=chrome.0.57.2434j0&sourceid=chrome&ie=UTF-8
http://qt.gitorious.org/pyside/pyside-examples/blobs/7cc317c53cccfc9126d1d1ae3c4a98b179fd8c43/examples/phonon/pyqplayer/pysideqplayer.py
https://www.google.com/search?q=pyside&oq=pyside&aqs=chrome.0.57j59l2j62l3.2092j0&sourceid=chrome&ie=UTF-8
http://qt-project.org/wiki/PySide
http://qt-project.org/wiki/PySide_Binaries_MacOSX
https://pypi.python.org/pypi/PySide


sudo parted -a optimal /dev/sdb print
Model: WD My Passport 0748 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ntfs