python/bro.py


Log

Author Commit Date CI Message
Christian Clauss 3487b691 2025-05-27T09:37:03 Update bro.py: Fix undefined name in Python code (#1240) `outfile` is used before it is defined on the following line so use `options.outfile` instead. % `ruff check` ``` Error: python/bro.py:168:64: F821 Undefined name `outfile` ``` Co-authored-by: Eugene Kliuchnikov <eustas.ru@gmail.com>
Thomas Fischbacher acc26565 2023-07-19T05:43:51 Small Python modernization of Brotli code. PiperOrigin-RevId: 549289787
Evgenii Kliuchnikov 38e9add9 2023-01-31T21:28:34 Fix permissions PiperOrigin-RevId: 506096478
Brotli 36533a86 2023-01-16T18:04:35 Internal change PiperOrigin-RevId: 502401179
Eugene Kliuchnikov 7f740f13 2020-05-15T11:06:21 Update (#807) - fix formatting - fix type conversion - fix no-op arithmetic with null-pointer - improve performance of hash_longest_match64 - go: detect read after close - java decoder: support compound dictionary - remove executable flag on non-scripts
Eugene Kliuchnikov d63e8f75 2017-08-04T10:02:56 Update API, and more (#581) Update API, and more: * remove "custom dictionary" support * c/encoder: fix #580: big-endian build * Java: reduce jar size * Java: speedup decoding * Java: add 32-bit CPU support * Java: make source code JS transpiler-ready
Alex Nicksay 4651f7c0 2016-12-12T04:28:15 Python: Format bro.py with yapf (#480)
Eugene Kliuchnikov 30612e3a 2016-02-23T17:42:55 Add binding for custom_dictionary.
Ilya Nazarov 291d21cc 2016-02-19T16:54:15 Fix choices for --lgwin and --mode in python/bro.py.
Cosimo Lupo 82ffc4df 2015-10-05T18:57:32 [bro.py] set 'lgwin' valid range to [10..24]
Cosimo Lupo 8c7edd3e 2015-08-11T10:39:14 [bro.py] print --version as brotli.__version__
Cosimo Lupo c93c0dab 2015-05-11T11:10:48 [bro.py] use brotli.MODE_GENERIC as default compression mode; remove additional low-level parameters
Cosimo Lupo b7e82917 2015-05-08T15:49:15 [bro.py] remove debug print
Cosimo Lupo 4106a406 2015-05-08T15:46:56 [bro.py] use new optional encoder parameters when compressing; modified the help string to include the new parameters.
Cosimo Lupo 32c44ec8 2015-05-08T14:17:20 [bro.py] use argparse instead of getopt
Cosimo Lupo b316cb74 2015-04-16T12:41:40 [python] fix unbuffered binary mode for I/O streams in Windows pypy
Cosimo Lupo b33e10e9 2015-03-16T17:56:10 add Python port of bro utility and scripts to test Brotli extension