mirror of
https://github.com/python/cpython.git
synced 2025-10-22 17:33:55 +00:00
19 lines
810 B
ReStructuredText
19 lines
810 B
ReStructuredText
![]() |
The :mod:`!compression` package
|
||
|
===============================
|
||
|
|
||
|
.. 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
|
||
|
|