Quart-Compress
Description
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.
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.
Installation
Installing the package is as easy as:
$ pip install quart-compress2
Usage
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__)
Compress(app)
Metadata
Release files for quart-compress2 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quart-compress2-1.1.0.tar.gz | 7.5 kB | Without provenance | Details for quart-compress2-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quart_compress2-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for quart_compress2-1.1.0-py3-none-any.whl |
Total release size: 15.4 kB
Release files / quart-compress2-1.1.0.tar.gz
| Download URL | quart-compress2-1.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0de2b7500cf6b2c200fdc03dc9ed907ec08073baf31923f09584ae3f1b210453
|
|
BLAKE2b-256 checksum How to use checksums |
67e7abc1123db7417e322a3826dabcff1316da59b0de3beb6bc55efcf50fa4ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.22.0
|
Release files / quart_compress2-1.1.0-py3-none-any.whl
| Download URL | quart_compress2-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86fabd942d841549caa63593235e607c3238d076906456b0684d067a51048c6b
|
|
BLAKE2b-256 checksum How to use checksums |
bda7ec026b5435baa691924ca92333015c065a34a4186e8d636d993e1237c101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.22.0
|
Security for quart-compress2 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.