Directly supported by modules and common data compression format packing: zlib, gzip, bz2, zipfile, and tarfile.
import zlib
s = b’witch which has which witches wrist watch’
len(s)
41t = zlib.compress(s)
len(t)
37zlib.decompress(t)
b’witch which has which witches wrist watch’zlib.crc32(s)
226805979