winrt-Windows.Storage.Search 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.
Files changed (21) hide show
  1. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/PKG-INFO +10 -2
  2. winrt_windows_storage_search-2.0.1/all-requirements.txt +8 -0
  3. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/py.Windows.Storage.Search.cpp +1 -1
  4. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_storage_search-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_storage_search-2.0.1/setup.py +31 -0
  8. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/winrt/_winrt_windows_storage_search.pyi +21 -4
  9. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/winrt/windows/storage/search/__init__.py +1 -1
  10. winrt_windows_storage_search-2.0.1/winrt/windows/storage/search/py.typed +0 -0
  11. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/winrt_Windows.Storage.Search.egg-info/PKG-INFO +10 -2
  12. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/winrt_Windows.Storage.Search.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_storage_search-2.0.1/winrt_Windows.Storage.Search.egg-info/requires.txt +9 -0
  14. winrt-Windows.Storage.Search-2.0.0b1/all-requirements.txt +0 -8
  15. winrt-Windows.Storage.Search-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.Storage.Search-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.Storage.Search-2.0.0b1/winrt_Windows.Storage.Search.egg-info/requires.txt +0 -9
  18. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/README.md +0 -0
  19. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/winrt_Windows.Storage.Search.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.Storage.Search-2.0.0b1 → winrt_windows_storage_search-2.0.1}/winrt_Windows.Storage.Search.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Storage.Search
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
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,14 @@ 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.Data.Text[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.FileProperties[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
15
23
 
16
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
25
 
@@ -0,0 +1,8 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Data.Text[all]==2.0.1
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.Storage[all]==2.0.1
7
+ winrt-Windows.Storage.FileProperties[all]==2.0.1
8
+ winrt-Windows.Storage.Streams[all]==2.0.1
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  #include "py.Windows.Storage.Search.h"
4
4
 
@@ -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", "setuptools-scm", "winrt-sdk"]
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/pywrint/pywrinrt"
23
- # Documentation = "https://readthedocs.org"
24
- Repository = "https://github.com/pywrint/pywrinrt"
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" }
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
- winrt-runtime==2.0.0-beta.1
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_search",
26
+ sources=["py.Windows.Storage.Search.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.0-beta.1
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
@@ -20,17 +20,20 @@ from winrt.windows.storage.search import CommonFileQuery, CommonFolderQuery, Dat
20
20
 
21
21
  Self = typing.TypeVar('Self')
22
22
 
23
+ @typing.final
23
24
  class SortEntry:
24
25
  property_name: str
25
26
  ascending_order: bool
26
27
  def __init__(self, property_name: str, ascending_order: bool) -> None: ...
27
28
 
29
+ @typing.final
28
30
  class ContentIndexer_Static(type):
29
31
  @typing.overload
30
32
  def get_indexer(cls) -> typing.Optional[ContentIndexer]: ...
31
33
  @typing.overload
32
34
  def get_indexer(cls, index_name: str, /) -> typing.Optional[ContentIndexer]: ...
33
35
 
36
+ @typing.final
34
37
  class ContentIndexer(winrt.system.Object, metaclass=ContentIndexer_Static):
35
38
  @staticmethod
36
39
  def _from(obj: winrt.system.Object, /) -> ContentIndexer: ...
@@ -49,6 +52,7 @@ class ContentIndexer(winrt.system.Object, metaclass=ContentIndexer_Static):
49
52
  @_property
50
53
  def revision(self) -> winrt.system.UInt64: ...
51
54
 
55
+ @typing.final
52
56
  class ContentIndexerQuery(winrt.system.Object):
53
57
  @staticmethod
54
58
  def _from(obj: winrt.system.Object, /) -> ContentIndexerQuery: ...
@@ -64,6 +68,7 @@ class ContentIndexerQuery(winrt.system.Object):
64
68
  @_property
65
69
  def query_folder(self) -> typing.Optional[winrt.windows.storage.StorageFolder]: ...
66
70
 
71
+ @typing.final
67
72
  class IndexableContent(winrt.system.Object):
68
73
  @staticmethod
69
74
  def _from(obj: winrt.system.Object, /) -> IndexableContent: ...
@@ -83,6 +88,7 @@ class IndexableContent(winrt.system.Object):
83
88
  @_property
84
89
  def properties(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, winrt.system.Object]]: ...
85
90
 
91
+ @typing.final
86
92
  class QueryOptions(winrt.system.Object):
87
93
  @staticmethod
88
94
  def _from(obj: winrt.system.Object, /) -> QueryOptions: ...
@@ -127,18 +133,20 @@ class QueryOptions(winrt.system.Object):
127
133
  @_property
128
134
  def storage_provider_id_filter(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[str]]: ...
129
135
 
136
+ @typing.final
130
137
  class SortEntryVector(winrt.system.Object, winrt._winrt.MutableSequence[SortEntry]):
131
138
  def __len__(self) -> int: ...
139
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[SortEntry]: ...
132
140
  @typing.overload
133
- def __getitem__(self, index: int) -> SortEntry: ...
141
+ def __getitem__(self, index: typing.SupportsIndex) -> SortEntry: ...
134
142
  @typing.overload
135
143
  def __getitem__(self, index: slice) -> winrt.system.Array[SortEntry]: ...
136
144
  @typing.overload
137
- def __delitem__(self, index: int) -> None: ...
145
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
138
146
  @typing.overload
139
147
  def __delitem__(self, index: slice) -> None: ...
140
148
  @typing.overload
141
- def __setitem__(self, index: int, value: SortEntry) -> None: ...
149
+ def __setitem__(self, index: typing.SupportsIndex, value: SortEntry) -> None: ...
142
150
  @typing.overload
143
151
  def __setitem__(self, index: slice, value: typing.Iterable[SortEntry]) -> None: ...
144
152
  @staticmethod
@@ -158,6 +166,7 @@ class SortEntryVector(winrt.system.Object, winrt._winrt.MutableSequence[SortEntr
158
166
  @_property
159
167
  def size(self) -> winrt.system.UInt32: ...
160
168
 
169
+ @typing.final
161
170
  class StorageFileQueryResult(winrt.system.Object):
162
171
  @staticmethod
163
172
  def _from(obj: winrt.system.Object, /) -> StorageFileQueryResult: ...
@@ -177,6 +186,7 @@ class StorageFileQueryResult(winrt.system.Object):
177
186
  @_property
178
187
  def folder(self) -> typing.Optional[winrt.windows.storage.StorageFolder]: ...
179
188
 
189
+ @typing.final
180
190
  class StorageFolderQueryResult(winrt.system.Object):
181
191
  @staticmethod
182
192
  def _from(obj: winrt.system.Object, /) -> StorageFolderQueryResult: ...
@@ -195,6 +205,7 @@ class StorageFolderQueryResult(winrt.system.Object):
195
205
  @_property
196
206
  def folder(self) -> typing.Optional[winrt.windows.storage.StorageFolder]: ...
197
207
 
208
+ @typing.final
198
209
  class StorageItemQueryResult(winrt.system.Object):
199
210
  @staticmethod
200
211
  def _from(obj: winrt.system.Object, /) -> StorageItemQueryResult: ...
@@ -213,6 +224,7 @@ class StorageItemQueryResult(winrt.system.Object):
213
224
  @_property
214
225
  def folder(self) -> typing.Optional[winrt.windows.storage.StorageFolder]: ...
215
226
 
227
+ @typing.final
216
228
  class StorageLibraryChangeTrackerTriggerDetails(winrt.system.Object):
217
229
  @staticmethod
218
230
  def _from(obj: winrt.system.Object, /) -> StorageLibraryChangeTrackerTriggerDetails: ...
@@ -221,6 +233,7 @@ class StorageLibraryChangeTrackerTriggerDetails(winrt.system.Object):
221
233
  @_property
222
234
  def folder(self) -> typing.Optional[winrt.windows.storage.StorageFolder]: ...
223
235
 
236
+ @typing.final
224
237
  class StorageLibraryContentChangedTriggerDetails(winrt.system.Object):
225
238
  @staticmethod
226
239
  def _from(obj: winrt.system.Object, /) -> StorageLibraryContentChangedTriggerDetails: ...
@@ -228,6 +241,7 @@ class StorageLibraryContentChangedTriggerDetails(winrt.system.Object):
228
241
  @_property
229
242
  def folder(self) -> typing.Optional[winrt.windows.storage.StorageFolder]: ...
230
243
 
244
+ @typing.final
231
245
  class ValueAndLanguage(winrt.system.Object):
232
246
  @staticmethod
233
247
  def _from(obj: winrt.system.Object, /) -> ValueAndLanguage: ...
@@ -241,6 +255,7 @@ class ValueAndLanguage(winrt.system.Object):
241
255
  @language.setter
242
256
  def language(self, value: str) -> None: ...
243
257
 
258
+ @typing.final
244
259
  class IIndexableContent(winrt.system.Object):
245
260
  @staticmethod
246
261
  def _from(obj: winrt.system.Object, /) -> IIndexableContent: ...
@@ -259,6 +274,7 @@ class IIndexableContent(winrt.system.Object):
259
274
  @stream_content_type.setter
260
275
  def stream_content_type(self, value: str) -> None: ...
261
276
 
277
+ @typing.final
262
278
  class IStorageFolderQueryOperations(winrt.system.Object):
263
279
  @staticmethod
264
280
  def _from(obj: winrt.system.Object, /) -> IStorageFolderQueryOperations: ...
@@ -288,6 +304,7 @@ class IStorageFolderQueryOperations(winrt.system.Object):
288
304
  def is_common_file_query_supported(self, query: CommonFileQuery, /) -> bool: ...
289
305
  def is_common_folder_query_supported(self, query: CommonFolderQuery, /) -> bool: ...
290
306
 
307
+ @typing.final
291
308
  class IStorageQueryResultBase(winrt.system.Object):
292
309
  @staticmethod
293
310
  def _from(obj: winrt.system.Object, /) -> IStorageQueryResultBase: ...
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import enum
4
4
 
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Storage.Search
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
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,14 @@ 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.Data.Text[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.FileProperties[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
15
23
 
16
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
25
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_storage_search.pyi
9
9
  winrt/windows/storage/search/__init__.py
10
+ winrt/windows/storage/search/py.typed
10
11
  winrt_Windows.Storage.Search.egg-info/PKG-INFO
11
12
  winrt_Windows.Storage.Search.egg-info/SOURCES.txt
12
13
  winrt_Windows.Storage.Search.egg-info/dependency_links.txt
@@ -0,0 +1,9 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Data.Text[all]==2.0.1
5
+ winrt-Windows.Foundation[all]==2.0.1
6
+ winrt-Windows.Foundation.Collections[all]==2.0.1
7
+ winrt-Windows.Storage[all]==2.0.1
8
+ winrt-Windows.Storage.FileProperties[all]==2.0.1
9
+ winrt-Windows.Storage.Streams[all]==2.0.1
@@ -1,8 +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.Data.Text[all]==2.0.0-beta.1
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.Storage[all]==2.0.0-beta.1
7
- winrt-Windows.Storage.FileProperties[all]==2.0.0-beta.1
8
- winrt-Windows.Storage.Streams[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_search",
10
- sources=["py.Windows.Storage.Search.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
- )
@@ -1,9 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Data.Text[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation[all]==2.0.0-beta.1
6
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
7
- winrt-Windows.Storage[all]==2.0.0-beta.1
8
- winrt-Windows.Storage.FileProperties[all]==2.0.0-beta.1
9
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1