Comparison
deflate vs zlib-ng vs zopfli
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python wrapper for libdeflate.
Maintained. Last release 3 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install deflateDrop-in replacement for zlib and gzip modules using zlib-ng
Maintained. Last release 4 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install zlib-ngZopfli module for python
Maintained. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install zopfliIn short
- zopfli is the most used: 45.3M downloads a month, 13× more than zlib-ng.
- Maintenance is comparable: zlib-ng 55, deflate 48, zopfli 47 on Pythie’s Index.
- zopfli is growing fastest: downloads +18% over the last month.
Side by side
| Metric | deflate | zlib-ng | zopfli |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 48 | Pythie’s Index: 55 | Pythie’s Index: 47 |
| Verdict | Maintained | Maintained | Maintained |
| Downloads / month | 385.1K | 3.5M | 45.3M |
| Downloads, month over month | +11% | +15% | +18% |
| GitHub stars | 33 | 16 | 16 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 7 | 6 | 12 |
| Last release | Aug 24, 2026 | Nov 4, 2026 | Jun 10, 2026 |
| Releases, 12 months | 1 | 1 | 3 |
| Weeks with commits | 2 / 26 | 5 / 26 | 1 / 26 |
| Recent contributors | 8 | 6 | 6 |
| First release | Jun 2020 | Jan 2023 | Mar 2013 |
| Python versions | 3.9 – 3.13 | 3.11 – 3.15 | 3.10 – 3.14 |
| License | MIT | PSF-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.