Add brotli_file.open as a file interface. This package works with brotli package, but not with brotlipy.
import brotli_file
f = brotli_file.open('test.br')
print(f.readline()) # any other method will work except for seek
File interface for brotli
Add brotli_file.open as a file interface. This package works with brotli package, but not with brotlipy.
import brotli_file
f = brotli_file.open('test.br')
print(f.readline()) # any other method will work except for seek
File interface for brotli
https://pypi.org/project/brotli-file/
Other