| 1 |
The :mod:`!compression` package |
| 2 |
=============================== |
| 3 |
|
| 4 |
.. module:: compression |
| 5 |
|
| 6 |
.. versionadded:: 3.14 |
| 7 |
|
| 8 |
The :mod:`!compression` package contains the canonical compression modules |
| 9 |
containing interfaces to several different compression algorithms. Some of |
| 10 |
these modules have historically been available as separate modules; those will |
| 11 |
continue to be available under their original names for compatibility reasons, |
| 12 |
and will not be removed without a deprecation cycle. The use of modules in |
| 13 |
:mod:`!compression` is encouraged where practical. |
| 14 |
|
| 15 |
* :mod:`!compression.bz2` -- Re-exports :mod:`bz2` |
| 16 |
* :mod:`!compression.gzip` -- Re-exports :mod:`gzip` |
| 17 |
* :mod:`!compression.lzma` -- Re-exports :mod:`lzma` |
| 18 |
* :mod:`!compression.zlib` -- Re-exports :mod:`zlib` |
| 19 |
* :mod:`compression.zstd` -- Wrapper for the Zstandard compression library |
| 20 |
|