8000 gh-132983: Add documentation for compression.zstd (GH-133911) · python/cpython@d862b6d · GitHub
[go: up one dir, main page]

Skip to content

Commit d862b6d

Browse files
emmatypingAA-TurnerStanFromIrelandhugovkbrainwane
authored
gh-132983: Add documentation for compression.zstd (GH-133911)
Add documentation for compression & compression.zstd. 🎉 --------- Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Sumana Harihareswara <sh@changeset.nyc> Co-authored-by: Martin Panter <vadmium@users.noreply.github.com>
1 parent 4eacf38 commit d862b6d

File tree

3 files changed

+861
-1
lines changed

3 files changed

+861
-1
lines changed

Doc/library/archiving.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ Data Compression and Archiving
55
******************************
66

77
The modules described in this chapter support data compression with the zlib,
8-
gzip, bzip2 and lzma algorithms, and the creation of ZIP- and tar-format
8+
gzip, bzip2, lzma, and zstd algorithms, and the creation of ZIP- and tar-format
99
archives. See also :ref:`archiving-operations` provided by the :mod:`shutil`
1010
module.
1111

1212

1313
.. toctree::
1414

15+
compression.rst
16+
compression.zstd.rst
1517
zlib.rst
1618
gzip.rst
1719
bz2.rst

Doc/library/compression.rst

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

0 commit comments

Comments
 (0)
0