class zipfile.PyZipFile(file, mode='r', compression=ZIP_STORED, allowZip64=True, optimize=-1)
TarFile.pax_headers A dictionary containing key-value pairs of pax global headers.
gzip.decompress(data) Decompress the data, returning a
zlib.decompressobj(wbits=15[, zdict]) Returns a decompression object, to be used for decompressing data streams that won’t fit
ZipFile.setpassword(pwd) Set pwd as default password to extract encrypted files.
TarInfo.tobuf(format=DEFAULT_FORMAT, encoding=ENCODING, errors='surrogateescape') Create a string buffer from a TarInfo
TarInfo.mode Permission bits.
ZipFile.comment The comment text associated with the ZIP file. If assigning a comment to a ZipFile instance created
ZipFile.write(filename, arcname=None, compress_type=None) Write the file named filename to the archive, giving it the
TarInfo.mtime Time of last modification.
Page 12 of 14