winrt-Windows.Storage.Compression 2.0.1__tar.gz → 2.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/PKG-INFO +5 -5
- winrt_windows_storage_compression-2.2.0/all-requirements.txt +4 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/py.Windows.Storage.Compression.cpp +133 -83
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/pyproject.toml +3 -2
- winrt_windows_storage_compression-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/requirements.txt +2 -2
- winrt_windows_storage_compression-2.2.0/winrt/_winrt_windows_storage_compression.pyi +45 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/winrt/windows/storage/compression/__init__.py +1 -1
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/winrt_Windows.Storage.Compression.egg-info/PKG-INFO +5 -5
- winrt_windows_storage_compression-2.2.0/winrt_Windows.Storage.Compression.egg-info/requires.txt +5 -0
- winrt_windows_storage_compression-2.0.1/all-requirements.txt +0 -4
- winrt_windows_storage_compression-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_storage_compression-2.0.1/winrt/_winrt_windows_storage_compression.pyi +0 -45
- winrt_windows_storage_compression-2.0.1/winrt_Windows.Storage.Compression.egg-info/requires.txt +0 -5
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/README.md +0 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/setup.cfg +0 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/setup.py +0 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/winrt/windows/storage/compression/py.typed +0 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/winrt_Windows.Storage.Compression.egg-info/SOURCES.txt +0 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/winrt_Windows.Storage.Compression.egg-info/dependency_links.txt +0 -0
- {winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/winrt_Windows.Storage.Compression.egg-info/top_level.txt +0 -0
{winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Storage.Compression
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Storage.Compression.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::Storage::Compression
|
|
7
6
|
{
|
|
8
7
|
// ----- Compressor class --------------------
|
|
@@ -22,7 +21,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
22
21
|
{
|
|
23
22
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IOutputStream>(args, 0);
|
|
24
23
|
|
|
25
|
-
winrt::Windows::Storage::Compression::Compressor instance{
|
|
24
|
+
winrt::Windows::Storage::Compression::Compressor instance{param0};
|
|
26
25
|
return py::wrap(instance, type);
|
|
27
26
|
}
|
|
28
27
|
catch (...)
|
|
@@ -39,7 +38,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
39
38
|
auto param1 = py::convert_to<winrt::Windows::Storage::Compression::CompressAlgorithm>(args, 1);
|
|
40
39
|
auto param2 = py::convert_to<uint32_t>(args, 2);
|
|
41
40
|
|
|
42
|
-
winrt::Windows::Storage::Compression::Compressor instance{
|
|
41
|
+
winrt::Windows::Storage::Compression::Compressor instance{param0, param1, param2};
|
|
43
42
|
return py::wrap(instance, type);
|
|
44
43
|
}
|
|
45
44
|
catch (...)
|
|
@@ -69,14 +68,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
69
68
|
|
|
70
69
|
if (arg_count == 0)
|
|
71
70
|
{
|
|
72
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"Close", 0))
|
|
73
|
-
{
|
|
74
|
-
py::set_arg_count_version_error(0);
|
|
75
|
-
return nullptr;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
71
|
try
|
|
79
72
|
{
|
|
73
|
+
static std::optional<bool> is_overload_present{};
|
|
74
|
+
|
|
75
|
+
if (!is_overload_present.has_value())
|
|
76
|
+
{
|
|
77
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"Close", 0);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (!is_overload_present.value())
|
|
81
|
+
{
|
|
82
|
+
py::set_arg_count_version_error(0);
|
|
83
|
+
return nullptr;
|
|
84
|
+
}
|
|
85
|
+
|
|
80
86
|
self->obj.Close();
|
|
81
87
|
Py_RETURN_NONE;
|
|
82
88
|
}
|
|
@@ -99,14 +105,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
99
105
|
|
|
100
106
|
if (arg_count == 0)
|
|
101
107
|
{
|
|
102
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"DetachStream", 0))
|
|
103
|
-
{
|
|
104
|
-
py::set_arg_count_version_error(0);
|
|
105
|
-
return nullptr;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
108
|
try
|
|
109
109
|
{
|
|
110
|
+
static std::optional<bool> is_overload_present{};
|
|
111
|
+
|
|
112
|
+
if (!is_overload_present.has_value())
|
|
113
|
+
{
|
|
114
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"DetachStream", 0);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if (!is_overload_present.value())
|
|
118
|
+
{
|
|
119
|
+
py::set_arg_count_version_error(0);
|
|
120
|
+
return nullptr;
|
|
121
|
+
}
|
|
122
|
+
|
|
110
123
|
return py::convert(self->obj.DetachStream());
|
|
111
124
|
}
|
|
112
125
|
catch (...)
|
|
@@ -128,14 +141,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
128
141
|
|
|
129
142
|
if (arg_count == 0)
|
|
130
143
|
{
|
|
131
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"FinishAsync", 0))
|
|
132
|
-
{
|
|
133
|
-
py::set_arg_count_version_error(0);
|
|
134
|
-
return nullptr;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
144
|
try
|
|
138
145
|
{
|
|
146
|
+
static std::optional<bool> is_overload_present{};
|
|
147
|
+
|
|
148
|
+
if (!is_overload_present.has_value())
|
|
149
|
+
{
|
|
150
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"FinishAsync", 0);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if (!is_overload_present.value())
|
|
154
|
+
{
|
|
155
|
+
py::set_arg_count_version_error(0);
|
|
156
|
+
return nullptr;
|
|
157
|
+
}
|
|
158
|
+
|
|
139
159
|
return py::convert(self->obj.FinishAsync());
|
|
140
160
|
}
|
|
141
161
|
catch (...)
|
|
@@ -157,14 +177,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
157
177
|
|
|
158
178
|
if (arg_count == 0)
|
|
159
179
|
{
|
|
160
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"FlushAsync", 0))
|
|
161
|
-
{
|
|
162
|
-
py::set_arg_count_version_error(0);
|
|
163
|
-
return nullptr;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
180
|
try
|
|
167
181
|
{
|
|
182
|
+
static std::optional<bool> is_overload_present{};
|
|
183
|
+
|
|
184
|
+
if (!is_overload_present.has_value())
|
|
185
|
+
{
|
|
186
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"FlushAsync", 0);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if (!is_overload_present.value())
|
|
190
|
+
{
|
|
191
|
+
py::set_arg_count_version_error(0);
|
|
192
|
+
return nullptr;
|
|
193
|
+
}
|
|
194
|
+
|
|
168
195
|
return py::convert(self->obj.FlushAsync());
|
|
169
196
|
}
|
|
170
197
|
catch (...)
|
|
@@ -186,14 +213,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
186
213
|
|
|
187
214
|
if (arg_count == 1)
|
|
188
215
|
{
|
|
189
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"WriteAsync", 1))
|
|
190
|
-
{
|
|
191
|
-
py::set_arg_count_version_error(1);
|
|
192
|
-
return nullptr;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
216
|
try
|
|
196
217
|
{
|
|
218
|
+
static std::optional<bool> is_overload_present{};
|
|
219
|
+
|
|
220
|
+
if (!is_overload_present.has_value())
|
|
221
|
+
{
|
|
222
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Compressor", L"WriteAsync", 1);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (!is_overload_present.value())
|
|
226
|
+
{
|
|
227
|
+
py::set_arg_count_version_error(1);
|
|
228
|
+
return nullptr;
|
|
229
|
+
}
|
|
230
|
+
|
|
197
231
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 0);
|
|
198
232
|
|
|
199
233
|
return py::convert(self->obj.WriteAsync(param0));
|
|
@@ -263,7 +297,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
263
297
|
{ "_assign_array_", _assign_array_Compressor, METH_O | METH_STATIC, nullptr },
|
|
264
298
|
{ "_from", reinterpret_cast<PyCFunction>(_from_Compressor), METH_O | METH_STATIC, nullptr },
|
|
265
299
|
{ "__enter__", reinterpret_cast<PyCFunction>(_enter_Compressor), METH_NOARGS, nullptr },
|
|
266
|
-
{ "__exit__",
|
|
300
|
+
{ "__exit__", reinterpret_cast<PyCFunction>(_exit_Compressor), METH_VARARGS, nullptr },
|
|
267
301
|
{ }
|
|
268
302
|
};
|
|
269
303
|
|
|
@@ -271,23 +305,20 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
271
305
|
{ }
|
|
272
306
|
};
|
|
273
307
|
|
|
274
|
-
static PyType_Slot _type_slots_Compressor[] =
|
|
275
|
-
{
|
|
308
|
+
static PyType_Slot _type_slots_Compressor[] = {
|
|
276
309
|
{ Py_tp_new, reinterpret_cast<void*>(_new_Compressor) },
|
|
277
310
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_Compressor) },
|
|
278
311
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_Compressor) },
|
|
279
312
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_Compressor) },
|
|
280
|
-
{ }
|
|
313
|
+
{ }
|
|
281
314
|
};
|
|
282
315
|
|
|
283
|
-
static PyType_Spec type_spec_Compressor =
|
|
284
|
-
{
|
|
316
|
+
static PyType_Spec type_spec_Compressor = {
|
|
285
317
|
"winrt._winrt_windows_storage_compression.Compressor",
|
|
286
318
|
sizeof(py::wrapper::Windows::Storage::Compression::Compressor),
|
|
287
319
|
0,
|
|
288
320
|
Py_TPFLAGS_DEFAULT,
|
|
289
|
-
_type_slots_Compressor
|
|
290
|
-
};
|
|
321
|
+
_type_slots_Compressor};
|
|
291
322
|
|
|
292
323
|
// ----- Decompressor class --------------------
|
|
293
324
|
|
|
@@ -306,7 +337,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
306
337
|
{
|
|
307
338
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IInputStream>(args, 0);
|
|
308
339
|
|
|
309
|
-
winrt::Windows::Storage::Compression::Decompressor instance{
|
|
340
|
+
winrt::Windows::Storage::Compression::Decompressor instance{param0};
|
|
310
341
|
return py::wrap(instance, type);
|
|
311
342
|
}
|
|
312
343
|
catch (...)
|
|
@@ -336,14 +367,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
336
367
|
|
|
337
368
|
if (arg_count == 0)
|
|
338
369
|
{
|
|
339
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Decompressor", L"Close", 0))
|
|
340
|
-
{
|
|
341
|
-
py::set_arg_count_version_error(0);
|
|
342
|
-
return nullptr;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
370
|
try
|
|
346
371
|
{
|
|
372
|
+
static std::optional<bool> is_overload_present{};
|
|
373
|
+
|
|
374
|
+
if (!is_overload_present.has_value())
|
|
375
|
+
{
|
|
376
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Decompressor", L"Close", 0);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (!is_overload_present.value())
|
|
380
|
+
{
|
|
381
|
+
py::set_arg_count_version_error(0);
|
|
382
|
+
return nullptr;
|
|
383
|
+
}
|
|
384
|
+
|
|
347
385
|
self->obj.Close();
|
|
348
386
|
Py_RETURN_NONE;
|
|
349
387
|
}
|
|
@@ -366,14 +404,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
366
404
|
|
|
367
405
|
if (arg_count == 0)
|
|
368
406
|
{
|
|
369
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Decompressor", L"DetachStream", 0))
|
|
370
|
-
{
|
|
371
|
-
py::set_arg_count_version_error(0);
|
|
372
|
-
return nullptr;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
407
|
try
|
|
376
408
|
{
|
|
409
|
+
static std::optional<bool> is_overload_present{};
|
|
410
|
+
|
|
411
|
+
if (!is_overload_present.has_value())
|
|
412
|
+
{
|
|
413
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Decompressor", L"DetachStream", 0);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
if (!is_overload_present.value())
|
|
417
|
+
{
|
|
418
|
+
py::set_arg_count_version_error(0);
|
|
419
|
+
return nullptr;
|
|
420
|
+
}
|
|
421
|
+
|
|
377
422
|
return py::convert(self->obj.DetachStream());
|
|
378
423
|
}
|
|
379
424
|
catch (...)
|
|
@@ -395,14 +440,21 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
395
440
|
|
|
396
441
|
if (arg_count == 3)
|
|
397
442
|
{
|
|
398
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Decompressor", L"ReadAsync", 3))
|
|
399
|
-
{
|
|
400
|
-
py::set_arg_count_version_error(3);
|
|
401
|
-
return nullptr;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
443
|
try
|
|
405
444
|
{
|
|
445
|
+
static std::optional<bool> is_overload_present{};
|
|
446
|
+
|
|
447
|
+
if (!is_overload_present.has_value())
|
|
448
|
+
{
|
|
449
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Storage.Compression.Decompressor", L"ReadAsync", 3);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if (!is_overload_present.value())
|
|
453
|
+
{
|
|
454
|
+
py::set_arg_count_version_error(3);
|
|
455
|
+
return nullptr;
|
|
456
|
+
}
|
|
457
|
+
|
|
406
458
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 0);
|
|
407
459
|
auto param1 = py::convert_to<uint32_t>(args, 1);
|
|
408
460
|
auto param2 = py::convert_to<winrt::Windows::Storage::Streams::InputStreamOptions>(args, 2);
|
|
@@ -472,7 +524,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
472
524
|
{ "_assign_array_", _assign_array_Decompressor, METH_O | METH_STATIC, nullptr },
|
|
473
525
|
{ "_from", reinterpret_cast<PyCFunction>(_from_Decompressor), METH_O | METH_STATIC, nullptr },
|
|
474
526
|
{ "__enter__", reinterpret_cast<PyCFunction>(_enter_Decompressor), METH_NOARGS, nullptr },
|
|
475
|
-
{ "__exit__",
|
|
527
|
+
{ "__exit__", reinterpret_cast<PyCFunction>(_exit_Decompressor), METH_VARARGS, nullptr },
|
|
476
528
|
{ }
|
|
477
529
|
};
|
|
478
530
|
|
|
@@ -480,39 +532,35 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
480
532
|
{ }
|
|
481
533
|
};
|
|
482
534
|
|
|
483
|
-
static PyType_Slot _type_slots_Decompressor[] =
|
|
484
|
-
{
|
|
535
|
+
static PyType_Slot _type_slots_Decompressor[] = {
|
|
485
536
|
{ Py_tp_new, reinterpret_cast<void*>(_new_Decompressor) },
|
|
486
537
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_Decompressor) },
|
|
487
538
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_Decompressor) },
|
|
488
539
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_Decompressor) },
|
|
489
|
-
{ }
|
|
540
|
+
{ }
|
|
490
541
|
};
|
|
491
542
|
|
|
492
|
-
static PyType_Spec type_spec_Decompressor =
|
|
493
|
-
{
|
|
543
|
+
static PyType_Spec type_spec_Decompressor = {
|
|
494
544
|
"winrt._winrt_windows_storage_compression.Decompressor",
|
|
495
545
|
sizeof(py::wrapper::Windows::Storage::Compression::Decompressor),
|
|
496
546
|
0,
|
|
497
547
|
Py_TPFLAGS_DEFAULT,
|
|
498
|
-
_type_slots_Decompressor
|
|
499
|
-
};
|
|
548
|
+
_type_slots_Decompressor};
|
|
500
549
|
|
|
501
550
|
// ----- Windows.Storage.Compression Initialization --------------------
|
|
502
|
-
PyDoc_STRVAR(module_doc, "Windows::Storage::Compression");
|
|
503
551
|
|
|
552
|
+
PyDoc_STRVAR(module_doc, "Windows.Storage.Compression");
|
|
504
553
|
|
|
505
|
-
static PyModuleDef module_def
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
554
|
+
static PyModuleDef module_def = {
|
|
555
|
+
PyModuleDef_HEAD_INIT,
|
|
556
|
+
"_winrt_windows_storage_compression",
|
|
557
|
+
module_doc,
|
|
558
|
+
0,
|
|
559
|
+
nullptr,
|
|
560
|
+
nullptr,
|
|
561
|
+
nullptr,
|
|
562
|
+
nullptr,
|
|
563
|
+
nullptr};
|
|
516
564
|
} // py::cpp::Windows::Storage::Compression
|
|
517
565
|
|
|
518
566
|
PyMODINIT_FUNC PyInit__winrt_windows_storage_compression(void) noexcept
|
|
@@ -544,12 +592,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_storage_compression(void) noexcept
|
|
|
544
592
|
return nullptr;
|
|
545
593
|
}
|
|
546
594
|
|
|
547
|
-
|
|
595
|
+
py::pytype_handle Compressor_type{py::register_python_type(module.get(), &type_spec_Compressor, object_bases.get(), nullptr)};
|
|
596
|
+
if (!Compressor_type)
|
|
548
597
|
{
|
|
549
598
|
return nullptr;
|
|
550
599
|
}
|
|
551
600
|
|
|
552
|
-
|
|
601
|
+
py::pytype_handle Decompressor_type{py::register_python_type(module.get(), &type_spec_Decompressor, object_bases.get(), nullptr)};
|
|
602
|
+
if (!Decompressor_type)
|
|
553
603
|
{
|
|
554
604
|
return nullptr;
|
|
555
605
|
}
|
{winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/pyproject.toml
RENAMED
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
{winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/requirements.txt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
14
|
+
|
|
15
|
+
from winrt.windows.storage.compression import CompressAlgorithm
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class Compressor(winrt.system.Object):
|
|
21
|
+
def __enter__(self: Self) -> Self: ...
|
|
22
|
+
def __exit__(self, *args) -> None: ...
|
|
23
|
+
@staticmethod
|
|
24
|
+
def _from(obj: winrt.system.Object, /) -> Compressor: ...
|
|
25
|
+
@typing.overload
|
|
26
|
+
def __new__(cls: typing.Type[Compressor], underlying_stream: typing.Optional[windows_storage_streams.IOutputStream]) -> Compressor: ...
|
|
27
|
+
@typing.overload
|
|
28
|
+
def __new__(cls: typing.Type[Compressor], underlying_stream: typing.Optional[windows_storage_streams.IOutputStream], algorithm: CompressAlgorithm, block_size: winrt.system.UInt32) -> Compressor: ...
|
|
29
|
+
def close(self) -> None: ...
|
|
30
|
+
def detach_stream(self) -> typing.Optional[windows_storage_streams.IOutputStream]: ...
|
|
31
|
+
def finish_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
32
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
33
|
+
def write_async(self, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
34
|
+
|
|
35
|
+
@typing.final
|
|
36
|
+
class Decompressor(winrt.system.Object):
|
|
37
|
+
def __enter__(self: Self) -> Self: ...
|
|
38
|
+
def __exit__(self, *args) -> None: ...
|
|
39
|
+
@staticmethod
|
|
40
|
+
def _from(obj: winrt.system.Object, /) -> Decompressor: ...
|
|
41
|
+
def __new__(cls: typing.Type[Decompressor], underlying_stream: typing.Optional[windows_storage_streams.IInputStream]) -> Decompressor: ...
|
|
42
|
+
def close(self) -> None: ...
|
|
43
|
+
def detach_stream(self) -> typing.Optional[windows_storage_streams.IInputStream]: ...
|
|
44
|
+
def read_async(self, buffer: typing.Optional[windows_storage_streams.IBuffer], count: winrt.system.UInt32, options: windows_storage_streams.InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IBuffer, winrt.system.UInt32]: ...
|
|
45
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Storage.Compression
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
|
-
|
|
3
|
-
import datetime
|
|
4
|
-
import sys
|
|
5
|
-
import types
|
|
6
|
-
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
|
-
from builtins import property as _property
|
|
9
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
import winrt.windows.foundation
|
|
13
|
-
import winrt.windows.storage.streams
|
|
14
|
-
|
|
15
|
-
from winrt.windows.storage.compression import CompressAlgorithm
|
|
16
|
-
|
|
17
|
-
Self = typing.TypeVar('Self')
|
|
18
|
-
|
|
19
|
-
@typing.final
|
|
20
|
-
class Compressor(winrt.system.Object):
|
|
21
|
-
def __enter__(self: Self) -> Self: ...
|
|
22
|
-
def __exit__(self, *args) -> None: ...
|
|
23
|
-
@staticmethod
|
|
24
|
-
def _from(obj: winrt.system.Object, /) -> Compressor: ...
|
|
25
|
-
@typing.overload
|
|
26
|
-
def __new__(cls: typing.Type[Compressor], underlying_stream: typing.Optional[winrt.windows.storage.streams.IOutputStream]) -> Compressor:...
|
|
27
|
-
@typing.overload
|
|
28
|
-
def __new__(cls: typing.Type[Compressor], underlying_stream: typing.Optional[winrt.windows.storage.streams.IOutputStream], algorithm: CompressAlgorithm, block_size: winrt.system.UInt32) -> Compressor:...
|
|
29
|
-
def close(self) -> None: ...
|
|
30
|
-
def detach_stream(self) -> typing.Optional[winrt.windows.storage.streams.IOutputStream]: ...
|
|
31
|
-
def finish_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
32
|
-
def flush_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
33
|
-
def write_async(self, buffer: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> winrt.windows.foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
34
|
-
|
|
35
|
-
@typing.final
|
|
36
|
-
class Decompressor(winrt.system.Object):
|
|
37
|
-
def __enter__(self: Self) -> Self: ...
|
|
38
|
-
def __exit__(self, *args) -> None: ...
|
|
39
|
-
@staticmethod
|
|
40
|
-
def _from(obj: winrt.system.Object, /) -> Decompressor: ...
|
|
41
|
-
def __new__(cls: typing.Type[Decompressor], underlying_stream: typing.Optional[winrt.windows.storage.streams.IInputStream]) -> Decompressor:...
|
|
42
|
-
def close(self) -> None: ...
|
|
43
|
-
def detach_stream(self) -> typing.Optional[winrt.windows.storage.streams.IInputStream]: ...
|
|
44
|
-
def read_async(self, buffer: typing.Optional[winrt.windows.storage.streams.IBuffer], count: winrt.system.UInt32, options: winrt.windows.storage.streams.InputStreamOptions, /) -> winrt.windows.foundation.IAsyncOperationWithProgress[winrt.windows.storage.streams.IBuffer, winrt.system.UInt32]: ...
|
|
45
|
-
|
{winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/setup.cfg
RENAMED
|
File without changes
|
{winrt_windows_storage_compression-2.0.1 → winrt_windows_storage_compression-2.2.0}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|