Comparison
cramjam vs deflate vs lz4 vs zopfli
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Actively maintained. Last release 7 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
pip install cramjamPython 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 deflateLZ4 Bindings for Python
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install lz4Zopfli 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
- lz4 is the most used: 86.7M downloads a month, 1.9× more than zopfli.
- cramjam is better maintained: Pythie’s Index 78 against 26.
- zopfli is growing fastest: downloads +18% over the last month.
Side by side
| Metric | cramjam | deflate | lz4 | zopfli |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | Pythie’s Index: 48 | Pythie’s Index: 26 | Pythie’s Index: 47 |
| Verdict | Actively maintained | Maintained | Low maintenance activity | Maintained |
| Downloads / month | 29.9M | 385.1K | 86.7M | 45.3M |
| Downloads, month over month | -4% | +11% | +6% | +18% |
| GitHub stars | 131 | 33 | 305 | 16 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 22 | 7 | 469 | 12 |
| Last release | Oct 13, 2026 | Aug 24, 2026 | Nov 3, 2025 | Jun 10, 2026 |
| Releases, 12 months | 5 | 1 | 0 | 3 |
| Weeks with commits | 9 / 26 | 2 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 14 | 8 | 15 | 6 |
| First release | Mar 2020 | Jun 2020 | Jan 2012 | Mar 2013 |
| Python versions | 3.11 – 3.15 | 3.9 – 3.13 | 3.9 – 3.13 | 3.10 – 3.14 |
| License | MIT | MIT | non-standard | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.