<div dir="auto"><div>+1 to Brett's idea. It's hard to have a good mental model already of which compression algorithms are and are not in stdlib. A package to contain them all would help a lot.<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 28, 2018, 12:56 PM Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Are we getting to the point that we want a compresslib like hashlib if we are going to be adding more compression algorithms?<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 28 Nov 2018 at 08:44, Antoine Pitrou <<a href="mailto:solipsis@pitrou.net" target="_blank" rel="noreferrer">solipsis@pitrou.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 28 Nov 2018 10:28:19 +0000<br>
Jonathan Underwood <<a href="mailto:jonathan.underwood@gmail.com" target="_blank" rel="noreferrer">jonathan.underwood@gmail.com</a>> wrote:<br>
> Hi,<br>
> <br>
> I have for sometime maintained the Python bindings to the LZ4<br>
> compression library[0, 1]:<br>
> <br>
> I am wondering if there is interest in having these bindings move to<br>
> the standard library to sit alongside the gzip, lzma etc bindings?<br>
> Obviously the code would need to be modified to fit the coding<br>
> guidelines etc.<br>
<br>
Personally I would find it useful indeed.  LZ4 is very attractive<br>
when (de)compression speed is a primary factor, for example when<br>
sending data over a fast network link or a fast local SSD.<br>
<br>
Another compressor worth including is Zstandard (by the same author as<br>
LZ4). Actually, Zstandard and LZ4 cover most of the (speed /<br>
compression ratio) range quite well. Informative graphs below:<br>
<a href="https://gregoryszorc.com/blog/2017/03/07/better-compression-with-zstandard/" rel="noreferrer noreferrer" target="_blank">https://gregoryszorc.com/blog/2017/03/07/better-compression-with-zstandard/</a><br>
<br>
Regards<br>
<br>
Antoine.<br>
<br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank" rel="noreferrer">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank" rel="noreferrer">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/mertz%40gnosis.cx" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/mertz%40gnosis.cx</a><br>
</blockquote></div></div></div>