{"library":"brotli","type":"library","category":null,"description":"Python bindings for the Brotli compression library. It offers high-performance lossless compression, often achieving better ratios than gzip, particularly for text-based data. The library's releases are typically synchronized with updates to the underlying C Brotli reference implementation.","language":"python","status":"active","version":"1.2.0","tags":["compression","brotli","data-compression","security"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install brotli","imports":["import brotli","brotli.compress(data)","brotli.decompress(compressed_data)","compressor = brotli.Compressor()","decompressor = brotli.Decompressor()","try: ... except brotli.error: ..."]}],"homepage":null,"github":"https://github.com/google/brotli","docs":null,"changelog":null,"pypi":"https://pypi.org/project/brotli/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/brotli/compatibility"}}