Skip to content
pure python brotli decoder
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
brotli-dict works Apr 8, 2017
brotlipython.py
test.br

README.md

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

You can’t perform that action at this time.