Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-132983: Add documentation for compression.zstd#133911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 23 commits intopython:mainfromemmatyping:zstd-docs
May 21, 2025
Merged
Changes from1 commit
Commits
Show all changes
23 commits
Select commitHold shift + click to select a range
49d9c30
Add documentation for compression.zstd
emmatypingMay 12, 2025
62ef4dc
Add examples
emmatypingMay 12, 2025
0b154b1
Fix camelcase name references
emmatypingMay 12, 2025
63f963f
CParameter->CompressionParameter
emmatypingMay 12, 2025
cfe0590
Apply suggestions from AA-Turner
emmatypingMay 12, 2025
5115b4c
Apply suggestions from reviewers
emmatypingMay 12, 2025
4ab7fd7
Apply suggestions from reviewers
emmatypingMay 12, 2025
5eb5efc
Apply suggestions from reviewers
emmatypingMay 14, 2025
987bd27
Don't reference self when referring to items
emmatypingMay 14, 2025
615ed7f
Updates to respond to review
emmatypingMay 14, 2025
0f7bc05
Remove outdated paragraph
emmatypingMay 15, 2025
44173f3
Remove Zstandard dictionary after ZstdDict
emmatypingMay 16, 2025
8bd5500
Rewrite introduction to compression package to be more timeless
emmatypingMay 18, 2025
24f3761
Remove content_size_flag
emmatypingMay 18, 2025
d04ce4f
Merge branch 'zstd-docs' of github.com:emmatyping/cpython into zstd-docs
emmatypingMay 18, 2025
e61e9a1
Apply suggestions from Sumana and Stan
emmatypingMay 19, 2025
1149832
Remove ref to Meta and clean up mode usage
emmatypingMay 20, 2025
71ed7c3
Apply suggestions from vadmium
emmatypingMay 20, 2025
2f895dd
Many updates to respond to review
emmatypingMay 20, 2025
f25e6e7
Add examples to (De)compressionParameter
emmatypingMay 20, 2025
9ff6320
Add reference to zstd manual and blurb on algorithm
emmatypingMay 20, 2025
daa9df1
Expand on the connection between level and compression_level
emmatypingMay 21, 2025
b3fd3cd
Resolve review suggestions
emmatypingMay 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Remove Zstandard dictionary after ZstdDict
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
  • Loading branch information
@emmatyping@StanFromIreland
emmatyping andStanFromIreland authoredMay 16, 2025
commit44173f33b84d5da0c8aa6271a4912ca351b435ee
16 changes: 8 additions & 8 deletionsDoc/library/compression.zstd.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -165,8 +165,8 @@ Compressing and decompressing data in memory
parameters. The valid keys and values for compression parameters are
documented as part of the :class:`CompressionParameter` documentation.

The *zstd_dict* argument is an instance of :class:`ZstdDict`, a Zstandard
dictionary,containing trained data to improve compression efficiency. The
The *zstd_dict* argument is an instance of :class:`ZstdDict`
containing trained data to improve compression efficiency. The
function :func:`train_dict` can be used to generate a Zstandard dictionary.


Expand All@@ -180,8 +180,8 @@ Compressing and decompressing data in memory
parameters are documented as part of the :class:`DecompressionParameter`
documentation.

The *zstd_dict* argument is an instance of :class:`ZstdDict`, a Zstandard
dictionary,containing trained data used during compression. This must be
The *zstd_dict* argument is an instance of :class:`ZstdDict`
containing trained data used during compression. This must be
the same Zstandard dictionary used during compression.

If *data* is the concatenation of multiple distinct compressed frames,
Expand All@@ -205,8 +205,8 @@ Compressing and decompressing data in memory
parameters. The valid keys and values for compression parameters are
documented as part of the :class:`CompressionParameter` documentation.

The *zstd_dict* argument is an instance of :class:`ZstdDict`, a Zstandard
dictionary,containing trained data to improve compression efficiency. The
The *zstd_dict* argument is an instance of :class:`ZstdDict`
containing trained data to improve compression efficiency. The
function :func:`train_dict` can be used to generate a Zstandard dictionary.

.. attribute:: CONTINUE
Expand DownExpand Up@@ -266,8 +266,8 @@ Compressing and decompressing data in memory
parameters are documented as part of the :class:`DecompressionParameter`
documentation.

The *zstd_dict* argument is an instance of :class:`ZstdDict`, a Zstandard
dictionary,containing trained data used during compression. This must be
The *zstd_dict* argument is an instance of :class:`ZstdDict`
containing trained data used during compression. This must be
the same Zstandard dictionary used during compression.

.. note::
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp