| title | Quart |
|---|---|
| description | Quart is an asyncio reimplementation of the popular Flask microframework API. |
| tags |
This is a Quart app that serves a simple "Hello World" page.
- Python
- Quart
- Install Python requirements
pip install -r requirements.txt
- Flask: request.form
+ Quart: await request.form
- Flask:
- @app.route('/')
- def home():
- ...
+ Quart:
+ @app.route('/')
+ async def home():
+ ... 