winrt-Windows.UI.Xaml.Data 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.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/PKG-INFO +8 -2
  2. winrt_windows_ui_xaml_data-2.0.1/all-requirements.txt +6 -0
  3. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/py.Windows.UI.Xaml.Data.cpp +1 -1
  4. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_ui_xaml_data-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_ui_xaml_data-2.0.1/setup.py +31 -0
  8. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/winrt/_winrt_windows_ui_xaml_data.pyi +28 -4
  9. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/winrt/windows/ui/xaml/data/__init__.py +1 -1
  10. winrt_windows_ui_xaml_data-2.0.1/winrt/windows/ui/xaml/data/py.typed +0 -0
  11. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/winrt_Windows.UI.Xaml.Data.egg-info/PKG-INFO +8 -2
  12. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/winrt_Windows.UI.Xaml.Data.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_ui_xaml_data-2.0.1/winrt_Windows.UI.Xaml.Data.egg-info/requires.txt +7 -0
  14. winrt-Windows.UI.Xaml.Data-2.0.0b1/all-requirements.txt +0 -6
  15. winrt-Windows.UI.Xaml.Data-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.UI.Xaml.Data-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.UI.Xaml.Data-2.0.0b1/winrt_Windows.UI.Xaml.Data.egg-info/requires.txt +0 -7
  18. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/README.md +0 -0
  19. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/winrt_Windows.UI.Xaml.Data.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.UI.Xaml.Data-2.0.0b1 → winrt_windows_ui_xaml_data-2.0.1}/winrt_Windows.UI.Xaml.Data.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Xaml.Data
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,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.UI.Xaml[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.UI.Xaml.Interop[all]==2.0.1; extra == "all"
15
21
 
16
22
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
23
 
@@ -0,0 +1,6 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Foundation[all]==2.0.1
4
+ winrt-Windows.Foundation.Collections[all]==2.0.1
5
+ winrt-Windows.UI.Xaml[all]==2.0.1
6
+ winrt-Windows.UI.Xaml.Interop[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.UI.Xaml.Data.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_ui_xaml_data",
26
+ sources=["py.Windows.UI.Xaml.Data.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
@@ -19,10 +19,12 @@ from winrt.windows.ui.xaml.data import CurrentChangingEventHandler, PropertyChan
19
19
 
20
20
  Self = typing.TypeVar('Self')
21
21
 
22
+ @typing.final
22
23
  class LoadMoreItemsResult:
23
24
  count: winrt.system.UInt32
24
25
  def __init__(self, count: winrt.system.UInt32) -> None: ...
25
26
 
27
+ @typing.final
26
28
  class Binding(winrt.system.Object):
27
29
  @staticmethod
28
30
  def _from(obj: winrt.system.Object, /) -> Binding: ...
@@ -72,11 +74,13 @@ class Binding(winrt.system.Object):
72
74
  @fallback_value.setter
73
75
  def fallback_value(self, value: typing.Optional[winrt.system.Object]) -> None: ...
74
76
 
77
+ @typing.final
75
78
  class BindingBase(winrt.system.Object):
76
79
  @staticmethod
77
80
  def _from(obj: winrt.system.Object, /) -> BindingBase: ...
78
81
  def __new__(cls: typing.Type[BindingBase]) -> BindingBase:...
79
82
 
83
+ @typing.final
80
84
  class BindingExpression(winrt.system.Object):
81
85
  @staticmethod
82
86
  def _from(obj: winrt.system.Object, /) -> BindingExpression: ...
@@ -86,17 +90,21 @@ class BindingExpression(winrt.system.Object):
86
90
  @_property
87
91
  def parent_binding(self) -> typing.Optional[Binding]: ...
88
92
 
93
+ @typing.final
89
94
  class BindingExpressionBase(winrt.system.Object):
90
95
  @staticmethod
91
96
  def _from(obj: winrt.system.Object, /) -> BindingExpressionBase: ...
92
97
 
98
+ @typing.final
93
99
  class BindingOperations_Static(type):
94
100
  def set_binding(cls, target: typing.Optional[winrt.windows.ui.xaml.DependencyObject], dp: typing.Optional[winrt.windows.ui.xaml.DependencyProperty], binding: typing.Optional[BindingBase], /) -> None: ...
95
101
 
102
+ @typing.final
96
103
  class BindingOperations(winrt.system.Object, metaclass=BindingOperations_Static):
97
104
  @staticmethod
98
105
  def _from(obj: winrt.system.Object, /) -> BindingOperations: ...
99
106
 
107
+ @typing.final
100
108
  class CollectionViewSource_Static(type):
101
109
  @_property
102
110
  def is_source_grouped_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
@@ -107,6 +115,7 @@ class CollectionViewSource_Static(type):
107
115
  @_property
108
116
  def view_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
109
117
 
118
+ @typing.final
110
119
  class CollectionViewSource(winrt.system.Object, metaclass=CollectionViewSource_Static):
111
120
  @staticmethod
112
121
  def _from(obj: winrt.system.Object, /) -> CollectionViewSource: ...
@@ -126,6 +135,7 @@ class CollectionViewSource(winrt.system.Object, metaclass=CollectionViewSource_S
126
135
  @_property
127
136
  def view(self) -> typing.Optional[ICollectionView]: ...
128
137
 
138
+ @typing.final
129
139
  class CurrentChangingEventArgs(winrt.system.Object):
130
140
  @staticmethod
131
141
  def _from(obj: winrt.system.Object, /) -> CurrentChangingEventArgs: ...
@@ -140,6 +150,7 @@ class CurrentChangingEventArgs(winrt.system.Object):
140
150
  @_property
141
151
  def is_cancelable(self) -> bool: ...
142
152
 
153
+ @typing.final
143
154
  class ItemIndexRange(winrt.system.Object):
144
155
  @staticmethod
145
156
  def _from(obj: winrt.system.Object, /) -> ItemIndexRange: ...
@@ -151,6 +162,7 @@ class ItemIndexRange(winrt.system.Object):
151
162
  @_property
152
163
  def length(self) -> winrt.system.UInt32: ...
153
164
 
165
+ @typing.final
154
166
  class PropertyChangedEventArgs(winrt.system.Object):
155
167
  @staticmethod
156
168
  def _from(obj: winrt.system.Object, /) -> PropertyChangedEventArgs: ...
@@ -158,6 +170,7 @@ class PropertyChangedEventArgs(winrt.system.Object):
158
170
  @_property
159
171
  def property_name(self) -> str: ...
160
172
 
173
+ @typing.final
161
174
  class RelativeSource(winrt.system.Object):
162
175
  @staticmethod
163
176
  def _from(obj: winrt.system.Object, /) -> RelativeSource: ...
@@ -167,18 +180,20 @@ class RelativeSource(winrt.system.Object):
167
180
  @mode.setter
168
181
  def mode(self, value: RelativeSourceMode) -> None: ...
169
182
 
183
+ @typing.final
170
184
  class ICollectionView(winrt.system.Object, winrt._winrt.MutableSequence[winrt.system.Object]):
171
185
  def __len__(self) -> int: ...
186
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[winrt.system.Object]: ...
172
187
  @typing.overload
173
- def __getitem__(self, index: int) -> winrt.system.Object: ...
188
+ def __getitem__(self, index: typing.SupportsIndex) -> winrt.system.Object: ...
174
189
  @typing.overload
175
190
  def __getitem__(self, index: slice) -> winrt.system.Array[winrt.system.Object]: ...
176
191
  @typing.overload
177
- def __delitem__(self, index: int) -> None: ...
192
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
178
193
  @typing.overload
179
194
  def __delitem__(self, index: slice) -> None: ...
180
195
  @typing.overload
181
- def __setitem__(self, index: int, value: winrt.system.Object) -> None: ...
196
+ def __setitem__(self, index: typing.SupportsIndex, value: winrt.system.Object) -> None: ...
182
197
  @typing.overload
183
198
  def __setitem__(self, index: slice, value: typing.Iterable[winrt.system.Object]) -> None: ...
184
199
  @staticmethod
@@ -223,11 +238,13 @@ class ICollectionView(winrt.system.Object, winrt._winrt.MutableSequence[winrt.sy
223
238
  @_property
224
239
  def size(self) -> winrt.system.UInt32: ...
225
240
 
241
+ @typing.final
226
242
  class ICollectionViewFactory(winrt.system.Object):
227
243
  @staticmethod
228
244
  def _from(obj: winrt.system.Object, /) -> ICollectionViewFactory: ...
229
245
  def create_view(self) -> typing.Optional[ICollectionView]: ...
230
246
 
247
+ @typing.final
231
248
  class ICollectionViewGroup(winrt.system.Object):
232
249
  @staticmethod
233
250
  def _from(obj: winrt.system.Object, /) -> ICollectionViewGroup: ...
@@ -236,6 +253,7 @@ class ICollectionViewGroup(winrt.system.Object):
236
253
  @_property
237
254
  def group_items(self) -> typing.Optional[winrt.windows.foundation.collections.IObservableVector[winrt.system.Object]]: ...
238
255
 
256
+ @typing.final
239
257
  class ICustomProperty(winrt.system.Object):
240
258
  @staticmethod
241
259
  def _from(obj: winrt.system.Object, /) -> ICustomProperty: ...
@@ -252,6 +270,7 @@ class ICustomProperty(winrt.system.Object):
252
270
  @_property
253
271
  def type(self) -> winrt.windows.ui.xaml.interop.TypeName: ...
254
272
 
273
+ @typing.final
255
274
  class ICustomPropertyProvider(winrt.system.Object):
256
275
  @staticmethod
257
276
  def _from(obj: winrt.system.Object, /) -> ICustomPropertyProvider: ...
@@ -261,6 +280,7 @@ class ICustomPropertyProvider(winrt.system.Object):
261
280
  @_property
262
281
  def type(self) -> winrt.windows.ui.xaml.interop.TypeName: ...
263
282
 
283
+ @typing.final
264
284
  class IItemsRangeInfo(winrt.system.Object):
265
285
  def __enter__(self: Self) -> Self: ...
266
286
  def __exit__(self, *args) -> None: ...
@@ -269,12 +289,14 @@ class IItemsRangeInfo(winrt.system.Object):
269
289
  def close(self) -> None: ...
270
290
  def ranges_changed(self, visible_range: typing.Optional[ItemIndexRange], tracked_items: winrt.windows.foundation.collections.IVectorView[ItemIndexRange], /) -> None: ...
271
291
 
292
+ @typing.final
272
293
  class INotifyPropertyChanged(winrt.system.Object):
273
294
  @staticmethod
274
295
  def _from(obj: winrt.system.Object, /) -> INotifyPropertyChanged: ...
275
296
  def add_property_changed(self, handler: typing.Optional[PropertyChangedEventHandler], /) -> winrt.windows.foundation.EventRegistrationToken: ...
276
297
  def remove_property_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
277
298
 
299
+ @typing.final
278
300
  class ISelectionInfo(winrt.system.Object):
279
301
  @staticmethod
280
302
  def _from(obj: winrt.system.Object, /) -> ISelectionInfo: ...
@@ -283,6 +305,7 @@ class ISelectionInfo(winrt.system.Object):
283
305
  def is_selected(self, index: winrt.system.Int32, /) -> bool: ...
284
306
  def select_range(self, item_index_range: typing.Optional[ItemIndexRange], /) -> None: ...
285
307
 
308
+ @typing.final
286
309
  class ISupportIncrementalLoading(winrt.system.Object):
287
310
  @staticmethod
288
311
  def _from(obj: winrt.system.Object, /) -> ISupportIncrementalLoading: ...
@@ -290,6 +313,7 @@ class ISupportIncrementalLoading(winrt.system.Object):
290
313
  @_property
291
314
  def has_more_items(self) -> bool: ...
292
315
 
316
+ @typing.final
293
317
  class IValueConverter(winrt.system.Object):
294
318
  @staticmethod
295
319
  def _from(obj: winrt.system.Object, /) -> IValueConverter: ...
@@ -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
  import typing
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Xaml.Data
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,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.UI.Xaml[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.UI.Xaml.Interop[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_ui_xaml_data.pyi
9
9
  winrt/windows/ui/xaml/data/__init__.py
10
+ winrt/windows/ui/xaml/data/py.typed
10
11
  winrt_Windows.UI.Xaml.Data.egg-info/PKG-INFO
11
12
  winrt_Windows.UI.Xaml.Data.egg-info/SOURCES.txt
12
13
  winrt_Windows.UI.Xaml.Data.egg-info/dependency_links.txt
@@ -0,0 +1,7 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.UI.Xaml[all]==2.0.1
7
+ winrt-Windows.UI.Xaml.Interop[all]==2.0.1
@@ -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.UI.Xaml[all]==2.0.0-beta.1
6
- winrt-Windows.UI.Xaml.Interop[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_ui_xaml_data",
10
- sources=["py.Windows.UI.Xaml.Data.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,7 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.UI.Xaml[all]==2.0.0-beta.1
7
- winrt-Windows.UI.Xaml.Interop[all]==2.0.0-beta.1