GitHunt
R1

R1kaB3rN/pyzstd

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

pyzstd

Python bindings to Zstandard (zstd) compression library

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


📖 Documentation   |   📃 Changelog


Pyzstd module provides classes and functions for compressing and decompressing data, using Facebook's Zstandard (or zstd as short name) algorithm.

The API style is similar to Python's bz2/lzma/zlib modules.

  • Includes zstd v1.5.6 source code
  • Can also dynamically link to zstd library provided by system, see this note.
  • Has a CFFI implementation that can work with PyPy
  • Support sub-interpreter on CPython 3.12+
  • ZstdFile class has C language level performance
  • Supports Zstandard Seekable Format
  • Has a command line interface: python -m pyzstd --help

Languages

Python70.5%C29.5%

Contributors

BSD 3-Clause "New" or "Revised" License
Created March 4, 2025
Updated March 23, 2025