Skip to content

Xz

πŸ€– 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.xz

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