winrt-Windows.Storage 3.1.0__tar.gz → 3.2.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.
Files changed (20) hide show
  1. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/PKG-INFO +9 -9
  2. winrt_windows_storage-3.2.1/all-requirements.txt +9 -0
  3. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/py.Windows.Storage.cpp +1 -1
  4. winrt_windows_storage-3.2.1/pywinrt-version.txt +1 -0
  5. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/requirements.txt +2 -2
  6. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/setup.py +2 -0
  7. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/winrt/_winrt_windows_storage.pyi +6 -6
  8. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/winrt/windows/storage/__init__.py +4 -3
  9. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/winrt_Windows.Storage.egg-info/PKG-INFO +9 -9
  10. winrt_windows_storage-3.2.1/winrt_Windows.Storage.egg-info/requires.txt +10 -0
  11. winrt_windows_storage-3.1.0/all-requirements.txt +0 -9
  12. winrt_windows_storage-3.1.0/pywinrt-version.txt +0 -1
  13. winrt_windows_storage-3.1.0/winrt_Windows.Storage.egg-info/requires.txt +0 -10
  14. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/README.md +0 -0
  15. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/pyproject.toml +0 -0
  16. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/setup.cfg +0 -0
  17. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/winrt/windows/storage/py.typed +0 -0
  18. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/winrt_Windows.Storage.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/winrt_Windows.Storage.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_storage-3.1.0 → winrt_windows_storage-3.2.1}/winrt_Windows.Storage.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: winrt-Windows.Storage
