winrt-Windows.Storage.Compression 2.3.0__tar.gz → 3.1.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.3.0 → winrt_windows_storage_compression-3.1.0}/PKG-INFO +7 -7
- winrt_windows_storage_compression-3.1.0/all-requirements.txt +4 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/py.Windows.Storage.Compression.cpp +77 -37
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/pyproject.toml +4 -4
- winrt_windows_storage_compression-3.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/requirements.txt +2 -2
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/setup.py +1 -1
- winrt_windows_storage_compression-3.1.0/winrt/_winrt_windows_storage_compression.pyi +49 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/winrt/windows/storage/compression/__init__.py +5 -4
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/winrt_Windows.Storage.Compression.egg-info/PKG-INFO +7 -7
- winrt_windows_storage_compression-3.1.0/winrt_Windows.Storage.Compression.egg-info/requires.txt +5 -0
- winrt_windows_storage_compression-2.3.0/all-requirements.txt +0 -4
- winrt_windows_storage_compression-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_storage_compression-2.3.0/winrt/_winrt_windows_storage_compression.pyi +0 -45
- winrt_windows_storage_compression-2.3.0/winrt_Windows.Storage.Compression.egg-info/requires.txt +0 -5
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/README.md +0 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/setup.cfg +0 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/winrt/windows/storage/compression/py.typed +0 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/winrt_Windows.Storage.Compression.egg-info/SOURCES.txt +0 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/winrt_Windows.Storage.Compression.egg-info/dependency_links.txt +0 -0
- {winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/winrt_Windows.Storage.Compression.egg-info/top_level.txt +0 -0
{winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/PKG-INFO
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.Storage.Compression
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Storage.Compression.h"
|
|
4
4
|
|
|
@@ -8,13 +8,13 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
8
8
|
|
|
9
9
|
static PyObject* _new_Compressor(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
10
10
|
{
|
|
11
|
-
if (kwds
|
|
11
|
+
if (kwds)
|
|
12
12
|
{
|
|
13
13
|
py::set_invalid_kwd_args_error();
|
|
14
14
|
return nullptr;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
auto arg_count =
|
|
17
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
18
18
|
if (arg_count == 1)
|
|
19
19
|
{
|
|
20
20
|
try
|
|
@@ -64,7 +64,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
64
64
|
|
|
65
65
|
static PyObject* Compressor_Close(py::wrapper::Windows::Storage::Compression::Compressor* self, PyObject* args) noexcept
|
|
66
66
|
{
|
|
67
|
-
auto arg_count =
|
|
67
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
68
68
|
|
|
69
69
|
if (arg_count == 0)
|
|
70
70
|
{
|
|
@@ -83,7 +83,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
83
83
|
return nullptr;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
{
|
|
87
|
+
auto _gil = release_gil();
|
|
88
|
+
self->obj.Close();
|
|
89
|
+
}
|
|
90
|
+
|
|
87
91
|
Py_RETURN_NONE;
|
|
88
92
|
}
|
|
89
93
|
catch (...)
|
|
@@ -101,7 +105,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
101
105
|
|
|
102
106
|
static PyObject* Compressor_DetachStream(py::wrapper::Windows::Storage::Compression::Compressor* self, PyObject* args) noexcept
|
|
103
107
|
{
|
|
104
|
-
auto arg_count =
|
|
108
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
105
109
|
|
|
106
110
|
if (arg_count == 0)
|
|
107
111
|
{
|
|
@@ -120,7 +124,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
120
124
|
return nullptr;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
|
-
return py::convert(
|
|
127
|
+
return py::convert([&]()
|
|
128
|
+
{
|
|
129
|
+
auto _gil = release_gil();
|
|
130
|
+
return self->obj.DetachStream();
|
|
131
|
+
}());
|
|
124
132
|
}
|
|
125
133
|
catch (...)
|
|
126
134
|
{
|
|
@@ -137,7 +145,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
137
145
|
|
|
138
146
|
static PyObject* Compressor_FinishAsync(py::wrapper::Windows::Storage::Compression::Compressor* self, PyObject* args) noexcept
|
|
139
147
|
{
|
|
140
|
-
auto arg_count =
|
|
148
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
141
149
|
|
|
142
150
|
if (arg_count == 0)
|
|
143
151
|
{
|
|
@@ -156,7 +164,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
156
164
|
return nullptr;
|
|
157
165
|
}
|
|
158
166
|
|
|
159
|
-
return py::convert(
|
|
167
|
+
return py::convert([&]()
|
|
168
|
+
{
|
|
169
|
+
auto _gil = release_gil();
|
|
170
|
+
return self->obj.FinishAsync();
|
|
171
|
+
}());
|
|
160
172
|
}
|
|
161
173
|
catch (...)
|
|
162
174
|
{
|
|
@@ -173,7 +185,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
173
185
|
|
|
174
186
|
static PyObject* Compressor_FlushAsync(py::wrapper::Windows::Storage::Compression::Compressor* self, PyObject* args) noexcept
|
|
175
187
|
{
|
|
176
|
-
auto arg_count =
|
|
188
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
177
189
|
|
|
178
190
|
if (arg_count == 0)
|
|
179
191
|
{
|
|
@@ -192,7 +204,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
192
204
|
return nullptr;
|
|
193
205
|
}
|
|
194
206
|
|
|
195
|
-
return py::convert(
|
|
207
|
+
return py::convert([&]()
|
|
208
|
+
{
|
|
209
|
+
auto _gil = release_gil();
|
|
210
|
+
return self->obj.FlushAsync();
|
|
211
|
+
}());
|
|
196
212
|
}
|
|
197
213
|
catch (...)
|
|
198
214
|
{
|
|
@@ -209,7 +225,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
209
225
|
|
|
210
226
|
static PyObject* Compressor_WriteAsync(py::wrapper::Windows::Storage::Compression::Compressor* self, PyObject* args) noexcept
|
|
211
227
|
{
|
|
212
|
-
auto arg_count =
|
|
228
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
213
229
|
|
|
214
230
|
if (arg_count == 1)
|
|
215
231
|
{
|
|
@@ -230,7 +246,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
230
246
|
|
|
231
247
|
auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IBuffer>(args, 0);
|
|
232
248
|
|
|
233
|
-
return py::convert(
|
|
249
|
+
return py::convert([&]()
|
|
250
|
+
{
|
|
251
|
+
auto _gil = release_gil();
|
|
252
|
+
return self->obj.WriteAsync(param0);
|
|
253
|
+
}());
|
|
234
254
|
}
|
|
235
255
|
catch (...)
|
|
236
256
|
{
|
|
@@ -278,7 +298,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
278
298
|
{
|
|
279
299
|
try
|
|
280
300
|
{
|
|
281
|
-
|
|
301
|
+
{
|
|
302
|
+
auto _gil = py::release_gil();
|
|
303
|
+
self->obj.Close();
|
|
304
|
+
}
|
|
305
|
+
|
|
282
306
|
Py_RETURN_FALSE;
|
|
283
307
|
}
|
|
284
308
|
catch (...)
|
|
@@ -298,20 +322,17 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
298
322
|
{ "_from", reinterpret_cast<PyCFunction>(_from_Compressor), METH_O | METH_STATIC, nullptr },
|
|
299
323
|
{ "__enter__", reinterpret_cast<PyCFunction>(_enter_Compressor), METH_NOARGS, nullptr },
|
|
300
324
|
{ "__exit__", reinterpret_cast<PyCFunction>(_exit_Compressor), METH_VARARGS, nullptr },
|
|
301
|
-
{ }
|
|
302
|
-
};
|
|
325
|
+
{ }};
|
|
303
326
|
|
|
304
327
|
static PyGetSetDef _getset_Compressor[] = {
|
|
305
|
-
{ }
|
|
306
|
-
};
|
|
328
|
+
{ }};
|
|
307
329
|
|
|
308
330
|
static PyType_Slot _type_slots_Compressor[] = {
|
|
309
331
|
{ Py_tp_new, reinterpret_cast<void*>(_new_Compressor) },
|
|
310
332
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_Compressor) },
|
|
311
333
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_Compressor) },
|
|
312
334
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_Compressor) },
|
|
313
|
-
{ }
|
|
314
|
-
};
|
|
335
|
+
{ }};
|
|
315
336
|
|
|
316
337
|
static PyType_Spec type_spec_Compressor = {
|
|
317
338
|
"winrt._winrt_windows_storage_compression.Compressor",
|
|
@@ -324,13 +345,13 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
324
345
|
|
|
325
346
|
static PyObject* _new_Decompressor(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
326
347
|
{
|
|
327
|
-
if (kwds
|
|
348
|
+
if (kwds)
|
|
328
349
|
{
|
|
329
350
|
py::set_invalid_kwd_args_error();
|
|
330
351
|
return nullptr;
|
|
331
352
|
}
|
|
332
353
|
|
|
333
|
-
auto arg_count =
|
|
354
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
334
355
|
if (arg_count == 1)
|
|
335
356
|
{
|
|
336
357
|
try
|
|
@@ -363,7 +384,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
363
384
|
|
|
364
385
|
static PyObject* Decompressor_Close(py::wrapper::Windows::Storage::Compression::Decompressor* self, PyObject* args) noexcept
|
|
365
386
|
{
|
|
366
|
-
auto arg_count =
|
|
387
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
367
388
|
|
|
368
389
|
if (arg_count == 0)
|
|
369
390
|
{
|
|
@@ -382,7 +403,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
382
403
|
return nullptr;
|
|
383
404
|
}
|
|
384
405
|
|
|
385
|
-
|
|
406
|
+
{
|
|
407
|
+
auto _gil = release_gil();
|
|
408
|
+
self->obj.Close();
|
|
409
|
+
}
|
|
410
|
+
|
|
386
411
|
Py_RETURN_NONE;
|
|
387
412
|
}
|
|
388
413
|
catch (...)
|
|
@@ -400,7 +425,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
400
425
|
|
|
401
426
|
static PyObject* Decompressor_DetachStream(py::wrapper::Windows::Storage::Compression::Decompressor* self, PyObject* args) noexcept
|
|
402
427
|
{
|
|
403
|
-
auto arg_count =
|
|
428
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
404
429
|
|
|
405
430
|
if (arg_count == 0)
|
|
406
431
|
{
|
|
@@ -419,7 +444,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
419
444
|
return nullptr;
|
|
420
445
|
}
|
|
421
446
|
|
|
422
|
-
return py::convert(
|
|
447
|
+
return py::convert([&]()
|
|
448
|
+
{
|
|
449
|
+
auto _gil = release_gil();
|
|
450
|
+
return self->obj.DetachStream();
|
|
451
|
+
}());
|
|
423
452
|
}
|
|
424
453
|
catch (...)
|
|
425
454
|
{
|
|
@@ -436,7 +465,7 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
436
465
|
|
|
437
466
|
static PyObject* Decompressor_ReadAsync(py::wrapper::Windows::Storage::Compression::Decompressor* self, PyObject* args) noexcept
|
|
438
467
|
{
|
|
439
|
-
auto arg_count =
|
|
468
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
440
469
|
|
|
441
470
|
if (arg_count == 3)
|
|
442
471
|
{
|
|
@@ -459,7 +488,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
459
488
|
auto param1 = py::convert_to<uint32_t>(args, 1);
|
|
460
489
|
auto param2 = py::convert_to<winrt::Windows::Storage::Streams::InputStreamOptions>(args, 2);
|
|
461
490
|
|
|
462
|
-
return py::convert(
|
|
491
|
+
return py::convert([&]()
|
|
492
|
+
{
|
|
493
|
+
auto _gil = release_gil();
|
|
494
|
+
return self->obj.ReadAsync(param0, param1, param2);
|
|
495
|
+
}());
|
|
463
496
|
}
|
|
464
497
|
catch (...)
|
|
465
498
|
{
|
|
@@ -507,7 +540,11 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
507
540
|
{
|
|
508
541
|
try
|
|
509
542
|
{
|
|
510
|
-
|
|
543
|
+
{
|
|
544
|
+
auto _gil = py::release_gil();
|
|
545
|
+
self->obj.Close();
|
|
546
|
+
}
|
|
547
|
+
|
|
511
548
|
Py_RETURN_FALSE;
|
|
512
549
|
}
|
|
513
550
|
catch (...)
|
|
@@ -525,20 +562,17 @@ namespace py::cpp::Windows::Storage::Compression
|
|
|
525
562
|
{ "_from", reinterpret_cast<PyCFunction>(_from_Decompressor), METH_O | METH_STATIC, nullptr },
|
|
526
563
|
{ "__enter__", reinterpret_cast<PyCFunction>(_enter_Decompressor), METH_NOARGS, nullptr },
|
|
527
564
|
{ "__exit__", reinterpret_cast<PyCFunction>(_exit_Decompressor), METH_VARARGS, nullptr },
|
|
528
|
-
{ }
|
|
529
|
-
};
|
|
565
|
+
{ }};
|
|
530
566
|
|
|
531
567
|
static PyGetSetDef _getset_Decompressor[] = {
|
|
532
|
-
{ }
|
|
533
|
-
};
|
|
568
|
+
{ }};
|
|
534
569
|
|
|
535
570
|
static PyType_Slot _type_slots_Decompressor[] = {
|
|
536
571
|
{ Py_tp_new, reinterpret_cast<void*>(_new_Decompressor) },
|
|
537
572
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_Decompressor) },
|
|
538
573
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_Decompressor) },
|
|
539
574
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_Decompressor) },
|
|
540
|
-
{ }
|
|
541
|
-
};
|
|
575
|
+
{ }};
|
|
542
576
|
|
|
543
577
|
static PyType_Spec type_spec_Decompressor = {
|
|
544
578
|
"winrt._winrt_windows_storage_compression.Decompressor",
|
|
@@ -579,6 +613,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_storage_compression(void) noexcept
|
|
|
579
613
|
return nullptr;
|
|
580
614
|
}
|
|
581
615
|
|
|
616
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
617
|
+
if (!inspectable_meta_type)
|
|
618
|
+
{
|
|
619
|
+
return nullptr;
|
|
620
|
+
}
|
|
621
|
+
|
|
582
622
|
auto object_type = py::get_object_type();
|
|
583
623
|
if (!object_type)
|
|
584
624
|
{
|
|
@@ -592,13 +632,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_storage_compression(void) noexcept
|
|
|
592
632
|
return nullptr;
|
|
593
633
|
}
|
|
594
634
|
|
|
595
|
-
py::pytype_handle Compressor_type{py::register_python_type(module.get(), &type_spec_Compressor, object_bases.get(),
|
|
635
|
+
py::pytype_handle Compressor_type{py::register_python_type(module.get(), &type_spec_Compressor, object_bases.get(), inspectable_meta_type)};
|
|
596
636
|
if (!Compressor_type)
|
|
597
637
|
{
|
|
598
638
|
return nullptr;
|
|
599
639
|
}
|
|
600
640
|
|
|
601
|
-
py::pytype_handle Decompressor_type{py::register_python_type(module.get(), &type_spec_Decompressor, object_bases.get(),
|
|
641
|
+
py::pytype_handle Decompressor_type{py::register_python_type(module.get(), &type_spec_Decompressor, object_bases.get(), inspectable_meta_type)};
|
|
602
642
|
if (!Decompressor_type)
|
|
603
643
|
{
|
|
604
644
|
return nullptr;
|
{winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/pyproject.toml
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.Storage.Compression"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.1.0
|
{winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/requirements.txt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.1.0
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.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, windows_storage_streams.IOutputStream, windows_foundation.IClosable):
|
|
21
|
+
def __enter__(self: Self) -> Self: ...
|
|
22
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
23
|
+
@typing.overload
|
|
24
|
+
def __new__(cls: typing.Type[Self], underlying_stream: windows_storage_streams.IOutputStream) -> Self: ...
|
|
25
|
+
@typing.overload
|
|
26
|
+
def __new__(cls: typing.Type[Self], underlying_stream: windows_storage_streams.IOutputStream, algorithm: CompressAlgorithm, block_size: winrt.system.UInt32) -> Self: ...
|
|
27
|
+
# System.Void Windows.Storage.Compression.Compressor::Close()
|
|
28
|
+
def close(self) -> None: ...
|
|
29
|
+
# Windows.Storage.Streams.IOutputStream Windows.Storage.Compression.Compressor::DetachStream()
|
|
30
|
+
def detach_stream(self) -> windows_storage_streams.IOutputStream: ...
|
|
31
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Compression.Compressor::FinishAsync()
|
|
32
|
+
def finish_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
33
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.Compression.Compressor::FlushAsync()
|
|
34
|
+
def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
35
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.Compression.Compressor::WriteAsync(Windows.Storage.Streams.IBuffer)
|
|
36
|
+
def write_async(self, buffer: windows_storage_streams.IBuffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class Decompressor(winrt.system.Object, windows_storage_streams.IInputStream, windows_foundation.IClosable):
|
|
40
|
+
def __enter__(self: Self) -> Self: ...
|
|
41
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
42
|
+
def __new__(cls: typing.Type[Self], underlying_stream: windows_storage_streams.IInputStream) -> Self: ...
|
|
43
|
+
# System.Void Windows.Storage.Compression.Decompressor::Close()
|
|
44
|
+
def close(self) -> None: ...
|
|
45
|
+
# Windows.Storage.Streams.IInputStream Windows.Storage.Compression.Decompressor::DetachStream()
|
|
46
|
+
def detach_stream(self) -> windows_storage_streams.IInputStream: ...
|
|
47
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.Compression.Decompressor::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
|
|
48
|
+
def read_async(self, buffer: windows_storage_streams.IBuffer, count: winrt.system.UInt32, options: windows_storage_streams.InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IBuffer, winrt.system.UInt32]: ...
|
|
49
|
+
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
5
5
|
import winrt.system
|
|
6
|
-
from winrt import
|
|
6
|
+
from winrt._winrt_windows_storage_compression import (
|
|
7
|
+
Compressor,
|
|
8
|
+
Decompressor,
|
|
9
|
+
)
|
|
7
10
|
|
|
8
11
|
__all__ = [
|
|
9
12
|
"CompressAlgorithm",
|
|
@@ -19,5 +22,3 @@ class CompressAlgorithm(enum.IntEnum):
|
|
|
19
22
|
XPRESS_HUFF = 4
|
|
20
23
|
LZMS = 5
|
|
21
24
|
|
|
22
|
-
Compressor = _winrt_windows_storage_compression.Compressor
|
|
23
|
-
Decompressor = _winrt_windows_storage_compression.Decompressor
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.Storage.Compression
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.1.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.3.0
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.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
|
-
|
{winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_storage_compression-2.3.0 → winrt_windows_storage_compression-3.1.0}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|