Comparison
deflate vs pgzip 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 deflateA multi-threading implementation of Python gzip module
Maintained. Last release 11 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pgzipDrop-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, pgzip 42 on Pythie’s Index.
- zopfli is growing fastest: downloads +18% over the last month.