3
- Version: 3.1.0
3
+ Version: 3.2.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License-Expression: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,15 +12,15 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==3.1.0
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Storage.FileProperties[all]==3.1.0; extra == "all"
20
- Requires-Dist: winrt-Windows.Storage.Provider[all]==3.1.0; extra == "all"
21
- Requires-Dist: winrt-Windows.Storage.Search[all]==3.1.0; extra == "all"
22
- Requires-Dist: winrt-Windows.Storage.Streams[all]==3.1.0; extra == "all"
23
- Requires-Dist: winrt-Windows.System[all]==3.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Storage.FileProperties[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Provider[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Search[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
24
24
 
25
25
  <!-- warning: Please don't edit this file. It was automatically generated. -->
26
26
 
@@ -0,0 +1,9 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ winrt-Windows.Foundation[all]~=3.2.1.0
4
+ winrt-Windows.Foundation.Collections[all]~=3.2.1.0
5
+ winrt-Windows.Storage.FileProperties[all]~=3.2.1.0
6
+ winrt-Windows.Storage.Provider[all]~=3.2.1.0
7
+ winrt-Windows.Storage.Search[all]~=3.2.1.0
8
+ winrt-Windows.Storage.Streams[all]~=3.2.1.0
9
+ winrt-Windows.System[all]~=3.2.1.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
2
 
3
3
  #include "py.Windows.Storage.h"
4
4
 
@@ -0,0 +1 @@
1
+ 3.2.1
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
2
 
3
- winrt-runtime==3.1.0
3
+ winrt-runtime~=3.2.1.0
@@ -11,6 +11,8 @@ class build_ext_ex(build_ext):
11
11
  ext.extra_compile_args = ["/std:c++20", "/permissive-"]
12
12
  elif self.compiler.compiler_type == "mingw32":
13
13
  ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
14
+ # GCC 15 complains about some things that it didn't in the past
15
+ ext.extra_compile_args += ["-Wno-strict-aliasing", "-Wno-template-body"]
14
16
  ext.extra_link_args = ["-loleaut32"]
15
17
  else:
16
18
  raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -247,7 +247,7 @@ class FileIO_Static(winrt._winrt.IInspectable_Static):
247
247
  # Windows.Foundation.IAsyncAction Windows.Storage.FileIO::AppendTextAsync(Windows.Storage.IStorageFile,System.String,Windows.Storage.Streams.UnicodeEncoding)
248
248
  def append_text_with_encoding_async(cls, file: IStorageFile, contents: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
249
249
  # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IBuffer> Windows.Storage.FileIO::ReadBufferAsync(Windows.Storage.IStorageFile)
250
- def read_buffer_async(cls, file: IStorageFile, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IBuffer]: ...
250
+ def read_buffer_async(cls, file: IStorageFile, /) -> windows_foundation.IAsyncOperation[winrt.system.Buffer]: ...
251
251
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<System.String>> Windows.Storage.FileIO::ReadLinesAsync(Windows.Storage.IStorageFile)
252
252
  def read_lines_async(cls, file: IStorageFile, /) -> windows_foundation.IAsyncOperation[typing.MutableSequence[str]]: ...
253
253
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<System.String>> Windows.Storage.FileIO::ReadLinesAsync(Windows.Storage.IStorageFile,Windows.Storage.Streams.UnicodeEncoding)
@@ -257,7 +257,7 @@ class FileIO_Static(winrt._winrt.IInspectable_Static):
257
257
  # Windows.Foundation.IAsyncOperation`1<System.String> Windows.Storage.FileIO::ReadTextAsync(Windows.Storage.IStorageFile,Windows.Storage.Streams.UnicodeEncoding)
258
258
  def read_text_with_encoding_async(cls, file: IStorageFile, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncOperation[str]: ...
259
259
  # Windows.Foundation.IAsyncAction Windows.Storage.FileIO::WriteBufferAsync(Windows.Storage.IStorageFile,Windows.Storage.Streams.IBuffer)
260
- def write_buffer_async(cls, file: IStorageFile, buffer: windows_storage_streams.IBuffer, /) -> windows_foundation.IAsyncAction: ...
260
+ def write_buffer_async(cls, file: IStorageFile, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncAction: ...
261
261
  # Windows.Foundation.IAsyncAction Windows.Storage.FileIO::WriteBytesAsync(Windows.Storage.IStorageFile,System.Byte[])
262
262
  def write_bytes_async(cls, file: IStorageFile, buffer: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncAction: ...
263
263
  # Windows.Foundation.IAsyncAction Windows.Storage.FileIO::WriteLinesAsync(Windows.Storage.IStorageFile,Windows.Foundation.Collections.IIterable`1<System.String>)
@@ -338,7 +338,7 @@ class PathIO_Static(winrt._winrt.IInspectable_Static):
338
338
  # Windows.Foundation.IAsyncAction Windows.Storage.PathIO::AppendTextAsync(System.String,System.String,Windows.Storage.Streams.UnicodeEncoding)
339
339
  def append_text_with_encoding_async(cls, absolute_path: str, contents: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
340
340
  # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IBuffer> Windows.Storage.PathIO::ReadBufferAsync(System.String)
341
- def read_buffer_async(cls, absolute_path: str, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IBuffer]: ...
341
+ def read_buffer_async(cls, absolute_path: str, /) -> windows_foundation.IAsyncOperation[winrt.system.Buffer]: ...
342
342
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<System.String>> Windows.Storage.PathIO::ReadLinesAsync(System.String)
343
343
  def read_lines_async(cls, absolute_path: str, /) -> windows_foundation.IAsyncOperation[typing.MutableSequence[str]]: ...
344
344
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<System.String>> Windows.Storage.PathIO::ReadLinesAsync(System.String,Windows.Storage.Streams.UnicodeEncoding)
@@ -348,7 +348,7 @@ class PathIO_Static(winrt._winrt.IInspectable_Static):
348
348
  # Windows.Foundation.IAsyncOperation`1<System.String> Windows.Storage.PathIO::ReadTextAsync(System.String,Windows.Storage.Streams.UnicodeEncoding)
349
349
  def read_text_with_encoding_async(cls, absolute_path: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncOperation[str]: ...
350
350
  # Windows.Foundation.IAsyncAction Windows.Storage.PathIO::WriteBufferAsync(System.String,Windows.Storage.Streams.IBuffer)
351
- def write_buffer_async(cls, absolute_path: str, buffer: windows_storage_streams.IBuffer, /) -> windows_foundation.IAsyncAction: ...
351
+ def write_buffer_async(cls, absolute_path: str, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncAction: ...
352
352
  # Windows.Foundation.IAsyncAction Windows.Storage.PathIO::WriteBytesAsync(System.String,System.Byte[])
353
353
  def write_bytes_async(cls, absolute_path: str, buffer: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncAction: ...
354
354
  # Windows.Foundation.IAsyncAction Windows.Storage.PathIO::WriteLinesAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
@@ -736,7 +736,7 @@ class StreamedFileDataRequest(winrt.system.Object, IStreamedFileDataRequest, win
736
736
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.StreamedFileDataRequest::FlushAsync()
737
737
  def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
738
738
  # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.StreamedFileDataRequest::WriteAsync(Windows.Storage.Streams.IBuffer)
739
- def write_async(self, buffer: windows_storage_streams.IBuffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
739
+ def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
740
740
 
741
741
  @typing.final
742
742
  class SystemAudioProperties(winrt.system.Object):
@@ -1,9 +1,10 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
2
 
3
3
  import enum
4
4
  import typing
5
5
  import uuid as _uuid
6
6
 
7
+ import winrt.runtime._internals
7
8
  import winrt.system
8
9
  from winrt._winrt_windows_storage import (
9
10
  AppDataPaths,
@@ -224,7 +225,7 @@ class StreamedFileFailureMode(enum.IntEnum):
224
225
  CURRENTLY_UNAVAILABLE = 1
225
226
  INCOMPLETE = 2
226
227
 
227
- winrt.system._mixin_mutable_mapping(ApplicationDataCompositeValue)
228
- winrt.system._mixin_mutable_mapping(ApplicationDataContainerSettings)
228
+ winrt.runtime._internals.mixin_mutable_mapping(ApplicationDataCompositeValue)
229
+ winrt.runtime._internals.mixin_mutable_mapping(ApplicationDataContainerSettings)
229
230
  ApplicationDataSetVersionHandler = typing.Callable[[SetVersionRequest], None]
230
231
  StreamedFileDataRequestedHandler = typing.Callable[[StreamedFileDataRequest], None]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: winrt-Windows.Storage
3
- Version: 3.1.0
3
+ Version: 3.2.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License-Expression: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,15 +12,15 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==3.1.0
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Storage.FileProperties[all]==3.1.0; extra == "all"
20
- Requires-Dist: winrt-Windows.Storage.Provider[all]==3.1.0; extra == "all"
21
- Requires-Dist: winrt-Windows.Storage.Search[all]==3.1.0; extra == "all"
22
- Requires-Dist: winrt-Windows.Storage.Streams[all]==3.1.0; extra == "all"
23
- Requires-Dist: winrt-Windows.System[all]==3.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Storage.FileProperties[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Provider[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Search[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
24
24
 
25
25
  <!-- warning: Please don't edit this file. It was automatically generated. -->
26
26
 
@@ -0,0 +1,10 @@
1
+ winrt-runtime~=3.2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]~=3.2.1.0
5
+ winrt-Windows.Foundation.Collections[all]~=3.2.1.0
6
+ winrt-Windows.Storage.FileProperties[all]~=3.2.1.0
7
+ winrt-Windows.Storage.Provider[all]~=3.2.1.0
8
+ winrt-Windows.Storage.Search[all]~=3.2.1.0
9
+ winrt-Windows.Storage.Streams[all]~=3.2.1.0
10
+ winrt-Windows.System[all]~=3.2.1.0
@@ -1,9 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
2
-
3
- winrt-Windows.Foundation[all]==3.1.0
4
- winrt-Windows.Foundation.Collections[all]==3.1.0
5
- winrt-Windows.Storage.FileProperties[all]==3.1.0
6
- winrt-Windows.Storage.Provider[all]==3.1.0
7
- winrt-Windows.Storage.Search[all]==3.1.0
8
- winrt-Windows.Storage.Streams[all]==3.1.0
9
- winrt-Windows.System[all]==3.1.0
@@ -1 +0,0 @@
1
- 3.1.0
@@ -1,10 +0,0 @@
1
- winrt-runtime==3.1.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==3.1.0
5
- winrt-Windows.Foundation.Collections[all]==3.1.0
6
- winrt-Windows.Storage.FileProperties[all]==3.1.0
7
- winrt-Windows.Storage.Provider[all]==3.1.0
8
- winrt-Windows.Storage.Search[all]==3.1.0
9
- winrt-Windows.Storage.Streams[all]==3.1.0
10
- winrt-Windows.System[all]==3.1.0