This looks very cool!
On Wednesday, November 19, 2014 9:20:26 AM UTC-5, Victor Stinner wrote: > > Hi, > > I wrote a new project called "aiogreen": it implements the asyncio > event loop API (call_soon, coroutines, create_connection, etc.) with > eventlet. It makes possible to write asyncio code in a project > currently written for eventlet (ex: OpenStack). > > => https://bitbucket.org/haypo/aiogreen/ > => pip install aiogreen > > The main visible difference between trollius and aiogreen is that > run_forever() blocks with trollius, whereas it runs in a greenthread > with aiogreen. It means that it's possible to call run_forever() in > the main thread and execute other greenthreads in parallel. > > The first release 0.1 lacks some features: networking, pipes and so > subprocesses, and signal handlers are not supported yet. Exception: > create_connection() (TCP client) is implemented (but sock_connect() > blocks the event loop until the connection is established). > > aiogreen 0.1 works on Python 2.6-3.5 using trollius, tulip or asyncio. > It requires eventlet 0.15 (the development version works on eventlet > 0.14 too). I tested it on Linux and Windows. > > Victor >