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.1.tar.gz (8.1 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.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aiohttp_zlib_ng-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f3a9a9b4e8bfa9c3cfa7fb619b1268d6e986a66e452de067a81017717bb6962
MD5 cdf771d99d2ac86ec949e86ec07f931d
BLAKE2b-256 5384e0cd0efb50c26b686e430a53d945026ae12bfb7681f0c552eec4ee51cb37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiohttp_zlib_ng-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05a4f69b1f02cb9a790c366e1417ed7a95e23a55123acc2216a47b8f9d27226f
MD5 060f4c37cde1e0721606399eb1365e78
BLAKE2b-256 983f983987c6cd449f271e8898002059c7db1812e29a3b6ac84d70890f6ad0e0

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