This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients Anatol Pomozov, Jeffrey.Kintscher, Jerrod Frost, daniel.ugra, evan0greenup, lars.gustaebel, lilydjwg, malin, serhiy.storchaka, wicher, yan12125
Date 2020-08-15.15:51:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597506708.0.0.38744796167.issue37095@roundup.psfhosted.org>
In-reply-to
Content
There are two zstd modules on pypi:

    https://pypi.org/project/zstd/
    https://pypi.org/project/zstandard/
    
The first one is too simple.

The second one is powerful, but has too many APIs:
    ZstdCompressorIterator
    ZstdDecompressorIterator
    ZstdCompressionReader
    ZstdCompressionWriter
    ZstdCompressionChunkerIterator
    (multi-thread compression)

IMO these are not necessary for stdlib.

In addition, it needs to add something, such as the `max_length` parameter, and a `ZstdFile` class that can be integrated with the tarfile module. These workloads are not big.

I looked at the zstd API, it's a bit simpler than lzma/bz2/zlib. If spend a month, should be able to make a zstd module for stdlib. Then discuss the detailed API on Python-Ideas.
 
I once wanted to do this job, but it seems my time does not allow it. If anyone wants to do this work, please reply here.

FYI, Python 3.10 schedule:
    3.10.0 beta 1: 2021-05-03 (No new features beyond this point.)
History
Date User Action Args
2020-08-15 15:51:48malinsetrecipients: + malin, lars.gustaebel, daniel.ugra, lilydjwg, serhiy.storchaka, wicher, yan12125, Jeffrey.Kintscher, evan0greenup, Jerrod Frost, Anatol Pomozov
2020-08-15 15:51:48malinsetmessageid: <1597506708.0.0.38744796167.issue37095@roundup.psfhosted.org>
2020-08-15 15:51:47malinlinkissue37095 messages
2020-08-15 15:51:47malincreate