mirror of
https://github.com/python/cpython.git
synced 2025-11-07 00:51:49 +00:00
20 lines
835 B
ReStructuredText
20 lines
835 B
ReStructuredText
The :mod:`!compression` package
|
|
===============================
|
|
|
|
.. module:: compression
|
|
|
|
.. versionadded:: 3.14
|
|
|
|
The :mod:`!compression` package contains the canonical compression modules
|
|
containing interfaces to several different compression algorithms. Some of
|
|
these modules have historically been available as separate modules; those will
|
|
continue to be available under their original names for compatibility reasons,
|
|
and will not be removed without a deprecation cycle. The use of modules in
|
|
:mod:`!compression` is encouraged where practical.
|
|
|
|
* :mod:`!compression.bz2` -- Re-exports :mod:`bz2`
|
|
* :mod:`!compression.gzip` -- Re-exports :mod:`gzip`
|
|
* :mod:`!compression.lzma` -- Re-exports :mod:`lzma`
|
|
* :mod:`!compression.zlib` -- Re-exports :mod:`zlib`
|
|
* :mod:`compression.zstd` -- Wrapper for the Zstandard compression library
|
|
|