Quart is an async Python web microframework
quart.palletsprojects.com
quart.palletsprojects.com
render and serve HTML templates, write (RESTful) JSON APIs, serve WebSockets, stream request and response data, do pretty much anything over the HTTP or WebSocket protocols.
That said I've not done it myself (yet). It's literally something I'm doing this week.
Edit to add: Here's a template that looks promising actually https://github.com/cellerich/docker-quart
From my limited use it does seem like a drop in replacement for 'async flask'
asgiref: https://github.com/django/asgiref/blob/main/asgiref/sync.py AsyncToSync, SyncToAsync