winrt-Windows.ApplicationModel.Resources 2.0.0b1__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.
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Resources
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Provides-Extra: all
15
+
16
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
17
+
18
+ # winrt-Windows.ApplicationModel.Resources
19
+
20
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Resources` namespace.
21
+
22
+ This package provides the `winrt.windows.applicationmodel.resources` module.
@@ -0,0 +1,7 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.ApplicationModel.Resources
4
+
5
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Resources` namespace.
6
+
7
+ This package provides the `winrt.windows.applicationmodel.resources` module.
@@ -0,0 +1,4 @@
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.UI[all]==2.0.0-beta.1
@@ -0,0 +1,458 @@
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ #include "py.Windows.ApplicationModel.Resources.h"
4
+
5
+
6
+ namespace py::cpp::Windows::ApplicationModel::Resources
7
+ {
8
+ // ----- ResourceLoader class --------------------
9
+
10
+ static PyObject* _new_ResourceLoader(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
11
+ {
12
+ if (kwds != nullptr)
13
+ {
14
+ py::set_invalid_kwd_args_error();
15
+ return nullptr;
16
+ }
17
+
18
+ auto arg_count = PyTuple_Size(args);
19
+ if (arg_count == 1)
20
+ {
21
+ try
22
+ {
23
+ auto param0 = py::convert_to<winrt::hstring>(args, 0);
24
+
25
+ winrt::Windows::ApplicationModel::Resources::ResourceLoader instance{ param0 };
26
+ return py::wrap(instance, type);
27
+ }
28
+ catch (...)
29
+ {
30
+ py::to_PyErr();
31
+ return nullptr;
32
+ }
33
+ }
34
+ else if (arg_count == 0)
35
+ {
36
+ try
37
+ {
38
+ winrt::Windows::ApplicationModel::Resources::ResourceLoader instance{ };
39
+ return py::wrap(instance, type);
40
+ }
41
+ catch (...)
42
+ {
43
+ py::to_PyErr();
44
+ return nullptr;
45
+ }
46
+ }
47
+ else
48
+ {
49
+ py::set_invalid_arg_count_error(arg_count);
50
+ return nullptr;
51
+ }
52
+ }
53
+
54
+ static void _dealloc_ResourceLoader(py::wrapper::Windows::ApplicationModel::Resources::ResourceLoader* self) noexcept
55
+ {
56
+ auto tp = Py_TYPE(self);
57
+ std::destroy_at(&self->obj);
58
+ tp->tp_free(self);
59
+ Py_DECREF(tp);
60
+ }
61
+
62
+ static PyObject* ResourceLoader_GetDefaultPriPath(PyObject* /*unused*/, PyObject* args) noexcept
63
+ {
64
+ auto arg_count = PyTuple_Size(args);
65
+
66
+ if (arg_count == 1)
67
+ {
68
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetDefaultPriPath", 1))
69
+ {
70
+ py::set_arg_count_version_error(1);
71
+ return nullptr;
72
+ }
73
+
74
+ try
75
+ {
76
+ auto param0 = py::convert_to<winrt::hstring>(args, 0);
77
+
78
+ return py::convert(winrt::Windows::ApplicationModel::Resources::ResourceLoader::GetDefaultPriPath(param0));
79
+ }
80
+ catch (...)
81
+ {
82
+ py::to_PyErr();
83
+ return nullptr;
84
+ }
85
+ }
86
+ else
87
+ {
88
+ py::set_invalid_arg_count_error(arg_count);
89
+ return nullptr;
90
+ }
91
+ }
92
+
93
+ static PyObject* ResourceLoader_GetForCurrentView(PyObject* /*unused*/, PyObject* args) noexcept
94
+ {
95
+ auto arg_count = PyTuple_Size(args);
96
+
97
+ if (arg_count == 0)
98
+ {
99
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetForCurrentView", 0))
100
+ {
101
+ py::set_arg_count_version_error(0);
102
+ return nullptr;
103
+ }
104
+
105
+ try
106
+ {
107
+ return py::convert(winrt::Windows::ApplicationModel::Resources::ResourceLoader::GetForCurrentView());
108
+ }
109
+ catch (...)
110
+ {
111
+ py::to_PyErr();
112
+ return nullptr;
113
+ }
114
+ }
115
+ else if (arg_count == 1)
116
+ {
117
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetForCurrentView", 1))
118
+ {
119
+ py::set_arg_count_version_error(1);
120
+ return nullptr;
121
+ }
122
+
123
+ try
124
+ {
125
+ auto param0 = py::convert_to<winrt::hstring>(args, 0);
126
+
127
+ return py::convert(winrt::Windows::ApplicationModel::Resources::ResourceLoader::GetForCurrentView(param0));
128
+ }
129
+ catch (...)
130
+ {
131
+ py::to_PyErr();
132
+ return nullptr;
133
+ }
134
+ }
135
+ else
136
+ {
137
+ py::set_invalid_arg_count_error(arg_count);
138
+ return nullptr;
139
+ }
140
+ }
141
+
142
+ static PyObject* ResourceLoader_GetForUIContext(PyObject* /*unused*/, PyObject* args) noexcept
143
+ {
144
+ auto arg_count = PyTuple_Size(args);
145
+
146
+ if (arg_count == 1)
147
+ {
148
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetForUIContext", 1))
149
+ {
150
+ py::set_arg_count_version_error(1);
151
+ return nullptr;
152
+ }
153
+
154
+ try
155
+ {
156
+ auto param0 = py::convert_to<winrt::Windows::UI::UIContext>(args, 0);
157
+
158
+ return py::convert(winrt::Windows::ApplicationModel::Resources::ResourceLoader::GetForUIContext(param0));
159
+ }
160
+ catch (...)
161
+ {
162
+ py::to_PyErr();
163
+ return nullptr;
164
+ }
165
+ }
166
+ else
167
+ {
168
+ py::set_invalid_arg_count_error(arg_count);
169
+ return nullptr;
170
+ }
171
+ }
172
+
173
+ static PyObject* ResourceLoader_GetForViewIndependentUse(PyObject* /*unused*/, PyObject* args) noexcept
174
+ {
175
+ auto arg_count = PyTuple_Size(args);
176
+
177
+ if (arg_count == 0)
178
+ {
179
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetForViewIndependentUse", 0))
180
+ {
181
+ py::set_arg_count_version_error(0);
182
+ return nullptr;
183
+ }
184
+
185
+ try
186
+ {
187
+ return py::convert(winrt::Windows::ApplicationModel::Resources::ResourceLoader::GetForViewIndependentUse());
188
+ }
189
+ catch (...)
190
+ {
191
+ py::to_PyErr();
192
+ return nullptr;
193
+ }
194
+ }
195
+ else if (arg_count == 1)
196
+ {
197
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetForViewIndependentUse", 1))
198
+ {
199
+ py::set_arg_count_version_error(1);
200
+ return nullptr;
201
+ }
202
+
203
+ try
204
+ {
205
+ auto param0 = py::convert_to<winrt::hstring>(args, 0);
206
+
207
+ return py::convert(winrt::Windows::ApplicationModel::Resources::ResourceLoader::GetForViewIndependentUse(param0));
208
+ }
209
+ catch (...)
210
+ {
211
+ py::to_PyErr();
212
+ return nullptr;
213
+ }
214
+ }
215
+ else
216
+ {
217
+ py::set_invalid_arg_count_error(arg_count);
218
+ return nullptr;
219
+ }
220
+ }
221
+
222
+ static PyObject* ResourceLoader_GetString(py::wrapper::Windows::ApplicationModel::Resources::ResourceLoader* self, PyObject* args) noexcept
223
+ {
224
+ auto arg_count = PyTuple_Size(args);
225
+
226
+ if (arg_count == 1)
227
+ {
228
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetString", 1))
229
+ {
230
+ py::set_arg_count_version_error(1);
231
+ return nullptr;
232
+ }
233
+
234
+ try
235
+ {
236
+ auto param0 = py::convert_to<winrt::hstring>(args, 0);
237
+
238
+ return py::convert(self->obj.GetString(param0));
239
+ }
240
+ catch (...)
241
+ {
242
+ py::to_PyErr();
243
+ return nullptr;
244
+ }
245
+ }
246
+ else
247
+ {
248
+ py::set_invalid_arg_count_error(arg_count);
249
+ return nullptr;
250
+ }
251
+ }
252
+
253
+ static PyObject* ResourceLoader_GetStringForReference(PyObject* /*unused*/, PyObject* args) noexcept
254
+ {
255
+ auto arg_count = PyTuple_Size(args);
256
+
257
+ if (arg_count == 1)
258
+ {
259
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetStringForReference", 1))
260
+ {
261
+ py::set_arg_count_version_error(1);
262
+ return nullptr;
263
+ }
264
+
265
+ try
266
+ {
267
+ auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
268
+
269
+ return py::convert(winrt::Windows::ApplicationModel::Resources::ResourceLoader::GetStringForReference(param0));
270
+ }
271
+ catch (...)
272
+ {
273
+ py::to_PyErr();
274
+ return nullptr;
275
+ }
276
+ }
277
+ else
278
+ {
279
+ py::set_invalid_arg_count_error(arg_count);
280
+ return nullptr;
281
+ }
282
+ }
283
+
284
+ static PyObject* ResourceLoader_GetStringForUri(py::wrapper::Windows::ApplicationModel::Resources::ResourceLoader* self, PyObject* args) noexcept
285
+ {
286
+ auto arg_count = PyTuple_Size(args);
287
+
288
+ if (arg_count == 1)
289
+ {
290
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Resources.ResourceLoader", L"GetStringForUri", 1))
291
+ {
292
+ py::set_arg_count_version_error(1);
293
+ return nullptr;
294
+ }
295
+
296
+ try
297
+ {
298
+ auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
299
+
300
+ return py::convert(self->obj.GetStringForUri(param0));
301
+ }
302
+ catch (...)
303
+ {
304
+ py::to_PyErr();
305
+ return nullptr;
306
+ }
307
+ }
308
+ else
309
+ {
310
+ py::set_invalid_arg_count_error(arg_count);
311
+ return nullptr;
312
+ }
313
+ }
314
+
315
+ static PyObject* _assign_array_ResourceLoader(PyObject* /*unused*/, PyObject* arg) noexcept
316
+ {
317
+ auto array = std::make_unique<py::ComArray<winrt::Windows::ApplicationModel::Resources::ResourceLoader>>();
318
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
319
+ {
320
+ return nullptr;
321
+ }
322
+ Py_RETURN_NONE;
323
+ }
324
+
325
+ static PyObject* _from_ResourceLoader(PyObject* /*unused*/, PyObject* arg) noexcept
326
+ {
327
+ try
328
+ {
329
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
330
+ return py::convert(return_value.as<winrt::Windows::ApplicationModel::Resources::ResourceLoader>());
331
+ }
332
+ catch (...)
333
+ {
334
+ py::to_PyErr();
335
+ return nullptr;
336
+ }
337
+ }
338
+
339
+ static PyMethodDef _methods_ResourceLoader[] = {
340
+ { "get_string", reinterpret_cast<PyCFunction>(ResourceLoader_GetString), METH_VARARGS, nullptr },
341
+ { "get_string_for_uri", reinterpret_cast<PyCFunction>(ResourceLoader_GetStringForUri), METH_VARARGS, nullptr },
342
+ { "_assign_array_", _assign_array_ResourceLoader, METH_O | METH_STATIC, nullptr },
343
+ { "_from", reinterpret_cast<PyCFunction>(_from_ResourceLoader), METH_O | METH_STATIC, nullptr },
344
+ { }
345
+ };
346
+
347
+ static PyGetSetDef _getset_ResourceLoader[] = {
348
+ { }
349
+ };
350
+
351
+ static PyType_Slot _type_slots_ResourceLoader[] =
352
+ {
353
+ { Py_tp_new, reinterpret_cast<void*>(_new_ResourceLoader) },
354
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ResourceLoader) },
355
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_ResourceLoader) },
356
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_ResourceLoader) },
357
+ { },
358
+ };
359
+
360
+ static PyType_Spec type_spec_ResourceLoader =
361
+ {
362
+ "winrt._winrt_windows_applicationmodel_resources.ResourceLoader",
363
+ sizeof(py::wrapper::Windows::ApplicationModel::Resources::ResourceLoader),
364
+ 0,
365
+ Py_TPFLAGS_DEFAULT,
366
+ _type_slots_ResourceLoader
367
+ };
368
+
369
+ static PyGetSetDef getset_ResourceLoader_Static[] = {
370
+ { }
371
+ };
372
+
373
+ static PyMethodDef methods_ResourceLoader_Static[] = {
374
+ { "get_default_pri_path", reinterpret_cast<PyCFunction>(ResourceLoader_GetDefaultPriPath), METH_VARARGS, nullptr },
375
+ { "get_for_current_view", reinterpret_cast<PyCFunction>(ResourceLoader_GetForCurrentView), METH_VARARGS, nullptr },
376
+ { "get_for_u_i_context", reinterpret_cast<PyCFunction>(ResourceLoader_GetForUIContext), METH_VARARGS, nullptr },
377
+ { "get_for_view_independent_use", reinterpret_cast<PyCFunction>(ResourceLoader_GetForViewIndependentUse), METH_VARARGS, nullptr },
378
+ { "get_string_for_reference", reinterpret_cast<PyCFunction>(ResourceLoader_GetStringForReference), METH_VARARGS, nullptr },
379
+ { }
380
+ };
381
+
382
+ static PyType_Slot type_slots_ResourceLoader_Static[] =
383
+ {
384
+ { Py_tp_base, reinterpret_cast<void*>(&PyType_Type) },
385
+ { Py_tp_getset, reinterpret_cast<void*>(getset_ResourceLoader_Static) },
386
+ { Py_tp_methods, reinterpret_cast<void*>(methods_ResourceLoader_Static) },
387
+ { }
388
+ };
389
+
390
+ static PyType_Spec type_spec_ResourceLoader_Static =
391
+ {
392
+ "winrt._winrt_windows_applicationmodel_resources.ResourceLoader_Static",
393
+ static_cast<int>(PyType_Type.tp_basicsize),
394
+ static_cast<int>(PyType_Type.tp_itemsize),
395
+ Py_TPFLAGS_DEFAULT,
396
+ type_slots_ResourceLoader_Static
397
+ };
398
+
399
+ // ----- Windows.ApplicationModel.Resources Initialization --------------------
400
+ PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::Resources");
401
+
402
+
403
+ static PyModuleDef module_def
404
+ = {PyModuleDef_HEAD_INIT,
405
+ "_winrt_windows_applicationmodel_resources",
406
+ module_doc,
407
+ 0,
408
+ nullptr,
409
+ nullptr,
410
+ nullptr,
411
+ nullptr,
412
+ nullptr};
413
+
414
+ } // py::cpp::Windows::ApplicationModel::Resources
415
+
416
+ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_resources(void) noexcept
417
+ {
418
+ using namespace py::cpp::Windows::ApplicationModel::Resources;
419
+
420
+ if (py::import_winrt_runtime() == -1)
421
+ {
422
+ return nullptr;
423
+ }
424
+
425
+ py::pyobj_handle module{PyModule_Create(&module_def)};
426
+
427
+ if (!module)
428
+ {
429
+ return nullptr;
430
+ }
431
+
432
+ auto object_type = py::get_object_type();
433
+ if (!object_type)
434
+ {
435
+ return nullptr;
436
+ }
437
+
438
+ py::pyobj_handle object_bases{PyTuple_Pack(1, object_type)};
439
+
440
+ if (!object_bases)
441
+ {
442
+ return nullptr;
443
+ }
444
+
445
+ py::pyobj_handle type_ResourceLoader_Static{PyType_FromSpec(&type_spec_ResourceLoader_Static)};
446
+ if (!type_ResourceLoader_Static)
447
+ {
448
+ return nullptr;
449
+ }
450
+
451
+ if (py::register_python_type(module.get(), &type_spec_ResourceLoader, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_ResourceLoader_Static.get())) == -1)
452
+ {
453
+ return nullptr;
454
+ }
455
+
456
+
457
+ return module.detach();
458
+ }
@@ -0,0 +1,43 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
5
+ build-backend = "setuptools.build_meta"
6
+
7
+ [project]
8
+ name = "winrt-Windows.ApplicationModel.Resources"
9
+ description = "Python projection of Windows Runtime (WinRT) APIs"
10
+ readme = "README.md"
11
+ license = { text = "MIT" }
12
+ classifiers = [
13
+ "Operating System :: Microsoft :: Windows",
14
+ "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python :: Implementation :: CPython",
16
+ "Intended Audience :: Developers",
17
+ ]
18
+ dynamic = ["version", "dependencies", "optional-dependencies"]
19
+ requires-python = ">=3.9,<3.13"
20
+
21
+ [project.urls]
22
+ # Homepage = "https://github.com/pywrint/pywrinrt"
23
+ # Documentation = "https://readthedocs.org"
24
+ Repository = "https://github.com/pywrint/pywrinrt"
25
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
26
+
27
+ [tool.setuptools.dynamic]
28
+ version = { file = "pywinrt-version.txt" }
29
+ dependencies = { file = "requirements.txt" }
30
+ optional-dependencies.all = { file = "all-requirements.txt" }
31
+
32
+ [tool.cibuildwheel]
33
+ # use local winrt-sdk build dependency
34
+ environment = { PYTHONPATH="../winrt-sdk/src" }
35
+ # don't install winrt-sdk from PyPI
36
+ build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
37
+ # don't build for PyPy
38
+ skip = "pp*"
39
+ # suppress warnings about ARM64 testing
40
+ test-skip = "*-win_arm64"
41
+
42
+ [tool.cibuildwheel.windows]
43
+ archs = ["x86", "AMD64", "ARM64"]
@@ -0,0 +1,3 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ winrt-runtime==2.0.0-beta.1
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,17 @@
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",
10
+ sources=["py.Windows.ApplicationModel.Resources.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
+ )
@@ -0,0 +1,39 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation
13
+ import winrt.windows.ui
14
+
15
+ Self = typing.TypeVar('Self')
16
+
17
+ class ResourceLoader_Static(type):
18
+ def get_default_pri_path(cls, package_full_name: str, /) -> str: ...
19
+ @typing.overload
20
+ def get_for_current_view(cls) -> typing.Optional[ResourceLoader]: ...
21
+ @typing.overload
22
+ def get_for_current_view(cls, name: str, /) -> typing.Optional[ResourceLoader]: ...
23
+ def get_for_u_i_context(cls, context: typing.Optional[winrt.windows.ui.UIContext], /) -> typing.Optional[ResourceLoader]: ...
24
+ @typing.overload
25
+ def get_for_view_independent_use(cls) -> typing.Optional[ResourceLoader]: ...
26
+ @typing.overload
27
+ def get_for_view_independent_use(cls, name: str, /) -> typing.Optional[ResourceLoader]: ...
28
+ def get_string_for_reference(cls, uri: typing.Optional[winrt.windows.foundation.Uri], /) -> str: ...
29
+
30
+ class ResourceLoader(winrt.system.Object, metaclass=ResourceLoader_Static):
31
+ @staticmethod
32
+ def _from(obj: winrt.system.Object, /) -> ResourceLoader: ...
33
+ @typing.overload
34
+ def __new__(cls: typing.Type[ResourceLoader], name: str) -> ResourceLoader:...
35
+ @typing.overload
36
+ def __new__(cls: typing.Type[ResourceLoader]) -> ResourceLoader:...
37
+ def get_string(self, resource: str, /) -> str: ...
38
+ def get_string_for_uri(self, uri: typing.Optional[winrt.windows.foundation.Uri], /) -> str: ...
39
+
@@ -0,0 +1,10 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import winrt.system
4
+ from winrt import _winrt_windows_applicationmodel_resources
5
+
6
+ __all__ = [
7
+ "ResourceLoader",
8
+ ]
9
+
10
+ ResourceLoader = _winrt_windows_applicationmodel_resources.ResourceLoader
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Resources
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Provides-Extra: all
15
+
16
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
17
+
18
+ # winrt-Windows.ApplicationModel.Resources
19
+
20
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Resources` namespace.
21
+
22
+ This package provides the `winrt.windows.applicationmodel.resources` module.
@@ -0,0 +1,14 @@
1
+ README.md
2
+ all-requirements.txt
3
+ py.Windows.ApplicationModel.Resources.cpp
4
+ pyproject.toml
5
+ pywinrt-version.txt
6
+ requirements.txt
7
+ setup.py
8
+ winrt/_winrt_windows_applicationmodel_resources.pyi
9
+ winrt/windows/applicationmodel/resources/__init__.py
10
+ winrt_Windows.ApplicationModel.Resources.egg-info/PKG-INFO
11
+ winrt_Windows.ApplicationModel.Resources.egg-info/SOURCES.txt
12
+ winrt_Windows.ApplicationModel.Resources.egg-info/dependency_links.txt
13
+ winrt_Windows.ApplicationModel.Resources.egg-info/requires.txt
14
+ winrt_Windows.ApplicationModel.Resources.egg-info/top_level.txt
@@ -0,0 +1,5 @@
1
+ winrt-runtime==2.0.0-beta.1
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.0.0-beta.1
5
+ winrt-Windows.UI[all]==2.0.0-beta.1