AW: WebSocket for Python 2 and 3 on Twisted and asyncio
Tobias Oberstein
tobias.oberstein at tavendo.de
Thu Jan 9 05:24:17 EST 2014
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 at python.org] Im Auftrag von Tobias
> Oberstein
> Gesendet: Freitag, 3. Januar 2014 13:08
> An: python-list at 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
More information about the Python-list
mailing list