Data Compression and Archiving
The modules described in this chapter support data compression with the zlib, gzip, bzip2 and lzma algorithms, and the creation of ZIP- and tar-format archives. See also Archiving operations provided by the shutil
module.
zlib
— Compression compatible with gzip-
gzip
— Support for gzip files -
bz2
— Support for bzip2 compression -
lzma
— Compression using the LZMA algorithm -
zipfile
— Work with ZIP archives -
tarfile
— Read and write tar archive files
© 2001–2021 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.10/library/archiving.html