Lines Matching +full:- +full:- +full:with +full:- +full:brotli
2 """Compression/decompression utility using the Brotli algorithm."""
10 import brotli
14 'mode': brotli.MODE_GENERIC,
36 # this works with CPython -- untested on other implementations
54 '--version', action='version', version=brotli.__version__)
56 '-i',
57 '--input',
64 '-o',
65 '--output',
72 '-f',
73 '--force',
78 '-d',
79 '--decompress',
85 '-m',
86 '--mode',
91 '1 for UTF-8 encoded text, or 2 for WOFF 2.0 font data. '
94 '-q',
95 '--quality',
99 help='Controls the compression-speed vs compression-density '
103 '--lgwin',
110 '--lgblock',
125 with open(options.infile, 'rb') as infile:
143 data = brotli.decompress(data)
145 data = brotli.compress(
151 except brotli.error as e: