python-hyper / brotlicffi

Python bindings to the Brotli compression library
MIT License
147 stars 27 forks source link

Any advantage compared to the official brotli bindings? #142

Closed karyon closed 3 years ago

karyon commented 5 years ago

brotli has official python bindings with a very similar API, which is also published to pip, see here: https://github.com/google/brotli/tree/master/python

Is there any advantage of using this brotlipy package compared to the official one?

anthrotype commented 5 years ago

brotlipy uses cffi to wrap the brotli library, hence it is supposed to run faster on pypy.

sethmlarson commented 3 years ago

We clarify this within our documentation now and are recommending using brotlicffi on non-CPython.