NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1364 most downloaded on PyPI
ZSTD Bindings for Python
Last release 8 months ago
08 Jan 2026
Ships unpredictably
gaps range from 2 weeks to 1.7 years
Most releases are documented
notes for 42 of 49 stable releases
2 versions withdrawn
withdrawn after publishing
9 years old
51 releases · first in 2017
Create context for compress one time on module init. Performance gain around 6%.
!!! Warning !!! Not thread safe !!!
caching number of available cores from cpuinfo by 60 seconds (VM may change settings)
One column per quarter.
fixed function ZSTD_min_compression_level() - now returns real number, not some shifted int value
ZSTD_min_compression_level() - now returns real number, not some shifted int value-O3 level of optimization. Probably will be about 20% fasterUpdate bundled libzstd to 1.5.7
Update bundled libzstd to 1.5.7
Wheel for linux are here and pipy (built on Ubuntu xenial, gcc-5, manylinux_2_14)
Make decompression of zstd stream data possible #228 and #100
Wheel for python3.12 amd64 uploaded here
support of multiple instances of interpreter with own GIL by @domysh
fix module version string form then building with external system library #203
find pkg-config in paths defined in PATH environment variable, as suggested by @parona-source
--all-warnings and --all-warnings-errorsfixed various compiller warnings
check() functionadd missing definitions of multithreading and external library flags
strict mode to compression function, to no make exception if level or threads count are beyond limitationsBroken check() function
Add new functions:check(), ZSTD_with_threads(), ZSTD_with_asm()
check(), ZSTD_with_threads(), ZSTD_with_asm()Broken build with external libzstd.
Update action to genegate wheels
Update action to genegate wheels
Update bundled libzstd to 1.5.5
x86 and x64 builded under Ubuntu 16.04. And with sse+sse2 optimizations enabled via compiler.armhf and arm64 builded under Ubuntu 18.04.armhf builded on Raspberry PI 2B and optimized for it.arm64 builded on Raspberry PI 4B and optimized for it.arm64 missing 2.7 as it are broken.Don't fail with exception if defined number of threads to compress is bigger than libzstd can take. Silently drop it value down to max threads.
Don't fail with exception if defined number of threads to compress is bigger than libzstd can take. Silently drop it value down to max threads.
Nothing published for this version
Fix a nasty bug - corrupted compression of empty string, and decompression too. Thanks to @nepeat
Fix a nasty bug - corrupted compression of empty string, and decompression too. Thanks to @nepeat
x86 and x64 builded under Ubuntu 16.04. And with sse+sse2 optimizations enabled via compiler.armhf and arm64 builded under Ubuntu 18.04.armhf builded on Raspberry PI 2B and optimized for it.arm64 builded on Raspberry PI 4B and optimized for it.arm64 missing 2.7 as it are broken.Force disable all ASM for AMD code.
Force disable all ASM for AMD code.
x86 and x64 builded under Ubuntu 16.04. And with sse+sse2 optimizations enabled via compiler.armhf and arm64 builded under Ubuntu 18.04.armhf builded on Raspberry PI 2B and optimized for it.arm64 builded on Raspberry PI 4B and optimized for it.armhf yeat.arm64 missing 2.7 and 3.7 as they are broken.Fixed config for github actions to build wheels.
Fixed config for github actions to build wheels.
Nothing else changed.
Note:
x86 and x64 builded under Ubuntu 16.04.armhf and arm64 builded under Ubuntu 18.04.armhf builded on Raspberry PI 2B.arm64 builded on Raspberry PI 4B.armhf yeat.arm64 missing 2.7 and 3.7 as they are broken.Add support of setting build options via envvars - PEP 517 compat. Thanx to @mgorny
Add support of setting build options via envvars - PEP 517 compat. Thanx to @mgorny
Nothing else ~matters~ changed.
Fix tests strings.
Nothing else ~matters~ changed.
Quick fix for build via pypy3.9 - they not implemented bpo-40421 in full.
Quick fix for build via pypy3.9 - they not implemented bpo-40421 in full.
BROKEN TESTS
Update bundled libzstd to 1.5.2.
Update bundled libzstd to 1.5.2.
BUILD FAILS ON PYPY-3.9
update libzstd to 1.5.1 - follow upstream
Same as 1.5.0.3, but tests are fixed: update all version strings
Same as 1.5.0.3, but tests are fixed: update all version strings
Compatibility with python 3.8 - 3.11 (@vstinner)
Compatibility with python 3.8 - 3.11 (@vstinner)
BROKEN TESTS
add new function for them: ZSTD_external(): 0/1
fix build - missing new file: zstd_errors.h
Removed old function which generated custom block header
BUILD BROKEN
Fix python 3.8+ warnings about rigth size_t type for # formats
Update bundled zstd library to 1.4.9 release
Allow ultra-fast levels from -100 to -1
Allow ultra-fast levels from -100 to -1
Update bundled zstd library to 1.4.8 release
Update bundled zstd library to 1.4.8 release
Fix MacOs build - undefined type S32. (since 1.4.4.1)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix windows build with MSVC version <= 9.0
Fix windows build with MSVC version <= 9.0
Fix build warnings for version functions
version functionsUpdate README (missed master change)
- Update Zstd to 1.3.5 - Fix unittests
update docstrings, thanks @rwarren
Minor fixes:
update version checks, thanks @wumpus
add support for negative compression levels from 1.3.4 upstream
Minor update release:
Update Zstd from upstream to v1.3.4
Update Zstd from upstream to v1.3.4
Update Zstd from upstream to v1.3.3
Update Zstd from upstream to v1.3.3
Update Zstd from upstream to v1.3.1
Update Zstd from upstream to v1.3.1
Nothing published for this version
Update zstd from upstream to v1.2.0
Update zstd from upstream to v1.2.0
update zstd from upstream to v1.1.4
Your coding agent can read these notes before it upgrades. Set up the MCP server →