Comparison
cramjam vs deflate vs zlib-ng
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 10 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 deflateDrop-in replacement for zlib and gzip modules using zlib-ng
Maintained. Last release 4 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install zlib-ngIn short
- cramjam is the most used: 29.5M downloads a month, 8.5× more than zlib-ng.
- cramjam also has the best Pythie’s Index (80).
- zlib-ng is growing fastest: downloads +13% over the last month.
- Safe default for a new project: cramjam.
Side by side
| Metric | cramjam | deflate | zlib-ng |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 48 | Pythie’s Index: 52 |
| Verdict | Actively maintained | Maintained | Maintained |
| Downloads / month | 29.5M | 373.9K | 3.5M |
| Downloads, month over month | -6% | +5% | +13% |
| GitHub stars | 131 | 33 | 16 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 22 | 7 | 6 |
| Last release | Oct 13, 2026 | Aug 24, 2026 | Nov 4, 2026 |
| Releases, 12 months | 5 | 1 | 1 |
| Weeks with commits | 10 / 26 | 2 / 26 | 3 / 26 |
| Recent contributors | 14 | 8 | 6 |
| First release | Mar 2020 | Jun 2020 | Jan 2023 |
| Python versions | 3.11 – 3.15 | 3.9 – 3.13 | 3.11 – 3.15 |
| License | MIT | MIT | PSF-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.