zstd 1.5.6.1__cp36-cp36m-manylinux1_x86_64.whl → 1.5.6.2__cp36-cp36m-manylinux1_x86_64.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
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
@@ -25,12 +25,14 @@ Classifier: Programming Language :: Python :: 3.8
25
25
  Classifier: Programming Language :: Python :: 3.9
26
26
  Classifier: Programming Language :: Python :: 3.10
27
27
  Classifier: Programming Language :: Python :: 3.11
28
+ Classifier: Programming Language :: Python :: 3.12
29
+ Classifier: Programming Language :: Python :: 3.13
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.0
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: *compress(...)*, *dumps(...)*
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 - silemtly set maximum number (since 1.5.4.1)
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: *decompress(...)*, *uncompress(...)*, *loads(...)*
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-36m-x86_64-linux-gnu.so,sha256=zGT0FYPit6hznDMt-KDLcsxwsO257TJU81LwVsZRK0I,5370798
2
+ zstd-1.5.6.2.dist-info/METADATA,sha256=YyWyuLdKbC5RgHikiorvOx_Fvmr2E94ZLoz7WqnxpD8,10382
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=IkZiJFiZiRavDHfaLV1hdVPFYe1HJNLQ8dnz1DVQgHk,109
6
+ zstd-1.5.6.2.dist-info/LICENSE,sha256=uFlI3LUItL6HHwW5JwyqwrihDxfV2LORnmQkAhy3b-8,1320
Binary file
@@ -1,6 +0,0 @@
1
- zstd.cpython-36m-x86_64-linux-gnu.so,sha256=SfhUYi0Zltco333iTMFcpKsX9fgNdKS3LcamwFUEcL4,5364442
2
- zstd-1.5.6.1.dist-info/METADATA,sha256=4BSVr2k1YUlghS_2CbOhs5FhKpTaD5Kul5Mnh3ZevJ0,8850
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=IkZiJFiZiRavDHfaLV1hdVPFYe1HJNLQ8dnz1DVQgHk,109
6
- zstd-1.5.6.1.dist-info/LICENSE,sha256=uFlI3LUItL6HHwW5JwyqwrihDxfV2LORnmQkAhy3b-8,1320
File without changes