aiohttp-fast-zlib
Use the fastest installed zlib compatible library with aiohttp
Decision gist · record as of 2026-08-14
Yes, if you use aiohttp and compression is a known bottleneck in your workload. The package is low-friction to install and maintain, has no known vulnerabilities, and offers a straightforward performance win. Pre-Alpha status means you should test it in a non-critical environment first and monitor for API changes in future releases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires either isal or zlib-ng to be installed as an optional extra; without one, the package will not provide a performance benefit.
- Low friction: pure Python wheel with a single runtime dependency (aiohttp).
- Actively maintained with recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must retain license notices in distributions.
last release 2025-06-07 (433 days) · last repo commit 2026-08-10 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,811,781 downloads/mo, #3,529 on PyPI
Alternatives
Verify before relying
pip install aiohttp-fast-zlib[isal]
import aiohttp_fast_zlib
aiohttp_fast_zlib.enable()- Whether isal or zlib-ng must be pre-installed or are automatically pulled in by the extras.
- Specific performance gains (percentage improvement) over standard aiohttp compression.
- Compatibility with all aiohttp versions or specific version constraints.
What it is and what it does
aiohttp-fast-zlib is a thin wrapper that swaps aiohttp's compression layer to use faster zlib-compatible libraries. Compression is a known bottleneck in aiohttp, especially for WebSocket connections that compress frequently; this package patches aiohttp to use isal or zlib-ng instead of the standard library's zlib, both of which are drop-in replacements with better performance. You call a single enable() function at startup, and all subsequent aiohttp compression operations use the faster library.
The package is in Pre-Alpha development, meaning the API and behavior may change. It has a single runtime dependency on aiohttp and requires Python 3.9 or later. Installation is straightforward, but you must also install one of the optional compression libraries (isal or zlib-ng) to see any benefit.
Use it for
- Speed up WebSocket communication in aiohttp applications by reducing compression CPU overhead.
- Improve throughput for HTTP APIs that heavily compress responses (JSON, HTML, etc.).
- Reduce latency in real-time aiohttp services where zlib compression is a measurable bottleneck.
- Optimize resource usage on servers handling many concurrent aiohttp connections.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use aiohttp and compression is a known bottleneck in your workload.
The package is low-friction to install and maintain, has no known vulnerabilities, and offers a straightforward performance win. Pre-Alpha status means you should test it in a non-critical environment first and monitor for API changes in future releases.
Install
aiohttp-fast-zlib on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (aiohttp). Actively maintained with recent commits. Pre-Alpha status signals the package is still stabilizing, so expect potential API changes.
Requires either isal or zlib-ng to be installed as an optional extra; without one, the package will not provide a performance benefit.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must retain license notices in distributions.
Quickstart
pip install aiohttp-fast-zlib[isal]
import aiohttp_fast_zlib
aiohttp_fast_zlib.enable()
Verify before relying
- Whether isal or zlib-ng must be pre-installed or are automatically pulled in by the extras.
- Specific performance gains (percentage improvement) over standard aiohttp compression.
- Compatibility with all aiohttp versions or specific version constraints.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageaiohttp |
| Maintenance | Actively maintained 433 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,811,781 / month, #3,529 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries |
Evidence: aiohttp_fast_zlib-0.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “zlib optimization aiohttp”
- aiohttp-fast-zlibReplaces aiohttp's default zlib compression with faster alternatives…
- aiohttp-zlib-ngReplaces aiohttp's default zlib compression with the faster zlib-ng…
- zopfliZopfli is a Python binding for Google's Zopfli compression library,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also aiohttp-fast-url-dispatcher · aiohttp-zlib-ng · zlib-ng · isal · aiofastnet · aioshelly · aiooui · aiohttp-wsgi · blosc · aiohttp