-
If you really love Flask and want to continue using it you can also use the asgiref package provides an easy wrapper called WsgiToAsgi that converts a WSGI application to an ASGI application.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Something to keep in mind when developing an ASGI application is you need an ASGI-compatible server. Common choices include Uvicorn, Hypercorn, and Daphne. Another option is to use the Gunicorn with Uvicorn workers.
-
If you're looking for an experience that's very similar to Flask you can use Quart which is inspired by Flask. Quart even has a guide about how to migrate from a Flask application to using Quart! Flask's own documentation for async views actually recommends using Quart in some cases due to the performance hit from using a new event loop per request.
-
If you're looking to learn something new you can check out FastAPI which includes a bunch of builtin functionality for documenting APIs, strict model declarations, and data validation.
Related posts
-
Setting up Fast API in IIS and run APIs in Python
-
hypercorn VS tremolo - a user suggested alternative
2 projects | 12 Jul 2024 -
uvicorn VS tremolo - a user suggested alternative
2 projects | 11 Jul 2024 -
Tornado VS tremolo - a user suggested alternative
2 projects | 11 Jul 2024 -
sanic VS tremolo - a user suggested alternative
2 projects | 11 Jul 2024