Skip to content

Xz

provide.foundation.archive.xz

TODO: Add module docstring.

Classes

XzCompressor

Bases: BaseCompressor

XZ/LZMA2 compression implementation.

Provides XZ compression and decompression using Python's stdlib lzma module. Does not handle bundling - use with TarArchive for .tar.xz files.

XZ preset range: 0-9 - 0: Fastest compression, lower ratio - 6: Default balanced setting - 9: Best compression, slower

Attributes
format_name property
format_name: str

Return the name of the compression format.

Functions