跳转到主要内容

为 aiohttp 提供isal支持

项目描述

aiohttp-isal

CI Status Documentation Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License


文档: https://aiohttp-isal.readthedocs.io

源代码: https://github.com/bdraco/aiohttp-isal


为 aiohttp 提供isal支持

zlib 是 aiohttp 的瓶颈,尤其是在 WebSocket 连接中。 aiohttp-isal 使用 isal 替换了 aiohttp 中的 zlib,在大多数情况下是更快的即插即用替代品。请确保阅读 isal 文档。

安装

通过 pip (或您喜欢的包管理器) 安装此软件

pip install aiohttp-isal

使用

通过调用 enable_isal 在 aiohttp 中启用 isal 支持

import aiohttp_isal

aiohttp_isal.enable_isal()
aiohttp_isal.disable_isal()

贡献者 ✨

感谢这些优秀的人们 (emoji key)

此项目遵循 all-contributors 规范。欢迎所有类型的贡献!

致谢

本软件包是用Copierbrowniebroke/pypackage-template项目模板创建的。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装软件包的更多信息。

源分布

aiohttp_isal-0.3.2.tar.gz (8.5 kB 查看散列值)

上传时间 源代码

构建分布

aiohttp_isal-0.3.2-py3-none-any.whl (8.1 kB 查看散列值)

上传时间 Python 3

由以下支持