NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1612 most downloaded on PyPI
Support for Zstandard (zstd) compression
Last release 9 months ago
13 Dec 2025
Release timing varies
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 22 of 22 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
22 releases · first in 2020
One column per quarter.
Fix SeekableZstdFile write table entries on 32-bits architectures when there is a huge number of entries
SeekableZstdFile write table entries on 32-bits architectures when there is a huge number of entriesThe project has been completely refactored to use the Zstandard implementation from the standard library (PEP-784)
backports.zstd dependency for Python before 3.14setuptools and C build toolchain, add hatchling and hatch-vcsruff as formatter and lintermypyDeprecate the read_size and write_size parameters of ZstdFile and SeekableZstdFile
read_size and write_size parameters of ZstdFile and SeekableZstdFilerichmem_compress and RichMemZstdCompressorcompression.zstd from Python stdlib, and provide a migration guidezstd library license in package distributionsDeprecate (de)compress_stream functions
ZstdFile.name property(de)compress_stream functions_ for private objectsDeprecate support for Python version before 3.9 and stop building wheels for them
- Compatibility with Python 3.13
Deprecate support for Python version before 3.8 and stop building wheels for them
get_requires_for_build_wheelFix SeekableZstdFile class can't open new file in appending mode.
SeekableZstdFile class can't open new file in appending mode.mremap mechanism.ZstdFile class related changes:
ZstdFile class related changes:
SeekableZstdFile class, it's a subclass of ZstdFile, supports Zstandard Seekable Format.ZstdFile.flush() method, now it can flush a zstd frame.ZstdFile.__init__() method, can work with Network File Systems better.ZstdFile performance to C language level.Fix these advanced compression parameters may be ignored when loading a dictionary: windowLog, hashLog, chainLog, searchLog, minMatch, targetLength, s
ZstdDict class changes:
windowLog, hashLog, chainLog, searchLog, minMatch, targetLength, strategy, enableLongDistanceMatching, ldmHashLog, ldmMinMatch, ldmBucketSizeLog, ldmHashRateLog, and some non-public parameters..as_prefix attribute. Can use zstd as a patching engine.Upgrade zstd source code from v1.5.4 to v1.5.5.
Upgrade zstd source code from v1.5.2 to v1.5.4. v1.5.3 is a non-public release.
pyproject.toml build mechanism (PEP-517). Note that specifying build options in old way may be invalid, see build commands.Fix ZstdError object can't be pickled.
ZstdError object can't be pickled.Upgrade zstd source code from v1.5.1 to v1.5.2.
Upgrade zstd source code from v1.5.0 to v1.5.1.
ZstdFile.write() / train_dict() / finalize_dict() may use wrong length for some buffer protocol objects.CParameter.nbWorkers to 1 now means "1-thread multi-threaded mode", rather than "single-threaded mode".ZstdError exception.zstd_support_multithread.--avx2, see build options.Upgrade zstd source code from v1.4.9 to v1.5.0.
Add a CFFI implementation that can work with PyPy.
Upgrade zstd source code from v1.4.8 to v1.4.9.
Add two convenient functions: `compress_stream()` and `decompress_stream()`.
compress_stream() and decompress_stream().Upgrade zstd source code from v1.4.5 to v1.4.8.
ZstdDecompressor class: now it has the same API and behavior as BZ2Decompressor / LZMADecompressor classes in Python standard library, it stops after
ZstdDecompressor class: now it has the same API and behavior as BZ2Decompressor / LZMADecompressor classes in Python standard library, it stops after a frame is decompressed.EndlessZstdDecompressor class, it accepts multiple concatenated frames. It is renamed from previous ZstdDecompressor class, but .at_frame_edge is True when both the input and output streams are at a frame edge.zstd_open() function to open(), consistent with Python standard library.decompress() function:
No longer use Argument Clinic, now supports Python 3.5+, previously 3.7+.
Your coding agent can read these notes before it upgrades. Set up the MCP server →