Use the fastest installed zlib compatible library with aiohttp
Project description
aiohttp-fast-zlib
Source Code: https://github.com/bdraco/aiohttp-fast-zlib
Use the fastest installed zlib compatible library with aiohttp
zlib is be a bottleneck for aiohttp, especially for websocket connections. aiohttp-fast-zlib
replaces usage of zlib
in aiohttp
with isal
or zlib-ng
which is a drop-in faster replacement in most cases. Be sure to read the isal documentation and the zlib-ng documentation.
Installation
Install this via pip (or your favourite package manager):
pip install aiohttp-zlib-fast[isal]
pip install aiohttp-zlib-fast[zlib-ng]
Usage
Enable isal or zlib-ng support in aiohttp by calling enable
import aiohttp_zlib_fast
# isal is preferred over zlib_ng if it is available
aiohttp_zlib_fast.enable()
aiohttp_zlib_fast.enable()
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Credits
This package was created with Copier and the browniebroke/pypackage-template project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiohttp_fast_zlib-0.2.0.tar.gz
.
File metadata
- Download URL: aiohttp_fast_zlib-0.2.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2e6c27a7ffc825cdd50d6f80e302ebbc025b43c876c00f01dc2ae759905dce8 |
|
MD5 | 177d42feec9a05387230c1fa4d824a0f |
|
BLAKE2b-256 | e9affb60f9f5f7c619478346c456262c491493e1c73f3e1681ce73cdd204ef9f |
Provenance
The following attestation bundles were made for aiohttp_fast_zlib-0.2.0.tar.gz
:
Publisher:
ci.yml
on bdraco/aiohttp-fast-zlib
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
aiohttp_fast_zlib-0.2.0.tar.gz
- Subject digest:
e2e6c27a7ffc825cdd50d6f80e302ebbc025b43c876c00f01dc2ae759905dce8
- Sigstore transparency entry: 148913423
- Sigstore integration time:
- Predicate type:
File details
Details for the file aiohttp_fast_zlib-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: aiohttp_fast_zlib-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff50de72e95da3d1b7e6dd6fd64a3aedf743f488ad9202a8fde3baccf0fa1161 |
|
MD5 | 6b8932e84aa610b6dc0c2ecc4a09d35d |
|
BLAKE2b-256 | 135435b33e95e01878b3252e686d050502d04dd4cc3192b4ee13cd300ab2a1aa |
Provenance
The following attestation bundles were made for aiohttp_fast_zlib-0.2.0-py3-none-any.whl
:
Publisher:
ci.yml
on bdraco/aiohttp-fast-zlib
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
aiohttp_fast_zlib-0.2.0-py3-none-any.whl
- Subject digest:
ff50de72e95da3d1b7e6dd6fd64a3aedf743f488ad9202a8fde3baccf0fa1161
- Sigstore transparency entry: 148913425
- Sigstore integration time:
- Predicate type: