florimondmanca / awesome-asgi

A curated list of awesome ASGI servers, frameworks, apps, libraries, and other resources
Creative Commons Zero v1.0 Universal
1.58k stars 98 forks source link

Add aiohttp-asgi #61

Open mosquito opened 3 years ago

mosquito commented 3 years ago

Checklist

What is this project?

aiohttp-asgi - This module provides a way to use any ASGI compatible frameworks and aiohttp together.

Do you know about other similar projects?

No

If so, how is this one different?


Anyone who agrees with this pull request can add a 👍.

florimondmanca commented 3 years ago

@mosquito Thanks for your submission! Only taking a look now… Could we look at fixing the alphabetical ordering for this new entry?

I think this is an interesting addition to consider. I like the narrow focus, and this bridge could be useful to others as well. Are you still using it / do you know of people using it yet?

Also some interesting discussion / context on ASGI support in aiohttphttps://github.com/aio-libs/aiohttp/issues/2902. The approach taken by aiohttp-asgi corresponds to that presented in https://github.com/aio-libs/aiohttp/issues/2902#issuecomment-378018143 or https://github.com/aio-libs/aiohttp/issues/2902#issuecomment-378296629 — so it sounds pretty sane.

The first step for anything like this is writing a compatibility shim that would present it as an aiohttp application - that's something that can be done outside of either of our projects (channels or aiohttp) and then released separately. If someone is really keen enough to want to work on that, let me know and I would be happy to advise.