winrt-Windows.ApplicationModel.Resources.Core 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.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/PKG-INFO +9 -2
- winrt_windows_applicationmodel_resources_core-2.0.1/all-requirements.txt +7 -0
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/py.Windows.ApplicationModel.Resources.Core.cpp +41 -5
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/pyproject.toml +7 -4
- winrt_windows_applicationmodel_resources_core-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/requirements.txt +2 -2
- winrt_windows_applicationmodel_resources_core-2.0.1/setup.py +31 -0
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/winrt/_winrt_windows_applicationmodel_resources_core.pyi +24 -4
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/winrt/windows/applicationmodel/resources/core/__init__.py +1 -1
- winrt_windows_applicationmodel_resources_core-2.0.1/winrt/windows/applicationmodel/resources/core/py.typed +0 -0
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/winrt_Windows.ApplicationModel.Resources.Core.egg-info/PKG-INFO +9 -2
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/winrt_Windows.ApplicationModel.Resources.Core.egg-info/SOURCES.txt +1 -0
- winrt_windows_applicationmodel_resources_core-2.0.1/winrt_Windows.ApplicationModel.Resources.Core.egg-info/requires.txt +8 -0
- winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1/all-requirements.txt +0 -7
- winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1/setup.py +0 -17
- winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1/winrt_Windows.ApplicationModel.Resources.Core.egg-info/requires.txt +0 -8
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/README.md +0 -0
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/winrt_Windows.ApplicationModel.Resources.Core.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.ApplicationModel.Resources.Core-2.0.0b1 → winrt_windows_applicationmodel_resources_core-2.0.1}/winrt_Windows.ApplicationModel.Resources.Core.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Resources.Core
|
|
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,13 @@ 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.Storage.Streams[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
15
22
|
|
|
16
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
24
|
|
|
@@ -0,0 +1,7 @@
|
|
|
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.Storage[all]==2.0.1
|
|
6
|
+
winrt-Windows.Storage.Streams[all]==2.0.1
|
|
7
|
+
winrt-Windows.UI[all]==2.0.1
|
|
@@ -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
|
#include "py.Windows.ApplicationModel.Resources.Core.h"
|
|
4
4
|
|
|
@@ -2396,9 +2396,18 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Core
|
|
|
2396
2396
|
{
|
|
2397
2397
|
try
|
|
2398
2398
|
{
|
|
2399
|
-
auto
|
|
2399
|
+
auto _key = py::convert_to<winrt::hstring>(key);
|
|
2400
|
+
auto value = self->obj.TryLookup(_key);
|
|
2400
2401
|
|
|
2401
2402
|
if (!value) {
|
|
2403
|
+
if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
|
|
2404
|
+
{
|
|
2405
|
+
if (self->obj.HasKey(_key))
|
|
2406
|
+
{
|
|
2407
|
+
Py_RETURN_NONE;
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2402
2411
|
PyErr_SetObject(PyExc_KeyError, key);
|
|
2403
2412
|
return nullptr;
|
|
2404
2413
|
}
|
|
@@ -2896,9 +2905,18 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Core
|
|
|
2896
2905
|
{
|
|
2897
2906
|
try
|
|
2898
2907
|
{
|
|
2899
|
-
auto
|
|
2908
|
+
auto _key = py::convert_to<winrt::hstring>(key);
|
|
2909
|
+
auto value = self->obj.TryLookup(_key);
|
|
2900
2910
|
|
|
2901
2911
|
if (!value) {
|
|
2912
|
+
if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
|
|
2913
|
+
{
|
|
2914
|
+
if (self->obj.HasKey(_key))
|
|
2915
|
+
{
|
|
2916
|
+
Py_RETURN_NONE;
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2902
2920
|
PyErr_SetObject(PyExc_KeyError, key);
|
|
2903
2921
|
return nullptr;
|
|
2904
2922
|
}
|
|
@@ -3562,9 +3580,18 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Core
|
|
|
3562
3580
|
{
|
|
3563
3581
|
try
|
|
3564
3582
|
{
|
|
3565
|
-
auto
|
|
3583
|
+
auto _key = py::convert_to<winrt::hstring>(key);
|
|
3584
|
+
auto value = self->obj.TryLookup(_key);
|
|
3566
3585
|
|
|
3567
3586
|
if (!value) {
|
|
3587
|
+
if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
|
|
3588
|
+
{
|
|
3589
|
+
if (self->obj.HasKey(_key))
|
|
3590
|
+
{
|
|
3591
|
+
Py_RETURN_NONE;
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3568
3595
|
PyErr_SetObject(PyExc_KeyError, key);
|
|
3569
3596
|
return nullptr;
|
|
3570
3597
|
}
|
|
@@ -3982,9 +4009,18 @@ namespace py::cpp::Windows::ApplicationModel::Resources::Core
|
|
|
3982
4009
|
{
|
|
3983
4010
|
try
|
|
3984
4011
|
{
|
|
3985
|
-
auto
|
|
4012
|
+
auto _key = py::convert_to<winrt::hstring>(key);
|
|
4013
|
+
auto value = self->obj.TryLookup(_key);
|
|
3986
4014
|
|
|
3987
4015
|
if (!value) {
|
|
4016
|
+
if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
|
|
4017
|
+
{
|
|
4018
|
+
if (self->obj.HasKey(_key))
|
|
4019
|
+
{
|
|
4020
|
+
Py_RETURN_NONE;
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4023
|
+
|
|
3988
4024
|
PyErr_SetObject(PyExc_KeyError, key);
|
|
3989
4025
|
return nullptr;
|
|
3990
4026
|
}
|
|
@@ -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
|
|
@@ -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_applicationmodel_resources_core",
|
|
26
|
+
sources=["py.Windows.ApplicationModel.Resources.Core.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
|
|
@@ -19,6 +19,7 @@ from winrt.windows.applicationmodel.resources.core import ResourceCandidateKind,
|
|
|
19
19
|
|
|
20
20
|
Self = typing.TypeVar('Self')
|
|
21
21
|
|
|
22
|
+
@typing.final
|
|
22
23
|
class ResourceLayoutInfo:
|
|
23
24
|
major_version: winrt.system.UInt32
|
|
24
25
|
minor_version: winrt.system.UInt32
|
|
@@ -27,6 +28,7 @@ class ResourceLayoutInfo:
|
|
|
27
28
|
checksum: winrt.system.Int32
|
|
28
29
|
def __init__(self, major_version: winrt.system.UInt32, minor_version: winrt.system.UInt32, resource_subtree_count: winrt.system.UInt32, named_resource_count: winrt.system.UInt32, checksum: winrt.system.Int32) -> None: ...
|
|
29
30
|
|
|
31
|
+
@typing.final
|
|
30
32
|
class NamedResource(winrt.system.Object):
|
|
31
33
|
@staticmethod
|
|
32
34
|
def _from(obj: winrt.system.Object, /) -> NamedResource: ...
|
|
@@ -43,6 +45,7 @@ class NamedResource(winrt.system.Object):
|
|
|
43
45
|
@_property
|
|
44
46
|
def uri(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
|
|
45
47
|
|
|
48
|
+
@typing.final
|
|
46
49
|
class ResourceCandidate(winrt.system.Object):
|
|
47
50
|
@staticmethod
|
|
48
51
|
def _from(obj: winrt.system.Object, /) -> ResourceCandidate: ...
|
|
@@ -62,10 +65,12 @@ class ResourceCandidate(winrt.system.Object):
|
|
|
62
65
|
@_property
|
|
63
66
|
def kind(self) -> ResourceCandidateKind: ...
|
|
64
67
|
|
|
68
|
+
@typing.final
|
|
65
69
|
class ResourceCandidateVectorView(winrt.system.Object, winrt._winrt.Sequence[ResourceCandidate]):
|
|
66
70
|
def __len__(self) -> int: ...
|
|
71
|
+
def __iter__(self) -> winrt.windows.foundation.collections.IIterator[ResourceCandidate]: ...
|
|
67
72
|
@typing.overload
|
|
68
|
-
def __getitem__(self, index:
|
|
73
|
+
def __getitem__(self, index: typing.SupportsIndex) -> ResourceCandidate: ...
|
|
69
74
|
@typing.overload
|
|
70
75
|
def __getitem__(self, index: slice) -> winrt.system.Array[ResourceCandidate]: ...
|
|
71
76
|
@staticmethod
|
|
@@ -77,6 +82,7 @@ class ResourceCandidateVectorView(winrt.system.Object, winrt._winrt.Sequence[Res
|
|
|
77
82
|
@_property
|
|
78
83
|
def size(self) -> winrt.system.UInt32: ...
|
|
79
84
|
|
|
85
|
+
@typing.final
|
|
80
86
|
class ResourceContext_Static(type):
|
|
81
87
|
def create_matching_context(cls, result: typing.Iterable[ResourceQualifier], /) -> typing.Optional[ResourceContext]: ...
|
|
82
88
|
def get_for_current_view(cls) -> typing.Optional[ResourceContext]: ...
|
|
@@ -91,6 +97,7 @@ class ResourceContext_Static(type):
|
|
|
91
97
|
@typing.overload
|
|
92
98
|
def set_global_qualifier_value(cls, key: str, value: str, persistence: ResourceQualifierPersistence, /) -> None: ...
|
|
93
99
|
|
|
100
|
+
@typing.final
|
|
94
101
|
class ResourceContext(winrt.system.Object, metaclass=ResourceContext_Static):
|
|
95
102
|
@staticmethod
|
|
96
103
|
def _from(obj: winrt.system.Object, /) -> ResourceContext: ...
|
|
@@ -108,10 +115,12 @@ class ResourceContext(winrt.system.Object, metaclass=ResourceContext_Static):
|
|
|
108
115
|
@_property
|
|
109
116
|
def qualifier_values(self) -> typing.Optional[winrt.windows.foundation.collections.IObservableMap[str, str]]: ...
|
|
110
117
|
|
|
118
|
+
@typing.final
|
|
111
119
|
class ResourceContextLanguagesVectorView(winrt.system.Object, winrt._winrt.Sequence[str]):
|
|
112
120
|
def __len__(self) -> int: ...
|
|
121
|
+
def __iter__(self) -> winrt.windows.foundation.collections.IIterator[str]: ...
|
|
113
122
|
@typing.overload
|
|
114
|
-
def __getitem__(self, index:
|
|
123
|
+
def __getitem__(self, index: typing.SupportsIndex) -> str: ...
|
|
115
124
|
@typing.overload
|
|
116
125
|
def __getitem__(self, index: slice) -> winrt.system.Array[str]: ...
|
|
117
126
|
@staticmethod
|
|
@@ -123,11 +132,13 @@ class ResourceContextLanguagesVectorView(winrt.system.Object, winrt._winrt.Seque
|
|
|
123
132
|
@_property
|
|
124
133
|
def size(self) -> winrt.system.UInt32: ...
|
|
125
134
|
|
|
135
|
+
@typing.final
|
|
126
136
|
class ResourceManager_Static(type):
|
|
127
137
|
def is_resource_reference(cls, resource_reference: str, /) -> bool: ...
|
|
128
138
|
@_property
|
|
129
139
|
def current(cls) -> typing.Optional[ResourceManager]: ...
|
|
130
140
|
|
|
141
|
+
@typing.final
|
|
131
142
|
class ResourceManager(winrt.system.Object, metaclass=ResourceManager_Static):
|
|
132
143
|
@staticmethod
|
|
133
144
|
def _from(obj: winrt.system.Object, /) -> ResourceManager: ...
|
|
@@ -142,6 +153,7 @@ class ResourceManager(winrt.system.Object, metaclass=ResourceManager_Static):
|
|
|
142
153
|
@_property
|
|
143
154
|
def main_resource_map(self) -> typing.Optional[ResourceMap]: ...
|
|
144
155
|
|
|
156
|
+
@typing.final
|
|
145
157
|
class ResourceMap(winrt.system.Object, winrt._winrt.Mapping[str, NamedResource]):
|
|
146
158
|
def __len__(self) -> int: ...
|
|
147
159
|
def __iter__(self) -> typing.Iterator[str]: ...
|
|
@@ -163,6 +175,7 @@ class ResourceMap(winrt.system.Object, winrt._winrt.Mapping[str, NamedResource])
|
|
|
163
175
|
@_property
|
|
164
176
|
def size(self) -> winrt.system.UInt32: ...
|
|
165
177
|
|
|
178
|
+
@typing.final
|
|
166
179
|
class ResourceMapIterator(winrt.system.Object):
|
|
167
180
|
def __iter__(self: Self) -> Self: ...
|
|
168
181
|
def __next__(self) -> winrt.windows.foundation.collections.IKeyValuePair[str, NamedResource]: ...
|
|
@@ -175,6 +188,7 @@ class ResourceMapIterator(winrt.system.Object):
|
|
|
175
188
|
@_property
|
|
176
189
|
def has_current(self) -> bool: ...
|
|
177
190
|
|
|
191
|
+
@typing.final
|
|
178
192
|
class ResourceMapMapView(winrt.system.Object, winrt._winrt.Mapping[str, ResourceMap]):
|
|
179
193
|
def __len__(self) -> int: ...
|
|
180
194
|
def __iter__(self) -> typing.Iterator[str]: ...
|
|
@@ -189,6 +203,7 @@ class ResourceMapMapView(winrt.system.Object, winrt._winrt.Mapping[str, Resource
|
|
|
189
203
|
@_property
|
|
190
204
|
def size(self) -> winrt.system.UInt32: ...
|
|
191
205
|
|
|
206
|
+
@typing.final
|
|
192
207
|
class ResourceMapMapViewIterator(winrt.system.Object):
|
|
193
208
|
def __iter__(self: Self) -> Self: ...
|
|
194
209
|
def __next__(self) -> winrt.windows.foundation.collections.IKeyValuePair[str, ResourceMap]: ...
|
|
@@ -201,6 +216,7 @@ class ResourceMapMapViewIterator(winrt.system.Object):
|
|
|
201
216
|
@_property
|
|
202
217
|
def has_current(self) -> bool: ...
|
|
203
218
|
|
|
219
|
+
@typing.final
|
|
204
220
|
class ResourceQualifier(winrt.system.Object):
|
|
205
221
|
@staticmethod
|
|
206
222
|
def _from(obj: winrt.system.Object, /) -> ResourceQualifier: ...
|
|
@@ -215,6 +231,7 @@ class ResourceQualifier(winrt.system.Object):
|
|
|
215
231
|
@_property
|
|
216
232
|
def score(self) -> winrt.system.Double: ...
|
|
217
233
|
|
|
234
|
+
@typing.final
|
|
218
235
|
class ResourceQualifierMapView(winrt.system.Object, winrt._winrt.Mapping[str, str]):
|
|
219
236
|
def __len__(self) -> int: ...
|
|
220
237
|
def __iter__(self) -> typing.Iterator[str]: ...
|
|
@@ -229,6 +246,7 @@ class ResourceQualifierMapView(winrt.system.Object, winrt._winrt.Mapping[str, st
|
|
|
229
246
|
@_property
|
|
230
247
|
def size(self) -> winrt.system.UInt32: ...
|
|
231
248
|
|
|
249
|
+
@typing.final
|
|
232
250
|
class ResourceQualifierObservableMap(winrt.system.Object, winrt._winrt.MutableMapping[str, str]):
|
|
233
251
|
def __len__(self) -> int: ...
|
|
234
252
|
def __iter__(self) -> typing.Iterator[str]: ...
|
|
@@ -250,10 +268,12 @@ class ResourceQualifierObservableMap(winrt.system.Object, winrt._winrt.MutableMa
|
|
|
250
268
|
@_property
|
|
251
269
|
def size(self) -> winrt.system.UInt32: ...
|
|
252
270
|
|
|
271
|
+
@typing.final
|
|
253
272
|
class ResourceQualifierVectorView(winrt.system.Object, winrt._winrt.Sequence[ResourceQualifier]):
|
|
254
273
|
def __len__(self) -> int: ...
|
|
274
|
+
def __iter__(self) -> winrt.windows.foundation.collections.IIterator[ResourceQualifier]: ...
|
|
255
275
|
@typing.overload
|
|
256
|
-
def __getitem__(self, index:
|
|
276
|
+
def __getitem__(self, index: typing.SupportsIndex) -> ResourceQualifier: ...
|
|
257
277
|
@typing.overload
|
|
258
278
|
def __getitem__(self, index: slice) -> winrt.system.Array[ResourceQualifier]: ...
|
|
259
279
|
@staticmethod
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Resources.Core
|
|
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,13 @@ 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.Storage.Streams[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
15
22
|
|
|
16
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
24
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_applicationmodel_resources_core.pyi
|
|
9
9
|
winrt/windows/applicationmodel/resources/core/__init__.py
|
|
10
|
+
winrt/windows/applicationmodel/resources/core/py.typed
|
|
10
11
|
winrt_Windows.ApplicationModel.Resources.Core.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.ApplicationModel.Resources.Core.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.ApplicationModel.Resources.Core.egg-info/dependency_links.txt
|
|
@@ -1,7 +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.Storage.Streams[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.UI[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_applicationmodel_resources_core",
|
|
10
|
-
sources=["py.Windows.ApplicationModel.Resources.Core.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,8 +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.Storage[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.UI[all]==2.0.0-beta.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|