Python bindings to the Brotli compression library
Clone or download
alexwlchan Merge pull request #138 from python-hyper/requires-io-master
[] dependency update on master branch
Latest commit ffddf2e Sep 23, 2018



This library contains Python bindings for the reference Brotli encoder/decoder, available here. This allows Python software to use the Brotli compression algorithm directly from Python code.

To use it simply, try this:

import brotli
data = brotli.decompress(compressed_data)

More information can be found in the documentation.


The source code of brotlipy is available under the MIT license. Brotli itself is made available under the Version 2.0 of the Apache Software License. See the LICENSE and libbrotli/LICENSE files for more information.


brotlipy is maintained by Cory Benfield.