Coding

Quart – asynchronous Flask-compatible web microframework

Quart is an asynchronous web microframework based on the Flask application programming interface. It provides a familiar development model for building web applications that need asynchronous request processing and real-time communication.

The framework follows Flask’s approach to defining routes, handling requests and rendering templates. Developers familiar with Flask can reuse much of their existing knowledge while taking advantage of asynchronous libraries and non-blocking operations.

Quart supports traditional websites alongside JSON APIs, streaming services and WebSocket applications. Its compatibility with Flask also allows many existing Flask extensions and application patterns to be used, although individual extensions may require adaptation.

This is free and open source software.

Key Features

  • Asynchronous HTTP request handling with a Flask-compatible programming interface.
  • WebSocket routes supporting bidirectional communication.
  • HTTP streaming for request and response bodies.
  • Support for HTTP/1.1, HTTP/2 and ASGI-compatible application servers.
  • Jinja template rendering for dynamic HTML pages.
  • Blueprints for organising routes, views and application resources.
  • Request and application contexts for managing request-specific information.
  • Signed cookie sessions, request cookies and configurable session storage.
  • Background task support integrated with the application lifecycle.
  • Server-Sent Events for streaming updates to browser clients.
  • Request parsing for forms, JSON payloads and uploaded files.
  • Middleware integration and custom HTTP error handlers.
  • Application startup and shutdown functions for managing shared resources.
  • Asynchronous testing utilities for HTTP requests and WebSocket connections.
  • Compatibility with many Flask extensions and application patterns.

Website: github.com/pallets/quart
Support:
Developer: P G Jones
License: MIT License

Quart is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Best Python Micro Frameworks
FlaskHugely popular microframework based on Werkzeug and Jinja2
FastAPIWeb framework for building APIs
StarletteLightweight ASGI framework/toolkit
aiohttpAsynchronous HTTP client/server for asyncio and Python
SanicWeb server and web framework
FalconBuild cloud APIs, smart proxies, and app backends
QuartWeb microframework based on Asyncio
PyramidStart small, finish big, stay finished framework
BottleFast, simple and lightweight WSGI micro web framework
ChalicePython Serverless Microframework for AWS
CherryPyMature, minimalist, Python object-oriented web framework
TurboGearsHybrid framework acting as a Full Stack framework or Microframework
QuixoteAimed at sites where complex programming is required
KleinMicro-framework for developing production-ready web services with Python
circuitsLightweight event driven application framework
ClasticFunctional web framework
HugMake developing Python driven APIs as simple as possible
MicroPieUltra-micro ASGI Python web framework
LitestarPowerful, lightweight, and flexible ASGI framework
BlackSheepAsynchronous Python web framework
RobynPython web framework designed for high performance
MicrodotSmall web framework for Python and MicroPython

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted