Returns a bytes object containing compressed data. data Binary data to be compressed. level Compression level, in 0-9 or -1. wbits The window buffer size and container format.
zlib/compress
compress