/
Depends on
- dh-python (dh-sequence-python3, pybuild-plugin-pyproject)
- pytest (python3-pytest)
- python-pytest-cov (python3-pytest-cov)
- python3-defaults (python3-all)
- debhelper-compat, python3-aiohttp, python3-isal, python3-poetry-core
README (full)
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.
| dir | .github/ |
| dir | .idea/ |
| dir | debian/ |
| dir | src/ |
| dir | templates/ |
| dir | tests/ |
| file | .all-contributorsrc |
| file | .copier-answers.yml |
| file | .editorconfig |
| file | .gitignore |
| file | .gitpod.yml |
| file | .pre-commit-config.yaml |
| file | CHANGELOG.md |
| file | CONTRIBUTING.md |
| file | LICENSE |
| file | README.md |
| file | commitlint.config.mjs |
| file | poetry.lock |
| file | pyproject.toml |
| file | renovate.json |
| file | setup.py |