zstd 1.5.6.1__cp310-cp310-win32.whl → 1.5.6.2__cp310-cp310-win32.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: zstd
3
- Version: 1.5.6.1
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,25 @@ 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
-
29
- =============
30
+ Dynamic: author
31
+ Dynamic: author-email
32
+ Dynamic: classifier
33
+ Dynamic: description
34
+ Dynamic: home-page
35
+ Dynamic: keywords
36
+ Dynamic: license
37
+ Dynamic: maintainer
38
+ Dynamic: maintainer-email
39
+ Dynamic: summary
40
+
41
+ 7=============
30
42
  python-zstd
31
43
  =============
32
44
 
33
- .. |releaseW| image:: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml/badge.svg?branch=v1.5.6.0
45
+ .. |releaseW| image:: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml/badge.svg?branch=v1.5.6.2
34
46
  :target: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml
35
47
 
36
48
  .. |masterW| image:: https://github.com/sergey-dryabzhinsky/python-zstd/actions/workflows/build-wheels.yml/badge.svg
@@ -116,10 +128,30 @@ To build with python-zstd legacy format support (pre 1.1.2) - pass ``--pyzstd-le
116
128
 
117
129
  >>> $ python setup.py build_ext --pyzstd-legacy clean
118
130
 
119
- If you want to build with existing distribution of libzstd just add ``--external`` option.
120
131
  But beware! Legacy formats support state is unknown in this case.
121
132
  And if your version not equal with python-zstd - tests may not pass.
122
133
 
134
+ If you're scared of threads you may pass option `--libzstd-no-threads`:
135
+
136
+ >>> $ python setup.py build_ext --libzstd-no-threads clean
137
+
138
+ When using a PEP 517 builder you can use ``ZSTD_THREADS`` environment variable instead:
139
+
140
+ >>> $ ZSTD_THREADS=0 python -m build -w
141
+
142
+ If you're meet some cpu instruction errorrs you may try to disable built-in optimizations and pass option `--libzstd-no-use-asm`:
143
+
144
+ >>> $ python setup.py build_ext --libzstd-no-use-asm clean
145
+
146
+ Or add more speed with option `--libzstd-use-asm-bmi2` to use instructions for new AMD CPU.
147
+ When using a PEP 517 builder you can use ``ZSTD_ASM`` environment variable instead:
148
+ And ``ZST_ASM_BMI2=1`` too for bmi2 use.
149
+
150
+ >>> $ ZSTD_ASM=0 python -m build -w
151
+
152
+
153
+ If you want to build with existing distribution of libzstd just add ``--external`` option
154
+
123
155
  >>> $ python setup.py build_ext --external clean
124
156
 
125
157
  When using a PEP 517 builder you can use ``ZSTD_EXTERNAL`` environment variable instead:
@@ -156,7 +188,10 @@ ZSTD_compress (data[, level, threads]): string|bytes
156
188
  * **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
189
  * **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
190
 
159
- Aliases: *compress(...)*, *dumps(...)*
191
+ Aliases:
192
+ - *compress(...)*,
193
+ - *dumps(...)*,
194
+ - *encode(...)* since: 1.5.6.2
160
195
 
161
196
  Exception if:
162
197
  - level bigger than max level
@@ -164,7 +199,7 @@ ZSTD_compress (data[, level, threads]): string|bytes
164
199
  Max number of threads:
165
200
  - 32bit system: 64
166
201
  - 64bit system: 256
167
- If provided bigger number - silemtly set maximum number (since 1.5.4.1)
202
+ If provided bigger number - silently set maximber (since 1.5.4.1)
168
203
 
169
204
  Since: 0.1
170
205
 
@@ -177,10 +212,28 @@ ZSTD_uncompress (data): string|bytes
177
212
 
178
213
  * **data**: string|bytes - input compressed data block, length limited by 2Gb by Python API
179
214
 
180
- Aliases: *decompress(...)*, *uncompress(...)*, *loads(...)*
215
+ Aliases:
216
+ - *decompress(...)*,
217
+ - *uncompress(...)*,
218
+ - *loads(...)*,
219
+ - *decode(...)* since: 1.5.6.2
181
220
 
182
221
  Since: 0.1
183
222
 
223
+ ZSTD_check (data): string|bytes
224
+ Function, checks if input is zstd compressed data block, return s1if yes, 0 if no, or raises Error.
225
+
226
+ Support compressed data with multiple/concatenated frames (blocks) .
227
+
228
+ Params:
229
+
230
+ * **data**: string|bytes - input compressed data block, length limited by 2Gb by Python API
231
+
232
+ Aliases:
233
+ - *check(...)*,
234
+
235
+ Since: 1.5.6.2
236
+
184
237
  version (): string|bytes
185
238
  Returns this module doted version string.
186
239
 
@@ -214,6 +267,16 @@ ZSTD_external (): int
214
267
 
215
268
  Since: 1.5.0.2
216
269
 
270
+ ZSTD_with_threads (): int
271
+ Returns 0 of 1 if bundled ZSTD library build with threads support.
272
+
273
+ Since: 1.5.6.2
274
+
275
+ ZSTD_with_asm (): int
276
+ Returns 0 of 1 if bundled ZSTD library build with asm optimization s.
277
+
278
+ Since: 1.5.6.2
279
+
217
280
 
218
281
  Removed
219
282
  _______
@@ -0,0 +1,6 @@
1
+ zstd.cp310-win32.pyd,sha256=l8HLZqBAt_9YEIJrBotjuF4m41i4i7Q3SacckxoAVgc,344064
2
+ zstd-1.5.6.2.dist-info/LICENSE,sha256=SRqgX5lCycxKgE5bNDx1-KpJ4BwJbKW2OGuKCDut7oY,1344
3
+ zstd-1.5.6.2.dist-info/METADATA,sha256=FXiJrxH2zmUOgpaiFqr4kPw4XDRF9WlRdGlTjLVXA8o,10924
4
+ zstd-1.5.6.2.dist-info/WHEEL,sha256=rLq6zy99NFadnn104_KE5z0qCJfRTCVsMafVXwuXNlE,97
5
+ zstd-1.5.6.2.dist-info/top_level.txt,sha256=DhQX04hbm3dWgbCywpue8ejkkSuxZjpZGkVlo8ca-jM,5
6
+ zstd-1.5.6.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-cp310-win32
5
5
 
zstd.cp310-win32.pyd CHANGED
Binary file
@@ -1,6 +0,0 @@
1
- zstd.cp310-win32.pyd,sha256=m-uRbeK-lOf9LSQ5G4gZeTUqHyKtiA6BawXAnCVgqZ0,343040
2
- zstd-1.5.6.1.dist-info/LICENSE,sha256=SRqgX5lCycxKgE5bNDx1-KpJ4BwJbKW2OGuKCDut7oY,1344
3
- zstd-1.5.6.1.dist-info/METADATA,sha256=AlCbJoT8FROtHIi6toCTPSrix4yLtHCD3neJVc63XOY,9133
4
- zstd-1.5.6.1.dist-info/WHEEL,sha256=IJJUxdZyjrGcLR3XjvKOCbzRR0h6oB7KSRhSaDzEI7U,97
5
- zstd-1.5.6.1.dist-info/top_level.txt,sha256=DhQX04hbm3dWgbCywpue8ejkkSuxZjpZGkVlo8ca-jM,5
6
- zstd-1.5.6.1.dist-info/RECORD,,