https://github.com/pothos/brotlipython
pure python brotli decoder
https://github.com/pothos/brotlipython
brotli brotli-decoder brotli-decompressor python-brotli python-brotli-decoder
Last synced: 6 months ago
JSON representation
pure python brotli decoder
- Host: GitHub
- URL: https://github.com/pothos/brotlipython
- Owner: pothos
- Created: 2017-04-08T18:40:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-08T19:02:10.000Z (over 8 years ago)
- Last Synced: 2025-03-04T21:36:23.377Z (7 months ago)
- Topics: brotli, brotli-decoder, brotli-decompressor, python-brotli, python-brotli-decoder
- Language: Python
- Size: 84 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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) againor see `./brotlipython.py --help`