Skip to main content

Enable zlib_ng on aiohttp

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

aiohttp-zlib-ng

CI Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License


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

aiohttp_zlib_ng-0.1.2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiohttp_zlib_ng-0.1.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file aiohttp_zlib_ng-0.1.2.tar.gz.

File metadata

  • Download URL: aiohttp_zlib_ng-0.1.2.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for aiohttp_zlib_ng-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8a8d9d3db854e2d6dd73b9eb160e5a5352281baa15662d99b0ec068095035098
MD5 55295e5282b4fe13837b8b055f264ec6
BLAKE2b-256 c41832db132987a0e000f032fc479b508d65a7cf28b056590c6010e29a390120

See more details on using hashes here.

File details

Details for the file aiohttp_zlib_ng-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aiohttp_zlib_ng-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f6bb425923328bade624e413c65c16aadf8012ef16b46ae9500322164aac328
MD5 fd8efea9b5d78db38f1e1bc69e1cf88c
BLAKE2b-256 2017c3f9d8b58e28a357d241b5945de8317d78a13e83b70b127dd28d51b5cafb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page