bamler-lab/constriction

Entropy coders for research and production in Python and Rust.

51
/ 100
Established

This tool helps researchers and practitioners in data compression to build, test, and deploy advanced lossless and lossy compression methods. It takes in raw data and an entropy model, and outputs a highly compressed binary representation. Scientists, machine learning engineers, and data compression specialists would use this to develop efficient ways to store or transmit data.

102 stars and 759 monthly downloads.

Use this if you are developing new data compression techniques, especially those involving machine learning, and need highly efficient, correct, and versatile entropy coding algorithms that can transition from research prototypes to production environments.

Not ideal if you simply need to compress common file types like images or documents and are looking for a straightforward, off-the-shelf compression utility without diving into custom algorithm development.

data-compression information-theory lossless-compression machine-learning-compression signal-processing
No Package No Dependents
Maintenance 10 / 25
Adoption 16 / 25
Maturity 16 / 25
Community 9 / 25

How are scores calculated?

Stars

102

Forks

7

Language

Rust

License

Apache-2.0

Last pushed

Mar 06, 2026

Monthly downloads

759

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/bamler-lab/constriction"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.