Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!


Project description


Build Status codecov PyPI version Python Support black


Quart is a Python ASGI web microframework. It is intended to provide the easiest way to use asyncio functionality in a web context, especially with existing Flask apps. This is possible as the Quart API is a superset of the Flask API.

-- Quart Project

As I wanted to seamlessly migrate from Flask to Quart and noticed, that there are a few issues in using Flask-Compress together with Quart, I decided to create my own Quart-Compress packages, which is based on the Flask-Compress project.


Installing the package is as easy as:

$ pip install quart-compress2


To compress your Quart responses, you only need to compress your Quart object at the beginning using the Compress class:

from quart import Quart
from quart_compress import Compress

app = Quart(__name__)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for quart-compress2, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size quart_compress2-1.1.0-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size quart-compress2-1.1.0.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page