--- id: brotli version: "1.2.0" license: MIT license_treatment: permissive maintenance: active --- # brotli — Python bindings for the Brotli compression library License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install brotli uv add brotli poetry add brotli ## Description

GitHub Actions Build Status Fuzzing Status

Brotli

### Introduction Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. The specification of the Brotli Compressed Data Format is defined in [RFC 7932](https://datatracker.ietf.org/doc/html/rfc7932). Brotli is open-sourced under the MIT License, see the LICENSE file. > **Please note:** brotli is a "stream" format; it does not contain > meta-information, like checksums or uncompressed data... ## AI interpretation — verify before relying Brotli provides Python bindings for the Brotli compression library, a lossless compression algorithm offering compression ratios comparable to the best general-purpose methods while maintaining deflate-like speed. Verdict: Brotli is a well-maintained, actively developed compression library in the top 1000 PyPI packages with no known vulnerabilities. The MIT license is permissive. Install friction is moderate due to compiled dependencies, but extensive prebuilt wheels mitigate this for standard environments. Suitable for production use where Brotli compression is needed. [View on SkillFed](https://skillfed.io/packages/brotli) · [View on PyPI](https://pypi.org/project/brotli/)