@@ -4,16 +4,16 @@ FastOpenAPI supports 8 popular Python web frameworks. This guide helps you choos
44
55## Supported Frameworks
66
7- | Framework | Type | Async | Python 3.10+ | Best For |
8- | -----------| ------| ------ -| --------------| ----------|
9- | ** Flask** | WSGI | No | Yes | Traditional web apps, simple APIs |
10- | ** Django** | WSGI/ASGI | Both | Yes | Full-featured web applications |
11- | ** Starlette** | ASGI | Yes | Yes | Modern async APIs, high performance |
12- | ** Quart** | ASGI | Yes | Yes | Async Flask alternative |
13- | ** AIOHTTP** | ASGI | Yes | Yes | Async HTTP client/server |
14- | ** Sanic** | ASGI | Yes | Yes | Speed-focused async framework |
15- | ** Falcon** | WSGI/ASGI | Both | Yes | Minimalist APIs, microservices |
16- | ** Tornado** | Async | Yes | Yes | Long-lived connections, WebSockets |
7+ | Framework | Async | Python 3.10+ | Best For |
8+ | -----------| -------| --------------| ----------|
9+ | ** Flask** | No | Yes | Traditional web apps, simple APIs |
10+ | ** Django** | Both | Yes | Full-featured web applications |
11+ | ** Starlette** | Yes | Yes | Modern async APIs, high performance |
12+ | ** Quart** | Yes | Yes | Async Flask alternative |
13+ | ** AIOHTTP** | Yes | Yes | Async HTTP client/server |
14+ | ** Sanic** | Yes | Yes | Speed-focused async framework |
15+ | ** Falcon** | Both | Yes | Minimalist APIs, microservices |
16+ | ** Tornado** | Yes | Yes | Long-lived connections, WebSockets |
1717
1818## Quick Comparison
1919
@@ -329,7 +329,7 @@ def get_user(user_id: int):
329329| ** Form Handling** | Extension | Yes | Yes | Yes | No | Yes | No | Yes |
330330| ** Session Management** | Extension | Yes | Middleware | Extension | No | Extension | No | Yes |
331331| ** Template Engine** | Jinja2 | Django Templates | Jinja2 | Jinja2 | Jinja2 | Jinja2 | No | Native |
332- | ** Deployment** | WSGI | WSGI/ASGI | ASGI | ASGI | ASGI | ASGI | WSGI/ASGI | ASGI |
332+ | ** Deployment** | Sync | Sync/Async | Async | Async | Async | Async | Sync/Async | Async |
333333
334334* Django and Falcon support both sync and async
335335
0 commit comments