zstd 1.5.6.1__cp310-cp310-musllinux_1_1_x86_64.whl → 1.5.6.2__cp310-cp310-musllinux_1_1_x86_64.whl
Sign up to get free protection for your applications and to get access to all the features.
- {zstd-1.5.6.1.dist-info → zstd-1.5.6.2.dist-info}/METADATA +60 -7
- zstd-1.5.6.2.dist-info/RECORD +6 -0
- zstd.cpython-310-x86_64-linux-gnu.so +0 -0
- zstd-1.5.6.1.dist-info/RECORD +0 -6
- {zstd-1.5.6.1.dist-info → zstd-1.5.6.2.dist-info}/LICENSE +0 -0
- {zstd-1.5.6.1.dist-info → zstd-1.5.6.2.dist-info}/WHEEL +0 -0
- {zstd-1.5.6.1.dist-info → zstd-1.5.6.2.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: zstd
|
3
|
-
Version: 1.5.6.
|
3
|
+
Version: 1.5.6.2
|
4
4
|
Summary: ZSTD Bindings for Python
|
5
5
|
Home-page: https://github.com/sergey-dryabzhinsky/python-zstd
|
6
6
|
Author: Sergey Dryabzhinsky, Anton Stuk
|
@@ -24,13 +24,15 @@ Classifier: Programming Language :: Python :: 3.8
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.9
|
25
25
|
Classifier: Programming Language :: Python :: 3.10
|
26
26
|
Classifier: Programming Language :: Python :: 3.11
|
27
|
+
Classifier: Programming Language :: Python :: 3.12
|
28
|
+
Classifier: Programming Language :: Python :: 3.13
|
27
29
|
License-File: LICENSE
|
28
30
|
|
29
|
-
=============
|
31
|
+
7=============
|
30
32
|
python-zstd
|
31
33
|
=============
|
32
34
|
|
33
|
-
.. |releaseW| image:: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml/badge.svg?branch=v1.5.6.
|
35
|
+
.. |releaseW| image:: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml/badge.svg?branch=v1.5.6.2
|
34
36
|
:target: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml
|
35
37
|
|
36
38
|
.. |masterW| image:: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml/badge.svg
|
@@ -116,10 +118,30 @@ To build with python-zstd legacy format support (pre 1.1.2) - pass ``--pyzstd-le
|
|
116
118
|
|
117
119
|
>>> $ python setup.py build_ext --pyzstd-legacy clean
|
118
120
|
|
119
|
-
If you want to build with existing distribution of libzstd just add ``--external`` option.
|
120
121
|
But beware! Legacy formats support state is unknown in this case.
|
121
122
|
And if your version not equal with python-zstd - tests may not pass.
|
122
123
|
|
124
|
+
If you're scared of threads you may pass option `--libzstd-no-threads`:
|
125
|
+
|
126
|
+
>>> $ python setup.py build_ext --libzstd-no-threads clean
|
127
|
+
|
128
|
+
When using a PEP 517 builder you can use ``ZSTD_THREADS`` environment variable instead:
|
129
|
+
|
130
|
+
>>> $ ZSTD_THREADS=0 python -m build -w
|
131
|
+
|
132
|
+
If you're meet some cpu instruction errorrs you may try to disable built-in optimizations and pass option `--libzstd-no-use-asm`:
|
133
|
+
|
134
|
+
>>> $ python setup.py build_ext --libzstd-no-use-asm clean
|
135
|
+
|
136
|
+
Or add more speed with option `--libzstd-use-asm-bmi2` to use instructions for new AMD CPU.
|
137
|
+
When using a PEP 517 builder you can use ``ZSTD_ASM`` environment variable instead:
|
138
|
+
And ``ZST_ASM_BMI2=1`` too for bmi2 use.
|
139
|
+
|
140
|
+
>>> $ ZSTD_ASM=0 python -m build -w
|
141
|
+
|
142
|
+
|
143
|
+
If you want to build with existing distribution of libzstd just add ``--external`` option
|
144
|
+
|
123
145
|
>>> $ python setup.py build_ext --external clean
|
124
146
|
|
125
147
|
When using a PEP 517 builder you can use ``ZSTD_EXTERNAL`` environment variable instead:
|
@@ -156,7 +178,10 @@ ZSTD_compress (data[, level, threads]): string|bytes
|
|
156
178
|
* **level**: int - compression level, ultra-fast levels from -100 (ultra) to -1 (fast) available since zstd-1.3.4, and from 1 (fast) to 22 (slowest), 0 or unset - means default (3). Default - 3.
|
157
179
|
* **threads**: int - how many threads to use, from 0 to 200, 0 or unset - auto-tune by cpu cores count. Default - 0. Since: 1.4.4.1
|
158
180
|
|
159
|
-
Aliases:
|
181
|
+
Aliases:
|
182
|
+
- *compress(...)*,
|
183
|
+
- *dumps(...)*,
|
184
|
+
- *encode(...)* since: 1.5.6.2
|
160
185
|
|
161
186
|
Exception if:
|
162
187
|
- level bigger than max level
|
@@ -164,7 +189,7 @@ ZSTD_compress (data[, level, threads]): string|bytes
|
|
164
189
|
Max number of threads:
|
165
190
|
- 32bit system: 64
|
166
191
|
- 64bit system: 256
|
167
|
-
If provided bigger number -
|
192
|
+
If provided bigger number - silently set maximber (since 1.5.4.1)
|
168
193
|
|
169
194
|
Since: 0.1
|
170
195
|
|
@@ -177,10 +202,28 @@ ZSTD_uncompress (data): string|bytes
|
|
177
202
|
|
178
203
|
* **data**: string|bytes - input compressed data block, length limited by 2Gb by Python API
|
179
204
|
|
180
|
-
Aliases:
|
205
|
+
Aliases:
|
206
|
+
- *decompress(...)*,
|
207
|
+
- *uncompress(...)*,
|
208
|
+
- *loads(...)*,
|
209
|
+
- *decode(...)* since: 1.5.6.2
|
181
210
|
|
182
211
|
Since: 0.1
|
183
212
|
|
213
|
+
ZSTD_check (data): string|bytes
|
214
|
+
Function, checks if input is zstd compressed data block, return s1if yes, 0 if no, or raises Error.
|
215
|
+
|
216
|
+
Support compressed data with multiple/concatenated frames (blocks) .
|
217
|
+
|
218
|
+
Params:
|
219
|
+
|
220
|
+
* **data**: string|bytes - input compressed data block, length limited by 2Gb by Python API
|
221
|
+
|
222
|
+
Aliases:
|
223
|
+
- *check(...)*,
|
224
|
+
|
225
|
+
Since: 1.5.6.2
|
226
|
+
|
184
227
|
version (): string|bytes
|
185
228
|
Returns this module doted version string.
|
186
229
|
|
@@ -214,6 +257,16 @@ ZSTD_external (): int
|
|
214
257
|
|
215
258
|
Since: 1.5.0.2
|
216
259
|
|
260
|
+
ZSTD_with_threads (): int
|
261
|
+
Returns 0 of 1 if bundled ZSTD library build with threads support.
|
262
|
+
|
263
|
+
Since: 1.5.6.2
|
264
|
+
|
265
|
+
ZSTD_with_asm (): int
|
266
|
+
Returns 0 of 1 if bundled ZSTD library build with asm optimization s.
|
267
|
+
|
268
|
+
Since: 1.5.6.2
|
269
|
+
|
217
270
|
|
218
271
|
Removed
|
219
272
|
_______
|
@@ -0,0 +1,6 @@
|
|
1
|
+
zstd.cpython-310-x86_64-linux-gnu.so,sha256=GXRdC0ZhiVw70KIA_Cc7R0XnfjLj7bnlhm1iiXmmYEc,8392800
|
2
|
+
zstd-1.5.6.2.dist-info/METADATA,sha256=Np0BcnbQ-SKcHCAhkN2HDtQ3X36SYybj9DNN8oWR8dM,10384
|
3
|
+
zstd-1.5.6.2.dist-info/RECORD,,
|
4
|
+
zstd-1.5.6.2.dist-info/top_level.txt,sha256=DhQX04hbm3dWgbCywpue8ejkkSuxZjpZGkVlo8ca-jM,5
|
5
|
+
zstd-1.5.6.2.dist-info/WHEEL,sha256=82Nz2Eqt-yjNvHZwDc7AdX5fTsTfJiNK8PjG3QKEZHQ,112
|
6
|
+
zstd-1.5.6.2.dist-info/LICENSE,sha256=uFlI3LUItL6HHwW5JwyqwrihDxfV2LORnmQkAhy3b-8,1320
|
Binary file
|
zstd-1.5.6.1.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
zstd.cpython-310-x86_64-linux-gnu.so,sha256=CqraX-87MEAt52-Omnwg_mgh3fd7cSTmx4CG71OJPi4,8387192
|
2
|
-
zstd-1.5.6.1.dist-info/METADATA,sha256=HG7hb7SAhA6jJoNWwNuSFddvhJgzbdnLOWiN8X2oEww,8852
|
3
|
-
zstd-1.5.6.1.dist-info/RECORD,,
|
4
|
-
zstd-1.5.6.1.dist-info/top_level.txt,sha256=DhQX04hbm3dWgbCywpue8ejkkSuxZjpZGkVlo8ca-jM,5
|
5
|
-
zstd-1.5.6.1.dist-info/WHEEL,sha256=82Nz2Eqt-yjNvHZwDc7AdX5fTsTfJiNK8PjG3QKEZHQ,112
|
6
|
-
zstd-1.5.6.1.dist-info/LICENSE,sha256=uFlI3LUItL6HHwW5JwyqwrihDxfV2LORnmQkAhy3b-8,1320
|
File without changes
|
File without changes
|
File without changes
|