Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 375 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 375 Bytes

super slow pure python brotli decoder, please ignore

ported from brotli-rs to a minimal python subset and now back to standard python (but unpolished) as a side project

usage:

from brotlipython import brotlidec
in = open('test.br', 'rb').read()
outbuf = []
dec = brotlidec(in, outbuf)  # also returns bytes(outbuf) again

or see ./brotlipython.py --help