winrt-Windows.Storage.Streams 2.0.0b1__tar.gz → 2.0.1__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.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/PKG-INFO +8 -2
- winrt_windows_storage_streams-2.0.1/all-requirements.txt +6 -0
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/py.Windows.Storage.Streams.cpp +1 -1
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/pyproject.toml +7 -4
- winrt_windows_storage_streams-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/requirements.txt +2 -2
- winrt_windows_storage_streams-2.0.1/setup.py +31 -0
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/winrt/_winrt_windows_storage_streams.pyi +31 -1
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/winrt/windows/storage/streams/__init__.py +1 -1
- winrt_windows_storage_streams-2.0.1/winrt/windows/storage/streams/py.typed +0 -0
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/winrt_Windows.Storage.Streams.egg-info/PKG-INFO +8 -2
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/winrt_Windows.Storage.Streams.egg-info/SOURCES.txt +1 -0
- winrt_windows_storage_streams-2.0.1/winrt_Windows.Storage.Streams.egg-info/requires.txt +7 -0
- winrt-Windows.Storage.Streams-2.0.0b1/all-requirements.txt +0 -6
- winrt-Windows.Storage.Streams-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.Storage.Streams-2.0.0b1/setup.py +0 -17
- winrt-Windows.Storage.Streams-2.0.0b1/winrt_Windows.Storage.Streams.egg-info/requires.txt +0 -7
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/README.md +0 -0
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/winrt_Windows.Storage.Streams.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/winrt_Windows.Storage.Streams.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Storage.Streams
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
15
21
|
|
|
16
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
23
|
|
{winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/pyproject.toml
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
{winrt-Windows.Storage.Streams-2.0.0b1 → winrt_windows_storage_streams-2.0.1}/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.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_storage_streams",
|
|
26
|
+
sources=["py.Windows.Storage.Streams.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
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.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -18,10 +18,12 @@ from winrt.windows.storage.streams import ByteOrder, FileOpenDisposition, InputS
|
|
|
18
18
|
|
|
19
19
|
Self = typing.TypeVar('Self')
|
|
20
20
|
|
|
21
|
+
@typing.final
|
|
21
22
|
class Buffer_Static(type):
|
|
22
23
|
def create_copy_from_memory_buffer(cls, input: typing.Optional[winrt.windows.foundation.IMemoryBuffer], /) -> typing.Optional[Buffer]: ...
|
|
23
24
|
def create_memory_buffer_over_i_buffer(cls, input: typing.Optional[IBuffer], /) -> typing.Optional[winrt.windows.foundation.MemoryBuffer]: ...
|
|
24
25
|
|
|
26
|
+
@typing.final
|
|
25
27
|
class Buffer(winrt.system.Object, metaclass=Buffer_Static):
|
|
26
28
|
def __buffer__(self, flags: int) -> memoryview: ...
|
|
27
29
|
def __release_buffer__(self, view: memoryview) -> None: ...
|
|
@@ -35,9 +37,11 @@ class Buffer(winrt.system.Object, metaclass=Buffer_Static):
|
|
|
35
37
|
@_property
|
|
36
38
|
def capacity(self) -> winrt.system.UInt32: ...
|
|
37
39
|
|
|
40
|
+
@typing.final
|
|
38
41
|
class DataReader_Static(type):
|
|
39
42
|
def from_buffer(cls, buffer: typing.Optional[IBuffer], /) -> typing.Optional[DataReader]: ...
|
|
40
43
|
|
|
44
|
+
@typing.final
|
|
41
45
|
class DataReader(winrt.system.Object, metaclass=DataReader_Static):
|
|
42
46
|
def __enter__(self: Self) -> Self: ...
|
|
43
47
|
def __exit__(self, *args) -> None: ...
|
|
@@ -79,6 +83,7 @@ class DataReader(winrt.system.Object, metaclass=DataReader_Static):
|
|
|
79
83
|
@_property
|
|
80
84
|
def unconsumed_buffer_length(self) -> winrt.system.UInt32: ...
|
|
81
85
|
|
|
86
|
+
@typing.final
|
|
82
87
|
class DataReaderLoadOperation(winrt.system.Object):
|
|
83
88
|
def __await__(self) -> typing.Generator[typing.Any, None, winrt.system.UInt32]: ...
|
|
84
89
|
@staticmethod
|
|
@@ -97,6 +102,7 @@ class DataReaderLoadOperation(winrt.system.Object):
|
|
|
97
102
|
@completed.setter
|
|
98
103
|
def completed(self, value: typing.Optional[winrt.windows.foundation.AsyncOperationCompletedHandler[winrt.system.UInt32]]) -> None: ...
|
|
99
104
|
|
|
105
|
+
@typing.final
|
|
100
106
|
class DataWriter(winrt.system.Object):
|
|
101
107
|
def __enter__(self: Self) -> Self: ...
|
|
102
108
|
def __exit__(self, *args) -> None: ...
|
|
@@ -142,6 +148,7 @@ class DataWriter(winrt.system.Object):
|
|
|
142
148
|
@_property
|
|
143
149
|
def unstored_buffer_length(self) -> winrt.system.UInt32: ...
|
|
144
150
|
|
|
151
|
+
@typing.final
|
|
145
152
|
class DataWriterStoreOperation(winrt.system.Object):
|
|
146
153
|
def __await__(self) -> typing.Generator[typing.Any, None, winrt.system.UInt32]: ...
|
|
147
154
|
@staticmethod
|
|
@@ -160,6 +167,7 @@ class DataWriterStoreOperation(winrt.system.Object):
|
|
|
160
167
|
@completed.setter
|
|
161
168
|
def completed(self, value: typing.Optional[winrt.windows.foundation.AsyncOperationCompletedHandler[winrt.system.UInt32]]) -> None: ...
|
|
162
169
|
|
|
170
|
+
@typing.final
|
|
163
171
|
class FileInputStream(winrt.system.Object):
|
|
164
172
|
def __enter__(self: Self) -> Self: ...
|
|
165
173
|
def __exit__(self, *args) -> None: ...
|
|
@@ -168,6 +176,7 @@ class FileInputStream(winrt.system.Object):
|
|
|
168
176
|
def close(self) -> None: ...
|
|
169
177
|
def read_async(self, buffer: typing.Optional[IBuffer], count: winrt.system.UInt32, options: InputStreamOptions, /) -> winrt.windows.foundation.IAsyncOperationWithProgress[IBuffer, winrt.system.UInt32]: ...
|
|
170
178
|
|
|
179
|
+
@typing.final
|
|
171
180
|
class FileOutputStream(winrt.system.Object):
|
|
172
181
|
def __enter__(self: Self) -> Self: ...
|
|
173
182
|
def __exit__(self, *args) -> None: ...
|
|
@@ -177,6 +186,7 @@ class FileOutputStream(winrt.system.Object):
|
|
|
177
186
|
def flush_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
178
187
|
def write_async(self, buffer: typing.Optional[IBuffer], /) -> winrt.windows.foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
179
188
|
|
|
189
|
+
@typing.final
|
|
180
190
|
class FileRandomAccessStream_Static(type):
|
|
181
191
|
@typing.overload
|
|
182
192
|
def open_async(cls, file_path: str, access_mode: winrt.windows.storage.FileAccessMode, /) -> winrt.windows.foundation.IAsyncOperation[IRandomAccessStream]: ...
|
|
@@ -195,6 +205,7 @@ class FileRandomAccessStream_Static(type):
|
|
|
195
205
|
@typing.overload
|
|
196
206
|
def open_transacted_write_for_user_async(cls, user: typing.Optional[winrt.windows.system.User], file_path: str, open_options: winrt.windows.storage.StorageOpenOptions, open_disposition: FileOpenDisposition, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.StorageStreamTransaction]: ...
|
|
197
207
|
|
|
208
|
+
@typing.final
|
|
198
209
|
class FileRandomAccessStream(winrt.system.Object, metaclass=FileRandomAccessStream_Static):
|
|
199
210
|
def __enter__(self: Self) -> Self: ...
|
|
200
211
|
def __exit__(self, *args) -> None: ...
|
|
@@ -219,6 +230,7 @@ class FileRandomAccessStream(winrt.system.Object, metaclass=FileRandomAccessStre
|
|
|
219
230
|
@_property
|
|
220
231
|
def position(self) -> winrt.system.UInt64: ...
|
|
221
232
|
|
|
233
|
+
@typing.final
|
|
222
234
|
class InMemoryRandomAccessStream(winrt.system.Object):
|
|
223
235
|
def __enter__(self: Self) -> Self: ...
|
|
224
236
|
def __exit__(self, *args) -> None: ...
|
|
@@ -244,6 +256,7 @@ class InMemoryRandomAccessStream(winrt.system.Object):
|
|
|
244
256
|
@_property
|
|
245
257
|
def position(self) -> winrt.system.UInt64: ...
|
|
246
258
|
|
|
259
|
+
@typing.final
|
|
247
260
|
class InputStreamOverStream(winrt.system.Object):
|
|
248
261
|
def __enter__(self: Self) -> Self: ...
|
|
249
262
|
def __exit__(self, *args) -> None: ...
|
|
@@ -252,6 +265,7 @@ class InputStreamOverStream(winrt.system.Object):
|
|
|
252
265
|
def close(self) -> None: ...
|
|
253
266
|
def read_async(self, buffer: typing.Optional[IBuffer], count: winrt.system.UInt32, options: InputStreamOptions, /) -> winrt.windows.foundation.IAsyncOperationWithProgress[IBuffer, winrt.system.UInt32]: ...
|
|
254
267
|
|
|
268
|
+
@typing.final
|
|
255
269
|
class OutputStreamOverStream(winrt.system.Object):
|
|
256
270
|
def __enter__(self: Self) -> Self: ...
|
|
257
271
|
def __exit__(self, *args) -> None: ...
|
|
@@ -261,6 +275,7 @@ class OutputStreamOverStream(winrt.system.Object):
|
|
|
261
275
|
def flush_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
262
276
|
def write_async(self, buffer: typing.Optional[IBuffer], /) -> winrt.windows.foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
263
277
|
|
|
278
|
+
@typing.final
|
|
264
279
|
class RandomAccessStream_Static(type):
|
|
265
280
|
def copy_and_close_async(cls, source: typing.Optional[IInputStream], destination: typing.Optional[IOutputStream], /) -> winrt.windows.foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
266
281
|
@typing.overload
|
|
@@ -268,10 +283,12 @@ class RandomAccessStream_Static(type):
|
|
|
268
283
|
@typing.overload
|
|
269
284
|
def copy_async(cls, source: typing.Optional[IInputStream], destination: typing.Optional[IOutputStream], bytes_to_copy: winrt.system.UInt64, /) -> winrt.windows.foundation.IAsyncOperationWithProgress[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
270
285
|
|
|
286
|
+
@typing.final
|
|
271
287
|
class RandomAccessStream(winrt.system.Object, metaclass=RandomAccessStream_Static):
|
|
272
288
|
@staticmethod
|
|
273
289
|
def _from(obj: winrt.system.Object, /) -> RandomAccessStream: ...
|
|
274
290
|
|
|
291
|
+
@typing.final
|
|
275
292
|
class RandomAccessStreamOverStream(winrt.system.Object):
|
|
276
293
|
def __enter__(self: Self) -> Self: ...
|
|
277
294
|
def __exit__(self, *args) -> None: ...
|
|
@@ -296,16 +313,19 @@ class RandomAccessStreamOverStream(winrt.system.Object):
|
|
|
296
313
|
@_property
|
|
297
314
|
def position(self) -> winrt.system.UInt64: ...
|
|
298
315
|
|
|
316
|
+
@typing.final
|
|
299
317
|
class RandomAccessStreamReference_Static(type):
|
|
300
318
|
def create_from_file(cls, file: typing.Optional[winrt.windows.storage.IStorageFile], /) -> typing.Optional[RandomAccessStreamReference]: ...
|
|
301
319
|
def create_from_stream(cls, stream: typing.Optional[IRandomAccessStream], /) -> typing.Optional[RandomAccessStreamReference]: ...
|
|
302
320
|
def create_from_uri(cls, uri: typing.Optional[winrt.windows.foundation.Uri], /) -> typing.Optional[RandomAccessStreamReference]: ...
|
|
303
321
|
|
|
322
|
+
@typing.final
|
|
304
323
|
class RandomAccessStreamReference(winrt.system.Object, metaclass=RandomAccessStreamReference_Static):
|
|
305
324
|
@staticmethod
|
|
306
325
|
def _from(obj: winrt.system.Object, /) -> RandomAccessStreamReference: ...
|
|
307
326
|
def open_read_async(self) -> winrt.windows.foundation.IAsyncOperation[IRandomAccessStreamWithContentType]: ...
|
|
308
327
|
|
|
328
|
+
@typing.final
|
|
309
329
|
class IBuffer(winrt.system.Object):
|
|
310
330
|
def __buffer__(self, flags: int) -> memoryview: ...
|
|
311
331
|
def __release_buffer__(self, view: memoryview) -> None: ...
|
|
@@ -318,12 +338,14 @@ class IBuffer(winrt.system.Object):
|
|
|
318
338
|
@length.setter
|
|
319
339
|
def length(self, value: winrt.system.UInt32) -> None: ...
|
|
320
340
|
|
|
341
|
+
@typing.final
|
|
321
342
|
class IContentTypeProvider(winrt.system.Object):
|
|
322
343
|
@staticmethod
|
|
323
344
|
def _from(obj: winrt.system.Object, /) -> IContentTypeProvider: ...
|
|
324
345
|
@_property
|
|
325
346
|
def content_type(self) -> str: ...
|
|
326
347
|
|
|
348
|
+
@typing.final
|
|
327
349
|
class IDataReader(winrt.system.Object):
|
|
328
350
|
@staticmethod
|
|
329
351
|
def _from(obj: winrt.system.Object, /) -> IDataReader: ...
|
|
@@ -361,6 +383,7 @@ class IDataReader(winrt.system.Object):
|
|
|
361
383
|
@unicode_encoding.setter
|
|
362
384
|
def unicode_encoding(self, value: UnicodeEncoding) -> None: ...
|
|
363
385
|
|
|
386
|
+
@typing.final
|
|
364
387
|
class IDataWriter(winrt.system.Object):
|
|
365
388
|
@staticmethod
|
|
366
389
|
def _from(obj: winrt.system.Object, /) -> IDataWriter: ...
|
|
@@ -399,6 +422,7 @@ class IDataWriter(winrt.system.Object):
|
|
|
399
422
|
@_property
|
|
400
423
|
def unstored_buffer_length(self) -> winrt.system.UInt32: ...
|
|
401
424
|
|
|
425
|
+
@typing.final
|
|
402
426
|
class IInputStream(winrt.system.Object):
|
|
403
427
|
def __enter__(self: Self) -> Self: ...
|
|
404
428
|
def __exit__(self, *args) -> None: ...
|
|
@@ -407,11 +431,13 @@ class IInputStream(winrt.system.Object):
|
|
|
407
431
|
def close(self) -> None: ...
|
|
408
432
|
def read_async(self, buffer: typing.Optional[IBuffer], count: winrt.system.UInt32, options: InputStreamOptions, /) -> winrt.windows.foundation.IAsyncOperationWithProgress[IBuffer, winrt.system.UInt32]: ...
|
|
409
433
|
|
|
434
|
+
@typing.final
|
|
410
435
|
class IInputStreamReference(winrt.system.Object):
|
|
411
436
|
@staticmethod
|
|
412
437
|
def _from(obj: winrt.system.Object, /) -> IInputStreamReference: ...
|
|
413
438
|
def open_sequential_read_async(self) -> winrt.windows.foundation.IAsyncOperation[IInputStream]: ...
|
|
414
439
|
|
|
440
|
+
@typing.final
|
|
415
441
|
class IOutputStream(winrt.system.Object):
|
|
416
442
|
def __enter__(self: Self) -> Self: ...
|
|
417
443
|
def __exit__(self, *args) -> None: ...
|
|
@@ -421,12 +447,14 @@ class IOutputStream(winrt.system.Object):
|
|
|
421
447
|
def flush_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
422
448
|
def write_async(self, buffer: typing.Optional[IBuffer], /) -> winrt.windows.foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
|
|
423
449
|
|
|
450
|
+
@typing.final
|
|
424
451
|
class IPropertySetSerializer(winrt.system.Object):
|
|
425
452
|
@staticmethod
|
|
426
453
|
def _from(obj: winrt.system.Object, /) -> IPropertySetSerializer: ...
|
|
427
454
|
def deserialize(self, property_set: typing.Optional[winrt.windows.foundation.collections.IPropertySet], buffer: typing.Optional[IBuffer], /) -> None: ...
|
|
428
455
|
def serialize(self, property_set: typing.Optional[winrt.windows.foundation.collections.IPropertySet], /) -> typing.Optional[IBuffer]: ...
|
|
429
456
|
|
|
457
|
+
@typing.final
|
|
430
458
|
class IRandomAccessStream(winrt.system.Object):
|
|
431
459
|
def __enter__(self: Self) -> Self: ...
|
|
432
460
|
def __exit__(self, *args) -> None: ...
|
|
@@ -451,11 +479,13 @@ class IRandomAccessStream(winrt.system.Object):
|
|
|
451
479
|
@size.setter
|
|
452
480
|
def size(self, value: winrt.system.UInt64) -> None: ...
|
|
453
481
|
|
|
482
|
+
@typing.final
|
|
454
483
|
class IRandomAccessStreamReference(winrt.system.Object):
|
|
455
484
|
@staticmethod
|
|
456
485
|
def _from(obj: winrt.system.Object, /) -> IRandomAccessStreamReference: ...
|
|
457
486
|
def open_read_async(self) -> winrt.windows.foundation.IAsyncOperation[IRandomAccessStreamWithContentType]: ...
|
|
458
487
|
|
|
488
|
+
@typing.final
|
|
459
489
|
class IRandomAccessStreamWithContentType(winrt.system.Object):
|
|
460
490
|
def __enter__(self: Self) -> Self: ...
|
|
461
491
|
def __exit__(self, *args) -> None: ...
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Storage.Streams
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
15
21
|
|
|
16
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
23
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_storage_streams.pyi
|
|
9
9
|
winrt/windows/storage/streams/__init__.py
|
|
10
|
+
winrt/windows/storage/streams/py.typed
|
|
10
11
|
winrt_Windows.Storage.Streams.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.Storage.Streams.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.Storage.Streams.egg-info/dependency_links.txt
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Storage[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.System[all]==2.0.0-beta.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_storage_streams",
|
|
10
|
-
sources=["py.Windows.Storage.Streams.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|