compression.zstd — Compression compatible with the Zstandard format — Python 3.14.7 documentation

docs.python.org

Tin mới

The compression package

zlib — Compression compatible with gzip

Python Module Index

3.14.7 Documentation

The Python Standard Library

Data Compression and Archiving

Requirements for optional modules

The open() function and ZstdFile class for reading and writing compressed files.

io.BufferedIOBase.detach

A ZstdFile can wrap an already-open file object, or operate directly on a named file. The file argument specifies either the file object to wrap, or the name of the file to open (as a str, bytes or path-like object). If