Compresión de datos y archivado¶
The modules described in this chapter support data compression with the zlib,
gzip, bzip2, lzma, and zstd algorithms, and the creation of ZIP- and tar-format
archives.  See also Operaciones de archivado provided by the shutil
module.
- The compressionpackage
- compression.zstd— Compression compatible with the Zstandard format
- 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