zlib

Stdlib — CompressionPython 2.0+Intermediate

Low-level compression using the zlib/deflate algorithm

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import zlib

print(f"Module: zlib")
print(f"Contents: {dir(zlib)[:10]}")

The zlib module is part of Python's standard library. Low-level compression using the zlib/deflate algorithm.

Try in Playground

Tags

stdlibcompressionarchive