On Mon, 21 Sep 2020 09:31:47 -0000 "Omer Katz" email@example.com wrote:
We have many compression algorithms as standard modules, but we lack two important new algorithms: brotli and zstandard.
Brotli is an important compression algorithm both for HTTP2 and for compressing/decompressing HTTP responses. ZStandard is another algorithm for compression that can easily beat gzip with a better compression ratio and less compression time. Both are now stable enough and are past the 1.0 mark.
Let's include them in the standard library and, of course, make them optional at build time like the rest of our compression modules. What do you think?
I would agree with ZStandard which is best-in-class currently. Brotli sounds less important. Just my 2 cents, though :-)
In any case, each of these modules would need a maintainer willing to ensure maintenance inside the Python standard library.