Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63591

AW: WebSocket for Python 2 and 3 on Twisted and asyncio

From Tobias Oberstein <tobias.oberstein@tavendo.de>
Date 2014-01-09 02:24 -0800
Subject AW: WebSocket for Python 2 and 3 on Twisted and asyncio
References <634914A010D0B943A035D226786325D4446BD1EABA@EXVMBX020-12.exch020.serverdata.net>
Newsgroups comp.lang.python
Message-ID <mailman.5254.1389263068.18130.python-list@python.org> (permalink)

Show all headers | View raw


Autobahn now also supports asyncio on Python 2!

https://github.com/tavendo/AutobahnPython#python-support

This is made possible by Trollius, an awesome backport of asyncio:

https://pypi.python.org/pypi/trollius/0.1.2


> -----Ursprüngliche Nachricht-----
> Von: Python-list [mailto:python-list-
> bounces+tobias.oberstein=tavendo.de@python.org] Im Auftrag von Tobias
> Oberstein
> Gesendet: Freitag, 3. Januar 2014 13:08
> An: python-list@python.org
> Betreff: WebSocket for Python 2 and 3 on Twisted and asyncio
> 
> Hi,
> 
> Autobahn provides open-source implementations of
> 
> * The WebSocket Protocol
> * The Web Application Messaging Protocol (WAMP)
> 
> https://github.com/tavendo/AutobahnPython
> https://pypi.python.org/pypi/autobahn
> 
> Starting with the release 0.7.0, Autobahn now fully supports (with all
> features) both
> 
> * Twisted (on Python 2/3) and
> * asyncio (on Python 3.3+)
> 
> as the underlying networking framework.
> 
> Here is a complete example of WebSocket server and client:
> 
> Twisted:
> https://github.com/tavendo/AutobahnPython/tree/master/examples/twist
> ed/websocket/echo
> 
> Asyncio:
> https://github.com/tavendo/AutobahnPython/tree/master/examples/asyn
> cio/websocket/echo
> 
> The application code is very similar or even identical.
> 
> Cheers,
> /Tobias
> --
> https://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

AW: WebSocket for Python 2 and 3 on Twisted and asyncio Tobias Oberstein <tobias.oberstein@tavendo.de> - 2014-01-09 02:24 -0800

csiph-web