+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.
On Wed, Nov 28, 2018, 12:56 PM Brett Cannon <br...@python.org wrote: > Are we getting to the point that we want a compresslib like hashlib if we > are going to be adding more compression algorithms? > > On Wed, 28 Nov 2018 at 08:44, Antoine Pitrou <solip...@pitrou.net> wrote: > >> On Wed, 28 Nov 2018 10:28:19 +0000 >> Jonathan Underwood <jonathan.underw...@gmail.com> wrote: >> > Hi, >> > >> > I have for sometime maintained the Python bindings to the LZ4 >> > compression library[0, 1]: >> > >> > I am wondering if there is interest in having these bindings move to >> > the standard library to sit alongside the gzip, lzma etc bindings? >> > Obviously the code would need to be modified to fit the coding >> > guidelines etc. >> >> Personally I would find it useful indeed. LZ4 is very attractive >> when (de)compression speed is a primary factor, for example when >> sending data over a fast network link or a fast local SSD. >> >> Another compressor worth including is Zstandard (by the same author as >> LZ4). Actually, Zstandard and LZ4 cover most of the (speed / >> compression ratio) range quite well. Informative graphs below: >> >> https://gregoryszorc.com/blog/2017/03/07/better-compression-with-zstandard/ >> >> Regards >> >> Antoine. >> >> >> _______________________________________________ >> Python-Dev mailing list >> Python-Dev@python.org >> https://mail.python.org/mailman/listinfo/python-dev >> Unsubscribe: >> https://mail.python.org/mailman/options/python-dev/brett%40python.org >> > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/mertz%40gnosis.cx >
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com