Quart is a Python web microframework based on Asyncio. It is intended to provide the easiest way to use asyncio in a web context, especially with existing Flask apps. If you are new to Python you should start by reading Installation, if you are new to Quart then see Quickstart and if you are also new to Asyncio see Asyncio. If however you are very familiar with Flask, see Migration from Flask.
Quart is an evolution of the Flask API to work with Asyncio and to provide a number of features not present or possible in Flask, see Flask evolution.
Quart is developed on GitLab. You are very welcome to open issues or propose merge requests.
Flask Documentation¶
As Quart is an implementation of the Flask API the Flask documentation is a great source of help for Quart. The Flask documentation is so good that you may be better placed consulting it first then returning here to check how Quart differs.
Tutorials¶
How-To Guides¶
- Background tasks
- Blueprints
- Custom Command Line Commands
- Configuration
- Detecting disconnection
- Customise the Event Loop
- Using Flask Extensions
- Migration from Flask
- JSON Encoding
- Logging
- Middleware
- Consuming the request body
- Routing
- Session Storage
- Startup and Shutdown
- Streaming response
- Run synchronous code
- Templates
- Testing
- Using Quart Extensions
- Using HTTP/2
- Using websockets