Use the fastest installed zlib compatible library with aiohttp
Project description
aiohttp-fast-zlib
Source Code: https://github.com/bluetooth-devices/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-fast-zlib[isal]
pip install aiohttp-fast-zlib[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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiohttp_fast_zlib-0.3.0.tar.gz.
File metadata
- Download URL: aiohttp_fast_zlib-0.3.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
963a09de571b67fa0ef9cb44c5a32ede5cb1a51bc79fc21181b1cddd56b58b28
|
|
| MD5 |
3425a2b02040c777583f1124c0affe78
|
|
| BLAKE2b-256 |
0aa6982f3a013b42e914a2420631afcaecb729c49525cc6cc58e15d27ee4cb4b
|
Provenance
The following attestation bundles were made for aiohttp_fast_zlib-0.3.0.tar.gz:
Publisher:
ci.yml on Bluetooth-Devices/aiohttp-fast-zlib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiohttp_fast_zlib-0.3.0.tar.gz -
Subject digest:
963a09de571b67fa0ef9cb44c5a32ede5cb1a51bc79fc21181b1cddd56b58b28 - Sigstore transparency entry: 232180396
- Sigstore integration time:
-
Permalink:
Bluetooth-Devices/aiohttp-fast-zlib@98717b3997613ea1afd81cec026bc2d7bc327764 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Bluetooth-Devices
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@98717b3997613ea1afd81cec026bc2d7bc327764 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aiohttp_fast_zlib-0.3.0-py3-none-any.whl.
File metadata
- Download URL: aiohttp_fast_zlib-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4cb20760a3e1137c93cb42c13871cbc9cd1fdc069352f2712cd650d6c0e537e
|
|
| MD5 |
116a9b06ea3f623a5c8caee0066ba8e8
|
|
| BLAKE2b-256 |
b711ea9ecbcd6cf68c5de690fd39b66341405ab091aa0c3598277e687aa65901
|
Provenance
The following attestation bundles were made for aiohttp_fast_zlib-0.3.0-py3-none-any.whl:
Publisher:
ci.yml on Bluetooth-Devices/aiohttp-fast-zlib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiohttp_fast_zlib-0.3.0-py3-none-any.whl -
Subject digest:
d4cb20760a3e1137c93cb42c13871cbc9cd1fdc069352f2712cd650d6c0e537e - Sigstore transparency entry: 232180398
- Sigstore integration time:
-
Permalink:
Bluetooth-Devices/aiohttp-fast-zlib@98717b3997613ea1afd81cec026bc2d7bc327764 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Bluetooth-Devices
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@98717b3997613ea1afd81cec026bc2d7bc327764 -
Trigger Event:
push
-
Statement type: