winrt-Windows.ApplicationModel.Wallet.System 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.
Files changed (16) hide show
  1. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/PKG-INFO +22 -0
  2. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/README.md +7 -0
  3. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/all-requirements.txt +6 -0
  4. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/py.Windows.ApplicationModel.Wallet.System.cpp +433 -0
  5. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/pyproject.toml +43 -0
  6. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/pywinrt-version.txt +1 -0
  7. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/requirements.txt +3 -0
  8. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/setup.cfg +4 -0
  9. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/setup.py +17 -0
  10. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/winrt/_winrt_windows_applicationmodel_wallet_system.pyi +38 -0
  11. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/winrt/windows/applicationmodel/wallet/system/__init__.py +20 -0
  12. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/winrt_Windows.ApplicationModel.Wallet.System.egg-info/PKG-INFO +22 -0
  13. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/winrt_Windows.ApplicationModel.Wallet.System.egg-info/SOURCES.txt +14 -0
  14. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/winrt_Windows.ApplicationModel.Wallet.System.egg-info/dependency_links.txt +1 -0
  15. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/winrt_Windows.ApplicationModel.Wallet.System.egg-info/requires.txt +7 -0
  16. winrt-Windows.ApplicationModel.Wallet.System-2.0.0b1/winrt_Windows.ApplicationModel.Wallet.System.egg-info/top_level.txt +1 -0
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Wallet.System
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.Wallet.System
19
+
20
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Wallet.System` namespace.
21
+
22
+ This package provides the `winrt.windows.applicationmodel.wallet.system` module.
@@ -0,0 +1,7 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.ApplicationModel.Wallet.System
4
+
5
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Wallet.System` namespace.
6
+
7
+ This package provides the `winrt.windows.applicationmodel.wallet.system` module.
@@ -0,0 +1,6 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ winrt-Windows.ApplicationModel.Wallet[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.Streams[all]==2.0.0-beta.1
@@ -0,0 +1,433 @@
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.Wallet.System.h"
4
+
5
+
6
+ namespace py::cpp::Windows::ApplicationModel::Wallet::System
7
+ {
8
+ // ----- WalletItemSystemStore class --------------------
9
+
10
+ static PyObject* _new_WalletItemSystemStore(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
11
+ {
12
+ static_assert(py::py_type<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore>::type_name);
13
+ py::set_invalid_activation_error(py::py_type<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore>::type_name);
14
+ return nullptr;
15
+ }
16
+
17
+ static void _dealloc_WalletItemSystemStore(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self) noexcept
18
+ {
19
+ auto tp = Py_TYPE(self);
20
+ std::destroy_at(&self->obj);
21
+ tp->tp_free(self);
22
+ Py_DECREF(tp);
23
+ }
24
+
25
+ static PyObject* WalletItemSystemStore_DeleteAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
26
+ {
27
+ auto arg_count = PyTuple_Size(args);
28
+
29
+ if (arg_count == 1)
30
+ {
31
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"DeleteAsync", 1))
32
+ {
33
+ py::set_arg_count_version_error(1);
34
+ return nullptr;
35
+ }
36
+
37
+ try
38
+ {
39
+ auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
40
+
41
+ return py::convert(self->obj.DeleteAsync(param0));
42
+ }
43
+ catch (...)
44
+ {
45
+ py::to_PyErr();
46
+ return nullptr;
47
+ }
48
+ }
49
+ else
50
+ {
51
+ py::set_invalid_arg_count_error(arg_count);
52
+ return nullptr;
53
+ }
54
+ }
55
+
56
+ static PyObject* WalletItemSystemStore_GetAppStatusForItem(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
57
+ {
58
+ auto arg_count = PyTuple_Size(args);
59
+
60
+ if (arg_count == 1)
61
+ {
62
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"GetAppStatusForItem", 1))
63
+ {
64
+ py::set_arg_count_version_error(1);
65
+ return nullptr;
66
+ }
67
+
68
+ try
69
+ {
70
+ auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
71
+
72
+ return py::convert(self->obj.GetAppStatusForItem(param0));
73
+ }
74
+ catch (...)
75
+ {
76
+ py::to_PyErr();
77
+ return nullptr;
78
+ }
79
+ }
80
+ else
81
+ {
82
+ py::set_invalid_arg_count_error(arg_count);
83
+ return nullptr;
84
+ }
85
+ }
86
+
87
+ static PyObject* WalletItemSystemStore_GetItemsAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
88
+ {
89
+ auto arg_count = PyTuple_Size(args);
90
+
91
+ if (arg_count == 0)
92
+ {
93
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"GetItemsAsync", 0))
94
+ {
95
+ py::set_arg_count_version_error(0);
96
+ return nullptr;
97
+ }
98
+
99
+ try
100
+ {
101
+ return py::convert(self->obj.GetItemsAsync());
102
+ }
103
+ catch (...)
104
+ {
105
+ py::to_PyErr();
106
+ return nullptr;
107
+ }
108
+ }
109
+ else
110
+ {
111
+ py::set_invalid_arg_count_error(arg_count);
112
+ return nullptr;
113
+ }
114
+ }
115
+
116
+ static PyObject* WalletItemSystemStore_ImportItemAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
117
+ {
118
+ auto arg_count = PyTuple_Size(args);
119
+
120
+ if (arg_count == 1)
121
+ {
122
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ImportItemAsync", 1))
123
+ {
124
+ py::set_arg_count_version_error(1);
125
+ return nullptr;
126
+ }
127
+
128
+ try
129
+ {
130
+ auto param0 = py::convert_to<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>(args, 0);
131
+
132
+ return py::convert(self->obj.ImportItemAsync(param0));
133
+ }
134
+ catch (...)
135
+ {
136
+ py::to_PyErr();
137
+ return nullptr;
138
+ }
139
+ }
140
+ else
141
+ {
142
+ py::set_invalid_arg_count_error(arg_count);
143
+ return nullptr;
144
+ }
145
+ }
146
+
147
+ static PyObject* WalletItemSystemStore_LaunchAppForItemAsync(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* args) noexcept
148
+ {
149
+ auto arg_count = PyTuple_Size(args);
150
+
151
+ if (arg_count == 1)
152
+ {
153
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"LaunchAppForItemAsync", 1))
154
+ {
155
+ py::set_arg_count_version_error(1);
156
+ return nullptr;
157
+ }
158
+
159
+ try
160
+ {
161
+ auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Wallet::WalletItem>(args, 0);
162
+
163
+ return py::convert(self->obj.LaunchAppForItemAsync(param0));
164
+ }
165
+ catch (...)
166
+ {
167
+ py::to_PyErr();
168
+ return nullptr;
169
+ }
170
+ }
171
+ else
172
+ {
173
+ py::set_invalid_arg_count_error(arg_count);
174
+ return nullptr;
175
+ }
176
+ }
177
+
178
+ static PyObject* WalletItemSystemStore_add_ItemsChanged(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* arg) noexcept
179
+ {
180
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ItemsChanged"))
181
+ {
182
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
183
+ return nullptr;
184
+ }
185
+
186
+ try
187
+ {
188
+ auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable>>(arg);
189
+
190
+ return py::convert(self->obj.ItemsChanged(param0));
191
+ }
192
+ catch (...)
193
+ {
194
+ py::to_PyErr();
195
+ return nullptr;
196
+ }
197
+ }
198
+
199
+ static PyObject* WalletItemSystemStore_remove_ItemsChanged(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore* self, PyObject* arg) noexcept
200
+ {
201
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.Wallet.System.WalletItemSystemStore", L"ItemsChanged"))
202
+ {
203
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
204
+ return nullptr;
205
+ }
206
+
207
+ try
208
+ {
209
+ auto param0 = py::convert_to<winrt::event_token>(arg);
210
+
211
+ self->obj.ItemsChanged(param0);
212
+ Py_RETURN_NONE;
213
+ }
214
+ catch (...)
215
+ {
216
+ py::to_PyErr();
217
+ return nullptr;
218
+ }
219
+ }
220
+
221
+ static PyObject* _assign_array_WalletItemSystemStore(PyObject* /*unused*/, PyObject* arg) noexcept
222
+ {
223
+ auto array = std::make_unique<py::ComArray<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore>>();
224
+ if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
225
+ {
226
+ return nullptr;
227
+ }
228
+ Py_RETURN_NONE;
229
+ }
230
+
231
+ static PyObject* _from_WalletItemSystemStore(PyObject* /*unused*/, PyObject* arg) noexcept
232
+ {
233
+ try
234
+ {
235
+ auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
236
+ return py::convert(return_value.as<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore>());
237
+ }
238
+ catch (...)
239
+ {
240
+ py::to_PyErr();
241
+ return nullptr;
242
+ }
243
+ }
244
+
245
+ static PyMethodDef _methods_WalletItemSystemStore[] = {
246
+ { "delete_async", reinterpret_cast<PyCFunction>(WalletItemSystemStore_DeleteAsync), METH_VARARGS, nullptr },
247
+ { "get_app_status_for_item", reinterpret_cast<PyCFunction>(WalletItemSystemStore_GetAppStatusForItem), METH_VARARGS, nullptr },
248
+ { "get_items_async", reinterpret_cast<PyCFunction>(WalletItemSystemStore_GetItemsAsync), METH_VARARGS, nullptr },
249
+ { "import_item_async", reinterpret_cast<PyCFunction>(WalletItemSystemStore_ImportItemAsync), METH_VARARGS, nullptr },
250
+ { "launch_app_for_item_async", reinterpret_cast<PyCFunction>(WalletItemSystemStore_LaunchAppForItemAsync), METH_VARARGS, nullptr },
251
+ { "add_items_changed", reinterpret_cast<PyCFunction>(WalletItemSystemStore_add_ItemsChanged), METH_O, nullptr },
252
+ { "remove_items_changed", reinterpret_cast<PyCFunction>(WalletItemSystemStore_remove_ItemsChanged), METH_O, nullptr },
253
+ { "_assign_array_", _assign_array_WalletItemSystemStore, METH_O | METH_STATIC, nullptr },
254
+ { "_from", reinterpret_cast<PyCFunction>(_from_WalletItemSystemStore), METH_O | METH_STATIC, nullptr },
255
+ { }
256
+ };
257
+
258
+ static PyGetSetDef _getset_WalletItemSystemStore[] = {
259
+ { }
260
+ };
261
+
262
+ static PyType_Slot _type_slots_WalletItemSystemStore[] =
263
+ {
264
+ { Py_tp_new, reinterpret_cast<void*>(_new_WalletItemSystemStore) },
265
+ { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_WalletItemSystemStore) },
266
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_WalletItemSystemStore) },
267
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_WalletItemSystemStore) },
268
+ { },
269
+ };
270
+
271
+ static PyType_Spec type_spec_WalletItemSystemStore =
272
+ {
273
+ "winrt._winrt_windows_applicationmodel_wallet_system.WalletItemSystemStore",
274
+ sizeof(py::wrapper::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore),
275
+ 0,
276
+ Py_TPFLAGS_DEFAULT,
277
+ _type_slots_WalletItemSystemStore
278
+ };
279
+
280
+ // ----- WalletManagerSystem class --------------------
281
+
282
+ static PyObject* _new_WalletManagerSystem(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
283
+ {
284
+ static_assert(py::py_type<winrt::Windows::ApplicationModel::Wallet::System::WalletManagerSystem>::type_name);
285
+ py::set_invalid_activation_error(py::py_type<winrt::Windows::ApplicationModel::Wallet::System::WalletManagerSystem>::type_name);
286
+ return nullptr;
287
+ }
288
+
289
+ static PyObject* WalletManagerSystem_RequestStoreAsync(PyObject* /*unused*/, PyObject* args) noexcept
290
+ {
291
+ auto arg_count = PyTuple_Size(args);
292
+
293
+ if (arg_count == 0)
294
+ {
295
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Wallet.System.WalletManagerSystem", L"RequestStoreAsync", 0))
296
+ {
297
+ py::set_arg_count_version_error(0);
298
+ return nullptr;
299
+ }
300
+
301
+ try
302
+ {
303
+ return py::convert(winrt::Windows::ApplicationModel::Wallet::System::WalletManagerSystem::RequestStoreAsync());
304
+ }
305
+ catch (...)
306
+ {
307
+ py::to_PyErr();
308
+ return nullptr;
309
+ }
310
+ }
311
+ else
312
+ {
313
+ py::set_invalid_arg_count_error(arg_count);
314
+ return nullptr;
315
+ }
316
+ }
317
+
318
+ static PyMethodDef _methods_WalletManagerSystem[] = {
319
+ { }
320
+ };
321
+
322
+ static PyGetSetDef _getset_WalletManagerSystem[] = {
323
+ { }
324
+ };
325
+
326
+ static PyType_Slot _type_slots_WalletManagerSystem[] =
327
+ {
328
+ { Py_tp_new, reinterpret_cast<void*>(_new_WalletManagerSystem) },
329
+ { Py_tp_methods, reinterpret_cast<void*>(_methods_WalletManagerSystem) },
330
+ { Py_tp_getset, reinterpret_cast<void*>(_getset_WalletManagerSystem) },
331
+ { },
332
+ };
333
+
334
+ static PyType_Spec type_spec_WalletManagerSystem =
335
+ {
336
+ "winrt._winrt_windows_applicationmodel_wallet_system.WalletManagerSystem",
337
+ 0,
338
+ 0,
339
+ Py_TPFLAGS_DEFAULT,
340
+ _type_slots_WalletManagerSystem
341
+ };
342
+
343
+ static PyGetSetDef getset_WalletManagerSystem_Static[] = {
344
+ { }
345
+ };
346
+
347
+ static PyMethodDef methods_WalletManagerSystem_Static[] = {
348
+ { "request_store_async", reinterpret_cast<PyCFunction>(WalletManagerSystem_RequestStoreAsync), METH_VARARGS, nullptr },
349
+ { }
350
+ };
351
+
352
+ static PyType_Slot type_slots_WalletManagerSystem_Static[] =
353
+ {
354
+ { Py_tp_base, reinterpret_cast<void*>(&PyType_Type) },
355
+ { Py_tp_getset, reinterpret_cast<void*>(getset_WalletManagerSystem_Static) },
356
+ { Py_tp_methods, reinterpret_cast<void*>(methods_WalletManagerSystem_Static) },
357
+ { }
358
+ };
359
+
360
+ static PyType_Spec type_spec_WalletManagerSystem_Static =
361
+ {
362
+ "winrt._winrt_windows_applicationmodel_wallet_system.WalletManagerSystem_Static",
363
+ static_cast<int>(PyType_Type.tp_basicsize),
364
+ static_cast<int>(PyType_Type.tp_itemsize),
365
+ Py_TPFLAGS_DEFAULT,
366
+ type_slots_WalletManagerSystem_Static
367
+ };
368
+
369
+ // ----- Windows.ApplicationModel.Wallet.System Initialization --------------------
370
+ PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::Wallet::System");
371
+
372
+
373
+ static PyModuleDef module_def
374
+ = {PyModuleDef_HEAD_INIT,
375
+ "_winrt_windows_applicationmodel_wallet_system",
376
+ module_doc,
377
+ 0,
378
+ nullptr,
379
+ nullptr,
380
+ nullptr,
381
+ nullptr,
382
+ nullptr};
383
+
384
+ } // py::cpp::Windows::ApplicationModel::Wallet::System
385
+
386
+ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_wallet_system(void) noexcept
387
+ {
388
+ using namespace py::cpp::Windows::ApplicationModel::Wallet::System;
389
+
390
+ if (py::import_winrt_runtime() == -1)
391
+ {
392
+ return nullptr;
393
+ }
394
+
395
+ py::pyobj_handle module{PyModule_Create(&module_def)};
396
+
397
+ if (!module)
398
+ {
399
+ return nullptr;
400
+ }
401
+
402
+ auto object_type = py::get_object_type();
403
+ if (!object_type)
404
+ {
405
+ return nullptr;
406
+ }
407
+
408
+ py::pyobj_handle object_bases{PyTuple_Pack(1, object_type)};
409
+
410
+ if (!object_bases)
411
+ {
412
+ return nullptr;
413
+ }
414
+
415
+ if (py::register_python_type(module.get(), &type_spec_WalletItemSystemStore, object_bases.get(), nullptr) == -1)
416
+ {
417
+ return nullptr;
418
+ }
419
+
420
+ py::pyobj_handle type_WalletManagerSystem_Static{PyType_FromSpec(&type_spec_WalletManagerSystem_Static)};
421
+ if (!type_WalletManagerSystem_Static)
422
+ {
423
+ return nullptr;
424
+ }
425
+
426
+ if (py::register_python_type(module.get(), &type_spec_WalletManagerSystem, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_WalletManagerSystem_Static.get())) == -1)
427
+ {
428
+ return nullptr;
429
+ }
430
+
431
+
432
+ return module.detach();
433
+ }
@@ -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.Wallet.System"
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_wallet_system",
10
+ sources=["py.Windows.ApplicationModel.Wallet.System.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,38 @@
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.applicationmodel.wallet
13
+ import winrt.windows.foundation
14
+ import winrt.windows.foundation.collections
15
+ import winrt.windows.storage.streams
16
+
17
+ from winrt.windows.applicationmodel.wallet.system import WalletItemAppAssociation
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ class WalletItemSystemStore(winrt.system.Object):
22
+ @staticmethod
23
+ def _from(obj: winrt.system.Object, /) -> WalletItemSystemStore: ...
24
+ def delete_async(self, item: typing.Optional[winrt.windows.applicationmodel.wallet.WalletItem], /) -> winrt.windows.foundation.IAsyncAction: ...
25
+ def get_app_status_for_item(self, item: typing.Optional[winrt.windows.applicationmodel.wallet.WalletItem], /) -> WalletItemAppAssociation: ...
26
+ def get_items_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.applicationmodel.wallet.WalletItem]]: ...
27
+ def import_item_async(self, stream: typing.Optional[winrt.windows.storage.streams.IRandomAccessStreamReference], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.applicationmodel.wallet.WalletItem]: ...
28
+ def launch_app_for_item_async(self, item: typing.Optional[winrt.windows.applicationmodel.wallet.WalletItem], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
29
+ def add_items_changed(self, handler: winrt.windows.foundation.TypedEventHandler[WalletItemSystemStore, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
30
+ def remove_items_changed(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
31
+
32
+ class WalletManagerSystem_Static(type):
33
+ def request_store_async(cls) -> winrt.windows.foundation.IAsyncOperation[WalletItemSystemStore]: ...
34
+
35
+ class WalletManagerSystem(winrt.system.Object, metaclass=WalletManagerSystem_Static):
36
+ @staticmethod
37
+ def _from(obj: winrt.system.Object, /) -> WalletManagerSystem: ...
38
+
@@ -0,0 +1,20 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_applicationmodel_wallet_system
7
+
8
+ __all__ = [
9
+ "WalletItemAppAssociation",
10
+ "WalletItemSystemStore",
11
+ "WalletManagerSystem",
12
+ ]
13
+
14
+ class WalletItemAppAssociation(enum.IntEnum):
15
+ NONE = 0
16
+ APP_INSTALLED = 1
17
+ APP_NOT_INSTALLED = 2
18
+
19
+ WalletItemSystemStore = _winrt_windows_applicationmodel_wallet_system.WalletItemSystemStore
20
+ WalletManagerSystem = _winrt_windows_applicationmodel_wallet_system.WalletManagerSystem
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Wallet.System
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.Wallet.System
19
+
20
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Wallet.System` namespace.
21
+
22
+ This package provides the `winrt.windows.applicationmodel.wallet.system` module.
@@ -0,0 +1,14 @@
1
+ README.md
2
+ all-requirements.txt
3
+ py.Windows.ApplicationModel.Wallet.System.cpp
4
+ pyproject.toml
5
+ pywinrt-version.txt
6
+ requirements.txt
7
+ setup.py
8
+ winrt/_winrt_windows_applicationmodel_wallet_system.pyi
9
+ winrt/windows/applicationmodel/wallet/system/__init__.py
10
+ winrt_Windows.ApplicationModel.Wallet.System.egg-info/PKG-INFO
11
+ winrt_Windows.ApplicationModel.Wallet.System.egg-info/SOURCES.txt
12
+ winrt_Windows.ApplicationModel.Wallet.System.egg-info/dependency_links.txt
13
+ winrt_Windows.ApplicationModel.Wallet.System.egg-info/requires.txt
14
+ winrt_Windows.ApplicationModel.Wallet.System.egg-info/top_level.txt
@@ -0,0 +1,7 @@
1
+ winrt-runtime==2.0.0-beta.1
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel.Wallet[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.Streams[all]==2.0.0-beta.1