Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Compression Python Packages

Python packages with the GitHub topic compression. Sorted by monthly downloads, with stars and forks.
python-lz4
lz4

LZ4 bindings for Python

85.1M 305 89
milesgranger
cramjam

Your go-to for easy access to a plethora of compression algorithms, all neatly bundled in one simple installation.

29.7M 131 18
miurahr
pyppmd

pyppmd provides classes and functions for compressing and decompressing text data, using PPM (Prediction by partial matching) compression algorithm variation H and I.2. It provide an API similar to Python's zlib/bz2/lzma modules.

11.5M 12 12
sergey-dryabzhinsky
zstd

Simple python bindings to Yann Collet ZSTD compression library

7M 189 33
vllm-project
compressed-tensors

A safetensors extension to efficiently store sparse quantized tensors on disk

4.5M 337 159
Blosc
blosc2

A high-performance library for compressed ND arrays and columnar tables, with compute and indexing engines

3.1M 215 72
leenr
gzip-stream

Streaming GZIP compression for Python

1.5M 32 5
deepspeedai
deepspeed

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

1.1M 43K 5K
vortex-data
vortex-data

An extensible, state-of-the-art framework for columnar compression, and the fastest FOSS columnar file format. Formerly at @spiraldb, now an Incubation Stage project at LFAI&Data, part of the Linux Foundation.

947K 3K 274
seung-lab
dracopy

Python wrapper for Google's Draco mesh compression library.

721K 124 33
pgzip
pgzip

A multi-threading implement of Python gzip module

537K 65 11
headroomlabs-ai
headroom-ai

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

418K 81K 6K
openvinotoolkit
nncf

Neural Network Compression Framework for enhanced OpenVINO™ inference

407K 1K 322
blosc
blosc

A Python wrapper for the extremely fast Blosc compression library

275K 364 75
valgur
ncompress

LZW compression and decompression in Python and C++

245K 4 2
LucaCappelletti94
compress-json

The missing Python utility to read and write compressed JSONs.

156K 40 2
nfrasser
pyoxipng

Python wrapper for multithreaded PNG optimizer oxipng (https://github.com/oxipng/oxipng)

149K 27 6
Esri
pylerc

Limited Error Raster Compression

146K 220 74
pcodec
pcodec

Lossless codec for numerical data

132K 543 42
seung-lab
crackle-codec

3D dense segmentation compression codec based on crack codes.

123K 18 1
zeux
meshoptimizer

Mesh optimization library that makes meshes smaller and faster to render

99K 9K 774
borgbackup
borgbackup

Deduplicating archiver with compression and authenticated encryption.

67K 14K 891
vllm-project
llmcompressor

State-of-the-art LLM compression, built for production inference with vLLM

54K 4K 748
tensorflow
tensorflow-model-optimization

A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.

50K 2K 350
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology