Rogdham/pyzstd

Python bindings to Zstandard (zstd) compression library, the API style is similar to Python's bz2/lzma/zlib modules.

47

stars

556

commits

Python

primary language

May 10, 2026

updated

pyzstd.readthedocs.io/
compress
decompress
file
format
seekable
tar
zst
zstandard
zstd

README

pyzstd

Python bindings to Zstandard (zstd) compression library

GitHub build status Release on PyPI BSD-3-Clause License


📖 Documentation   |   📃 Changelog


The pyzstd module provides Python support for Zstandard, using an API style similar to the bz2, lzma, and zlib modules.

[!WARNING]

Zstandard is now natively supported in Python’s standard library via the compression.zstd module. For older Python versions, use the backports.zstd library as a fallback.

We recommend new projects to use the standard library, and existing ones to consider migrating.

pyzstd internally uses compression.zstd since version 0.19.0.

See pyzstd's documentation for details and a migration guide.

Contributors

wjssz

498 commits

Rogdham

54 commits

gotmax23

1 commits

Rogdham/pyzstd

Python bindings to Zstandard (zstd) compression library, the API style is similar to Python's bz2/lzma/zlib modules.

47

stars

556

commits

Python

primary language

May 10, 2026

updated

pyzstd.readthedocs.io/
compress
decompress
file
format
seekable
tar
zst
zstandard
zstd

README

pyzstd

Python bindings to Zstandard (zstd) compression library

GitHub build status Release on PyPI BSD-3-Clause License


📖 Documentation   |   📃 Changelog


The pyzstd module provides Python support for Zstandard, using an API style similar to the bz2, lzma, and zlib modules.

[!WARNING]

Zstandard is now natively supported in Python’s standard library via the compression.zstd module. For older Python versions, use the backports.zstd library as a fallback.

We recommend new projects to use the standard library, and existing ones to consider migrating.

pyzstd internally uses compression.zstd since version 0.19.0.

See pyzstd's documentation for details and a migration guide.

Contributors

wjssz

498 commits

Rogdham

54 commits

gotmax23

1 commits

Languages

Python

100.0%