Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aiohttp-fast-zlib

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiohttp-fast-zlib

Use the fastest installed zlib compatible library with aiohttp

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

aiohttp-fast-zlib

CI Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License


Source Code: https://github.com/bdraco/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-zlib-fast[isal] pip install aiohttp-zlib-fast[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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc