apodo icon indicating copy to clipboard operation
apodo copied to clipboard

Async with Trio

Open jtrakk opened this issue 6 years ago • 3 comments

I've been falling in love with the Trio async library. I find it helps me design async software in a simpler, more principled, and robust style.

There is one web framework so far that supports Trio, quart-trio.

I like Vibora's style of passing the request to the function, rather than using thread-local context variables like flask and quart.

Trio's ecosystem is growing, but the web-framework presence is still small. I would love to have a new web framework to use with it.

jtrakk avatar Oct 21 '19 08:10 jtrakk

Good sounds to me. But now apodo isn't framework, it's python web server. I wanna to implement trio proto in apodo, too. @elliott-maguire what you think?

prostomarkeloff avatar Oct 21 '19 10:10 prostomarkeloff

We're trying to keep the dependency footprint as minimal as possible, so I don't think we'll be integrating this. It may be easier to use, but I'm pretty well-acquainted with the low-level async APIs that the standard library offers, so we'll stick to that.

That said, I might investigate the possibility of abstracting that. It may be possible to go plug-and-play with that as well.

glotchimo avatar Oct 21 '19 19:10 glotchimo

What is about anyio?

prostomarkeloff avatar Oct 23 '19 07:10 prostomarkeloff