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 gzipgzip — 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–2023 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.12/library/archiving.html