Skip to main content

aiohttp-fast-zlib

CI Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License


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.

Metadata

Release files for aiohttp-fast-zlib 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiohttp-fast-zlib 0.1.0
File Size Uploaded
aiohttp_fast_zlib-0.1.0.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiohttp-fast-zlib 0.1.0
File Interpreter ABI Platform
aiohttp_fast_zlib-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / aiohttp_fast_zlib-0.1.0.tar.gz

Download URL aiohttp_fast_zlib-0.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
46656935c38b7022fbe524de589c2372f3b8f7ebd2029dc47467c0c4d9a65fdc
BLAKE2b-256 checksum
How to use checksums
b31343ca2a5e3bb1d2df0caac3de00792408531cf238066c27e156bd6b88c3d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / aiohttp_fast_zlib-0.1.0-py3-none-any.whl

Download URL aiohttp_fast_zlib-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc50b873befaf473f2fdee1c4bdf06b7a24ab30538c6534f367ab77e8d41512c
BLAKE2b-256 checksum
How to use checksums
f91a6102591a5941206ccb4c210477fffb2d3740045d4fad1355758ffb9dac92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page