Enable zlib_ng on aiohttp
Project description
aiohttp-zlib-ng
Source Code: https://github.com/bdraco/aiohttp-zlib-ng
Enable zlib_ng on aiohttp
zlib is be a bottleneck for aiohttp, especially for websocket connections. aiohttp-zlib-ng
replaces usage of zlib
in aiohttp
with zlib-ng
which is a drop-in faster replacement.
Installation
Install this via pip (or your favourite package manager):
pip install aiohttp-zlib-ng
Usage
Enable zlib-ng support in aiohttp by calling enable_zlib_ng
import aiohttp_zlib_ng
aiohttp_zlib_ng.enable_zlib_ng()
aiohttp_zlib_ng.disable_zlib_ng()
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
Hashes for aiohttp_zlib_ng-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe93932e1f54c2a624ffc9b92d8d3f5111f7917ebfc8e728dee7ac34a9cd016 |
|
MD5 | c1b510c641dc46d39ba33f1a364b55a7 |
|
BLAKE2b-256 | 80dcfe88693ad06eb494fcdbc0b017585779ca01b213e4e7f9f8491d6f2a1f5f |