12 Jun
2020
12 Jun
'20
3:26 p.m.
Hi list, You may be aware of the Python ESL library GreenSWITCH here: https://github.com/EvoluxBR/greenswitch It uses greenlets/gevent for async'ness. I would like to present a rewrite of GreenSWITCH in Python3 using native async/await (no more greenlets/gevent). Trio is chosen as the coroutine runner. https://github.com/space88man/trioswitch This is a fork of GreenSWITCH, and the rewrite is being done on the aioswitch-dev branch. BTW all the heavy lifting was done by GreenSWITCH, and I am using trio to replace all the async IO handling. So far the rewrite should be functionally equivalent but has fixed JSON event handling. Like GreenSWITCH this library does not depend on the SWIG C extension. All comments welcome. Cheers SP