Skip to content

Zstd

πŸ€– AI-Generated Content

This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.

provide.foundation.archive.zstd

Classes

ZstdCompressor

Bases: BaseCompressor

Zstandard compression implementation.

Provides ZSTD compression and decompression using the zstandard package. Does not handle bundling - use with TarArchive for .tar.zst files.

ZSTD level range: 1-22 - 1: Fastest compression, lower ratio - 3: Default balanced setting - 22: Best compression, much slower

Requires the 'zstandard' package to be installed.

Install with: uv add provide-foundation[compression]

Attributes
format_name property
format_name: str

Return the name of the compression format.

Functions