winrt-Windows.System.Profile.SystemManufacturers 2.2.0__tar.gz → 3.0.0__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_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/PKG-INFO +4 -4
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/all-requirements.txt +2 -2
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/py.Windows.System.Profile.SystemManufacturers.cpp +113 -59
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/pyproject.toml +2 -2
- winrt_windows_system_profile_systemmanufacturers-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/requirements.txt +2 -2
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/setup.py +1 -1
- winrt_windows_system_profile_systemmanufacturers-3.0.0/winrt/_winrt_windows_system_profile_systemmanufacturers.pyi +77 -0
- winrt_windows_system_profile_systemmanufacturers-3.0.0/winrt/windows/system/profile/systemmanufacturers/__init__.py +17 -0
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/PKG-INFO +4 -4
- winrt_windows_system_profile_systemmanufacturers-3.0.0/winrt_Windows.System.Profile.SystemManufacturers.egg-info/requires.txt +4 -0
- winrt_windows_system_profile_systemmanufacturers-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_system_profile_systemmanufacturers-2.2.0/winrt/_winrt_windows_system_profile_systemmanufacturers.pyi +0 -67
- winrt_windows_system_profile_systemmanufacturers-2.2.0/winrt/windows/system/profile/systemmanufacturers/__init__.py +0 -16
- winrt_windows_system_profile_systemmanufacturers-2.2.0/winrt_Windows.System.Profile.SystemManufacturers.egg-info/requires.txt +0 -4
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/README.md +0 -0
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/setup.cfg +0 -0
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/winrt/windows/system/profile/systemmanufacturers/py.typed +0 -0
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_profile_systemmanufacturers-2.2.0 → winrt_windows_system_profile_systemmanufacturers-3.0.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Profile.SystemManufacturers
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.Foundation[all]==
|
|
3
|
+
winrt-Windows.Foundation[all]==3.0.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.Profile.SystemManufacturers.h"
|
|
4
4
|
|
|
@@ -38,7 +38,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
38
38
|
return nullptr;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
return py::convert(
|
|
41
|
+
return py::convert([&]()
|
|
42
|
+
{
|
|
43
|
+
auto _gil = release_gil();
|
|
44
|
+
return self->obj.SupportAppLink();
|
|
45
|
+
}());
|
|
42
46
|
}
|
|
43
47
|
catch (...)
|
|
44
48
|
{
|
|
@@ -64,7 +68,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
64
68
|
return nullptr;
|
|
65
69
|
}
|
|
66
70
|
|
|
67
|
-
return py::convert(
|
|
71
|
+
return py::convert([&]()
|
|
72
|
+
{
|
|
73
|
+
auto _gil = release_gil();
|
|
74
|
+
return self->obj.SupportLink();
|
|
75
|
+
}());
|
|
68
76
|
}
|
|
69
77
|
catch (...)
|
|
70
78
|
{
|
|
@@ -90,7 +98,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
90
98
|
return nullptr;
|
|
91
99
|
}
|
|
92
100
|
|
|
93
|
-
return py::convert(
|
|
101
|
+
return py::convert([&]()
|
|
102
|
+
{
|
|
103
|
+
auto _gil = release_gil();
|
|
104
|
+
return self->obj.SupportProvider();
|
|
105
|
+
}());
|
|
94
106
|
}
|
|
95
107
|
catch (...)
|
|
96
108
|
{
|
|
@@ -126,23 +138,20 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
126
138
|
static PyMethodDef _methods_OemSupportInfo[] = {
|
|
127
139
|
{ "_assign_array_", _assign_array_OemSupportInfo, METH_O | METH_STATIC, nullptr },
|
|
128
140
|
{ "_from", reinterpret_cast<PyCFunction>(_from_OemSupportInfo), METH_O | METH_STATIC, nullptr },
|
|
129
|
-
{ }
|
|
130
|
-
};
|
|
141
|
+
{ }};
|
|
131
142
|
|
|
132
143
|
static PyGetSetDef _getset_OemSupportInfo[] = {
|
|
133
144
|
{ "support_app_link", reinterpret_cast<getter>(OemSupportInfo_get_SupportAppLink), nullptr, nullptr, nullptr },
|
|
134
145
|
{ "support_link", reinterpret_cast<getter>(OemSupportInfo_get_SupportLink), nullptr, nullptr, nullptr },
|
|
135
146
|
{ "support_provider", reinterpret_cast<getter>(OemSupportInfo_get_SupportProvider), nullptr, nullptr, nullptr },
|
|
136
|
-
{ }
|
|
137
|
-
};
|
|
147
|
+
{ }};
|
|
138
148
|
|
|
139
149
|
static PyType_Slot _type_slots_OemSupportInfo[] = {
|
|
140
150
|
{ Py_tp_new, reinterpret_cast<void*>(_new_OemSupportInfo) },
|
|
141
151
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_OemSupportInfo) },
|
|
142
152
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_OemSupportInfo) },
|
|
143
153
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_OemSupportInfo) },
|
|
144
|
-
{ }
|
|
145
|
-
};
|
|
154
|
+
{ }};
|
|
146
155
|
|
|
147
156
|
static PyType_Spec type_spec_OemSupportInfo = {
|
|
148
157
|
"winrt._winrt_windows_system_profile_systemmanufacturers.OemSupportInfo",
|
|
@@ -177,7 +186,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
177
186
|
return nullptr;
|
|
178
187
|
}
|
|
179
188
|
|
|
180
|
-
return py::convert(
|
|
189
|
+
return py::convert([&]()
|
|
190
|
+
{
|
|
191
|
+
auto _gil = release_gil();
|
|
192
|
+
return winrt::Windows::System::Profile::SystemManufacturers::SmbiosInformation::SerialNumber();
|
|
193
|
+
}());
|
|
181
194
|
}
|
|
182
195
|
catch (...)
|
|
183
196
|
{
|
|
@@ -187,19 +200,16 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
187
200
|
}
|
|
188
201
|
|
|
189
202
|
static PyMethodDef _methods_SmbiosInformation[] = {
|
|
190
|
-
{ }
|
|
191
|
-
};
|
|
203
|
+
{ }};
|
|
192
204
|
|
|
193
205
|
static PyGetSetDef _getset_SmbiosInformation[] = {
|
|
194
|
-
{ }
|
|
195
|
-
};
|
|
206
|
+
{ }};
|
|
196
207
|
|
|
197
208
|
static PyType_Slot _type_slots_SmbiosInformation[] = {
|
|
198
209
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SmbiosInformation) },
|
|
199
210
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SmbiosInformation) },
|
|
200
211
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SmbiosInformation) },
|
|
201
|
-
{ }
|
|
202
|
-
};
|
|
212
|
+
{ }};
|
|
203
213
|
|
|
204
214
|
static PyType_Spec type_spec_SmbiosInformation = {
|
|
205
215
|
"winrt._winrt_windows_system_profile_systemmanufacturers.SmbiosInformation",
|
|
@@ -210,12 +220,10 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
210
220
|
|
|
211
221
|
static PyGetSetDef getset_SmbiosInformation_Static[] = {
|
|
212
222
|
{ "serial_number", reinterpret_cast<getter>(SmbiosInformation_get_SerialNumber), nullptr, nullptr, nullptr },
|
|
213
|
-
{ }
|
|
214
|
-
};
|
|
223
|
+
{ }};
|
|
215
224
|
|
|
216
225
|
static PyMethodDef methods_SmbiosInformation_Static[] = {
|
|
217
|
-
{ }
|
|
218
|
-
};
|
|
226
|
+
{ }};
|
|
219
227
|
|
|
220
228
|
static PyType_Slot type_slots_SmbiosInformation_Static[] =
|
|
221
229
|
{
|
|
@@ -225,14 +233,12 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
225
233
|
{ }
|
|
226
234
|
};
|
|
227
235
|
|
|
228
|
-
static PyType_Spec type_spec_SmbiosInformation_Static =
|
|
229
|
-
{
|
|
236
|
+
static PyType_Spec type_spec_SmbiosInformation_Static = {
|
|
230
237
|
"winrt._winrt_windows_system_profile_systemmanufacturers.SmbiosInformation_Static",
|
|
231
238
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
232
239
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
233
240
|
Py_TPFLAGS_DEFAULT,
|
|
234
|
-
type_slots_SmbiosInformation_Static
|
|
235
|
-
};
|
|
241
|
+
type_slots_SmbiosInformation_Static};
|
|
236
242
|
|
|
237
243
|
// ----- SystemSupportDeviceInfo class --------------------
|
|
238
244
|
|
|
@@ -268,7 +274,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
268
274
|
return nullptr;
|
|
269
275
|
}
|
|
270
276
|
|
|
271
|
-
return py::convert(
|
|
277
|
+
return py::convert([&]()
|
|
278
|
+
{
|
|
279
|
+
auto _gil = release_gil();
|
|
280
|
+
return self->obj.FriendlyName();
|
|
281
|
+
}());
|
|
272
282
|
}
|
|
273
283
|
catch (...)
|
|
274
284
|
{
|
|
@@ -294,7 +304,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
294
304
|
return nullptr;
|
|
295
305
|
}
|
|
296
306
|
|
|
297
|
-
return py::convert(
|
|
307
|
+
return py::convert([&]()
|
|
308
|
+
{
|
|
309
|
+
auto _gil = release_gil();
|
|
310
|
+
return self->obj.OperatingSystem();
|
|
311
|
+
}());
|
|
298
312
|
}
|
|
299
313
|
catch (...)
|
|
300
314
|
{
|
|
@@ -320,7 +334,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
320
334
|
return nullptr;
|
|
321
335
|
}
|
|
322
336
|
|
|
323
|
-
return py::convert(
|
|
337
|
+
return py::convert([&]()
|
|
338
|
+
{
|
|
339
|
+
auto _gil = release_gil();
|
|
340
|
+
return self->obj.SystemFirmwareVersion();
|
|
341
|
+
}());
|
|
324
342
|
}
|
|
325
343
|
catch (...)
|
|
326
344
|
{
|
|
@@ -346,7 +364,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
346
364
|
return nullptr;
|
|
347
365
|
}
|
|
348
366
|
|
|
349
|
-
return py::convert(
|
|
367
|
+
return py::convert([&]()
|
|
368
|
+
{
|
|
369
|
+
auto _gil = release_gil();
|
|
370
|
+
return self->obj.SystemHardwareVersion();
|
|
371
|
+
}());
|
|
350
372
|
}
|
|
351
373
|
catch (...)
|
|
352
374
|
{
|
|
@@ -372,7 +394,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
372
394
|
return nullptr;
|
|
373
395
|
}
|
|
374
396
|
|
|
375
|
-
return py::convert(
|
|
397
|
+
return py::convert([&]()
|
|
398
|
+
{
|
|
399
|
+
auto _gil = release_gil();
|
|
400
|
+
return self->obj.SystemManufacturer();
|
|
401
|
+
}());
|
|
376
402
|
}
|
|
377
403
|
catch (...)
|
|
378
404
|
{
|
|
@@ -398,7 +424,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
398
424
|
return nullptr;
|
|
399
425
|
}
|
|
400
426
|
|
|
401
|
-
return py::convert(
|
|
427
|
+
return py::convert([&]()
|
|
428
|
+
{
|
|
429
|
+
auto _gil = release_gil();
|
|
430
|
+
return self->obj.SystemProductName();
|
|
431
|
+
}());
|
|
402
432
|
}
|
|
403
433
|
catch (...)
|
|
404
434
|
{
|
|
@@ -424,7 +454,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
424
454
|
return nullptr;
|
|
425
455
|
}
|
|
426
456
|
|
|
427
|
-
return py::convert(
|
|
457
|
+
return py::convert([&]()
|
|
458
|
+
{
|
|
459
|
+
auto _gil = release_gil();
|
|
460
|
+
return self->obj.SystemSku();
|
|
461
|
+
}());
|
|
428
462
|
}
|
|
429
463
|
catch (...)
|
|
430
464
|
{
|
|
@@ -460,8 +494,7 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
460
494
|
static PyMethodDef _methods_SystemSupportDeviceInfo[] = {
|
|
461
495
|
{ "_assign_array_", _assign_array_SystemSupportDeviceInfo, METH_O | METH_STATIC, nullptr },
|
|
462
496
|
{ "_from", reinterpret_cast<PyCFunction>(_from_SystemSupportDeviceInfo), METH_O | METH_STATIC, nullptr },
|
|
463
|
-
{ }
|
|
464
|
-
};
|
|
497
|
+
{ }};
|
|
465
498
|
|
|
466
499
|
static PyGetSetDef _getset_SystemSupportDeviceInfo[] = {
|
|
467
500
|
{ "friendly_name", reinterpret_cast<getter>(SystemSupportDeviceInfo_get_FriendlyName), nullptr, nullptr, nullptr },
|
|
@@ -471,16 +504,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
471
504
|
{ "system_manufacturer", reinterpret_cast<getter>(SystemSupportDeviceInfo_get_SystemManufacturer), nullptr, nullptr, nullptr },
|
|
472
505
|
{ "system_product_name", reinterpret_cast<getter>(SystemSupportDeviceInfo_get_SystemProductName), nullptr, nullptr, nullptr },
|
|
473
506
|
{ "system_sku", reinterpret_cast<getter>(SystemSupportDeviceInfo_get_SystemSku), nullptr, nullptr, nullptr },
|
|
474
|
-
{ }
|
|
475
|
-
};
|
|
507
|
+
{ }};
|
|
476
508
|
|
|
477
509
|
static PyType_Slot _type_slots_SystemSupportDeviceInfo[] = {
|
|
478
510
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SystemSupportDeviceInfo) },
|
|
479
511
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SystemSupportDeviceInfo) },
|
|
480
512
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SystemSupportDeviceInfo) },
|
|
481
513
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SystemSupportDeviceInfo) },
|
|
482
|
-
{ }
|
|
483
|
-
};
|
|
514
|
+
{ }};
|
|
484
515
|
|
|
485
516
|
static PyType_Spec type_spec_SystemSupportDeviceInfo = {
|
|
486
517
|
"winrt._winrt_windows_system_profile_systemmanufacturers.SystemSupportDeviceInfo",
|
|
@@ -515,7 +546,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
515
546
|
return nullptr;
|
|
516
547
|
}
|
|
517
548
|
|
|
518
|
-
return py::convert(
|
|
549
|
+
return py::convert([&]()
|
|
550
|
+
{
|
|
551
|
+
auto _gil = release_gil();
|
|
552
|
+
return winrt::Windows::System::Profile::SystemManufacturers::SystemSupportInfo::LocalSystemEdition();
|
|
553
|
+
}());
|
|
519
554
|
}
|
|
520
555
|
catch (...)
|
|
521
556
|
{
|
|
@@ -541,7 +576,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
541
576
|
return nullptr;
|
|
542
577
|
}
|
|
543
578
|
|
|
544
|
-
return py::convert(
|
|
579
|
+
return py::convert([&]()
|
|
580
|
+
{
|
|
581
|
+
auto _gil = release_gil();
|
|
582
|
+
return winrt::Windows::System::Profile::SystemManufacturers::SystemSupportInfo::OemSupportInfo();
|
|
583
|
+
}());
|
|
545
584
|
}
|
|
546
585
|
catch (...)
|
|
547
586
|
{
|
|
@@ -567,7 +606,11 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
567
606
|
return nullptr;
|
|
568
607
|
}
|
|
569
608
|
|
|
570
|
-
return py::convert(
|
|
609
|
+
return py::convert([&]()
|
|
610
|
+
{
|
|
611
|
+
auto _gil = release_gil();
|
|
612
|
+
return winrt::Windows::System::Profile::SystemManufacturers::SystemSupportInfo::LocalDeviceInfo();
|
|
613
|
+
}());
|
|
571
614
|
}
|
|
572
615
|
catch (...)
|
|
573
616
|
{
|
|
@@ -577,19 +620,16 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
577
620
|
}
|
|
578
621
|
|
|
579
622
|
static PyMethodDef _methods_SystemSupportInfo[] = {
|
|
580
|
-
{ }
|
|
581
|
-
};
|
|
623
|
+
{ }};
|
|
582
624
|
|
|
583
625
|
static PyGetSetDef _getset_SystemSupportInfo[] = {
|
|
584
|
-
{ }
|
|
585
|
-
};
|
|
626
|
+
{ }};
|
|
586
627
|
|
|
587
628
|
static PyType_Slot _type_slots_SystemSupportInfo[] = {
|
|
588
629
|
{ Py_tp_new, reinterpret_cast<void*>(_new_SystemSupportInfo) },
|
|
589
630
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SystemSupportInfo) },
|
|
590
631
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SystemSupportInfo) },
|
|
591
|
-
{ }
|
|
592
|
-
};
|
|
632
|
+
{ }};
|
|
593
633
|
|
|
594
634
|
static PyType_Spec type_spec_SystemSupportInfo = {
|
|
595
635
|
"winrt._winrt_windows_system_profile_systemmanufacturers.SystemSupportInfo",
|
|
@@ -602,12 +642,10 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
602
642
|
{ "local_system_edition", reinterpret_cast<getter>(SystemSupportInfo_get_LocalSystemEdition), nullptr, nullptr, nullptr },
|
|
603
643
|
{ "oem_support_info", reinterpret_cast<getter>(SystemSupportInfo_get_OemSupportInfo), nullptr, nullptr, nullptr },
|
|
604
644
|
{ "local_device_info", reinterpret_cast<getter>(SystemSupportInfo_get_LocalDeviceInfo), nullptr, nullptr, nullptr },
|
|
605
|
-
{ }
|
|
606
|
-
};
|
|
645
|
+
{ }};
|
|
607
646
|
|
|
608
647
|
static PyMethodDef methods_SystemSupportInfo_Static[] = {
|
|
609
|
-
{ }
|
|
610
|
-
};
|
|
648
|
+
{ }};
|
|
611
649
|
|
|
612
650
|
static PyType_Slot type_slots_SystemSupportInfo_Static[] =
|
|
613
651
|
{
|
|
@@ -617,14 +655,12 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
|
|
|
617
655
|
{ }
|
|
618
656
|
};
|
|
619
657
|
|
|
620
|
-
static PyType_Spec type_spec_SystemSupportInfo_Static =
|
|
621
|
-
{
|
|
658
|
+
static PyType_Spec type_spec_SystemSupportInfo_Static = {
|
|
622
659
|
"winrt._winrt_windows_system_profile_systemmanufacturers.SystemSupportInfo_Static",
|
|
623
660
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
624
661
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
625
662
|
Py_TPFLAGS_DEFAULT,
|
|
626
|
-
type_slots_SystemSupportInfo_Static
|
|
627
|
-
};
|
|
663
|
+
type_slots_SystemSupportInfo_Static};
|
|
628
664
|
|
|
629
665
|
// ----- Windows.System.Profile.SystemManufacturers Initialization --------------------
|
|
630
666
|
|
|
@@ -658,6 +694,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile_systemmanufacturers(void) no
|
|
|
658
694
|
return nullptr;
|
|
659
695
|
}
|
|
660
696
|
|
|
697
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
698
|
+
if (!inspectable_meta_type)
|
|
699
|
+
{
|
|
700
|
+
return nullptr;
|
|
701
|
+
}
|
|
702
|
+
|
|
661
703
|
auto object_type = py::get_object_type();
|
|
662
704
|
if (!object_type)
|
|
663
705
|
{
|
|
@@ -671,13 +713,19 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile_systemmanufacturers(void) no
|
|
|
671
713
|
return nullptr;
|
|
672
714
|
}
|
|
673
715
|
|
|
674
|
-
py::pytype_handle OemSupportInfo_type{py::register_python_type(module.get(), &type_spec_OemSupportInfo, object_bases.get(),
|
|
716
|
+
py::pytype_handle OemSupportInfo_type{py::register_python_type(module.get(), &type_spec_OemSupportInfo, object_bases.get(), inspectable_meta_type)};
|
|
675
717
|
if (!OemSupportInfo_type)
|
|
676
718
|
{
|
|
677
719
|
return nullptr;
|
|
678
720
|
}
|
|
679
721
|
|
|
680
|
-
py::pyobj_handle
|
|
722
|
+
py::pyobj_handle SmbiosInformation_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
723
|
+
if (!SmbiosInformation_Static_bases)
|
|
724
|
+
{
|
|
725
|
+
return nullptr;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
py::pyobj_handle type_SmbiosInformation_Static{PyType_FromSpecWithBases(&type_spec_SmbiosInformation_Static, SmbiosInformation_Static_bases.get())};
|
|
681
729
|
if (!type_SmbiosInformation_Static)
|
|
682
730
|
{
|
|
683
731
|
return nullptr;
|
|
@@ -689,13 +737,19 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile_systemmanufacturers(void) no
|
|
|
689
737
|
return nullptr;
|
|
690
738
|
}
|
|
691
739
|
|
|
692
|
-
py::pytype_handle SystemSupportDeviceInfo_type{py::register_python_type(module.get(), &type_spec_SystemSupportDeviceInfo, object_bases.get(),
|
|
740
|
+
py::pytype_handle SystemSupportDeviceInfo_type{py::register_python_type(module.get(), &type_spec_SystemSupportDeviceInfo, object_bases.get(), inspectable_meta_type)};
|
|
693
741
|
if (!SystemSupportDeviceInfo_type)
|
|
694
742
|
{
|
|
695
743
|
return nullptr;
|
|
696
744
|
}
|
|
697
745
|
|
|
698
|
-
py::pyobj_handle
|
|
746
|
+
py::pyobj_handle SystemSupportInfo_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
747
|
+
if (!SystemSupportInfo_Static_bases)
|
|
748
|
+
{
|
|
749
|
+
return nullptr;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
py::pyobj_handle type_SystemSupportInfo_Static{PyType_FromSpecWithBases(&type_spec_SystemSupportInfo_Static, SystemSupportInfo_Static_bases.get())};
|
|
699
753
|
if (!type_SystemSupportInfo_Static)
|
|
700
754
|
{
|
|
701
755
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
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 as windows_foundation
|
|
13
|
+
|
|
14
|
+
Self = typing.TypeVar('Self')
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class OemSupportInfo(winrt.system.Object):
|
|
18
|
+
# Windows.Foundation.Uri Windows.System.Profile.SystemManufacturers.OemSupportInfo::get_SupportAppLink()
|
|
19
|
+
@_property
|
|
20
|
+
def support_app_link(self) -> windows_foundation.Uri: ...
|
|
21
|
+
# Windows.Foundation.Uri Windows.System.Profile.SystemManufacturers.OemSupportInfo::get_SupportLink()
|
|
22
|
+
@_property
|
|
23
|
+
def support_link(self) -> windows_foundation.Uri: ...
|
|
24
|
+
# System.String Windows.System.Profile.SystemManufacturers.OemSupportInfo::get_SupportProvider()
|
|
25
|
+
@_property
|
|
26
|
+
def support_provider(self) -> str: ...
|
|
27
|
+
|
|
28
|
+
@typing.final
|
|
29
|
+
class SmbiosInformation_Static(winrt._winrt.IInspectable_Static):
|
|
30
|
+
# System.String Windows.System.Profile.SystemManufacturers.SmbiosInformation::get_SerialNumber()
|
|
31
|
+
@_property
|
|
32
|
+
def serial_number(cls) -> str: ...
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class SmbiosInformation(winrt.system.Object, metaclass=SmbiosInformation_Static):
|
|
36
|
+
pass
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class SystemSupportDeviceInfo(winrt.system.Object):
|
|
40
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo::get_FriendlyName()
|
|
41
|
+
@_property
|
|
42
|
+
def friendly_name(self) -> str: ...
|
|
43
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo::get_OperatingSystem()
|
|
44
|
+
@_property
|
|
45
|
+
def operating_system(self) -> str: ...
|
|
46
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo::get_SystemFirmwareVersion()
|
|
47
|
+
@_property
|
|
48
|
+
def system_firmware_version(self) -> str: ...
|
|
49
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo::get_SystemHardwareVersion()
|
|
50
|
+
@_property
|
|
51
|
+
def system_hardware_version(self) -> str: ...
|
|
52
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo::get_SystemManufacturer()
|
|
53
|
+
@_property
|
|
54
|
+
def system_manufacturer(self) -> str: ...
|
|
55
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo::get_SystemProductName()
|
|
56
|
+
@_property
|
|
57
|
+
def system_product_name(self) -> str: ...
|
|
58
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo::get_SystemSku()
|
|
59
|
+
@_property
|
|
60
|
+
def system_sku(self) -> str: ...
|
|
61
|
+
|
|
62
|
+
@typing.final
|
|
63
|
+
class SystemSupportInfo_Static(winrt._winrt.IInspectable_Static):
|
|
64
|
+
# System.String Windows.System.Profile.SystemManufacturers.SystemSupportInfo::get_LocalSystemEdition()
|
|
65
|
+
@_property
|
|
66
|
+
def local_system_edition(cls) -> str: ...
|
|
67
|
+
# Windows.System.Profile.SystemManufacturers.OemSupportInfo Windows.System.Profile.SystemManufacturers.SystemSupportInfo::get_OemSupportInfo()
|
|
68
|
+
@_property
|
|
69
|
+
def oem_support_info(cls) -> OemSupportInfo: ...
|
|
70
|
+
# Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo Windows.System.Profile.SystemManufacturers.SystemSupportInfo::get_LocalDeviceInfo()
|
|
71
|
+
@_property
|
|
72
|
+
def local_device_info(cls) -> SystemSupportDeviceInfo: ...
|
|
73
|
+
|
|
74
|
+
@typing.final
|
|
75
|
+
class SystemSupportInfo(winrt.system.Object, metaclass=SystemSupportInfo_Static):
|
|
76
|
+
pass
|
|
77
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt._winrt_windows_system_profile_systemmanufacturers import (
|
|
5
|
+
OemSupportInfo,
|
|
6
|
+
SmbiosInformation,
|
|
7
|
+
SystemSupportDeviceInfo,
|
|
8
|
+
SystemSupportInfo,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"OemSupportInfo",
|
|
13
|
+
"SmbiosInformation",
|
|
14
|
+
"SystemSupportDeviceInfo",
|
|
15
|
+
"SystemSupportInfo",
|
|
16
|
+
]
|
|
17
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Profile.SystemManufacturers
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.0
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
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 as windows_foundation
|
|
13
|
-
|
|
14
|
-
Self = typing.TypeVar('Self')
|
|
15
|
-
|
|
16
|
-
@typing.final
|
|
17
|
-
class OemSupportInfo(winrt.system.Object):
|
|
18
|
-
@staticmethod
|
|
19
|
-
def _from(obj: winrt.system.Object, /) -> OemSupportInfo: ...
|
|
20
|
-
@_property
|
|
21
|
-
def support_app_link(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
22
|
-
@_property
|
|
23
|
-
def support_link(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
24
|
-
@_property
|
|
25
|
-
def support_provider(self) -> str: ...
|
|
26
|
-
|
|
27
|
-
@typing.final
|
|
28
|
-
class SmbiosInformation_Static(type):
|
|
29
|
-
@_property
|
|
30
|
-
def serial_number(cls) -> str: ...
|
|
31
|
-
|
|
32
|
-
@typing.final
|
|
33
|
-
class SmbiosInformation(winrt.system.Object, metaclass=SmbiosInformation_Static):
|
|
34
|
-
pass
|
|
35
|
-
|
|
36
|
-
@typing.final
|
|
37
|
-
class SystemSupportDeviceInfo(winrt.system.Object):
|
|
38
|
-
@staticmethod
|
|
39
|
-
def _from(obj: winrt.system.Object, /) -> SystemSupportDeviceInfo: ...
|
|
40
|
-
@_property
|
|
41
|
-
def friendly_name(self) -> str: ...
|
|
42
|
-
@_property
|
|
43
|
-
def operating_system(self) -> str: ...
|
|
44
|
-
@_property
|
|
45
|
-
def system_firmware_version(self) -> str: ...
|
|
46
|
-
@_property
|
|
47
|
-
def system_hardware_version(self) -> str: ...
|
|
48
|
-
@_property
|
|
49
|
-
def system_manufacturer(self) -> str: ...
|
|
50
|
-
@_property
|
|
51
|
-
def system_product_name(self) -> str: ...
|
|
52
|
-
@_property
|
|
53
|
-
def system_sku(self) -> str: ...
|
|
54
|
-
|
|
55
|
-
@typing.final
|
|
56
|
-
class SystemSupportInfo_Static(type):
|
|
57
|
-
@_property
|
|
58
|
-
def local_system_edition(cls) -> str: ...
|
|
59
|
-
@_property
|
|
60
|
-
def oem_support_info(cls) -> typing.Optional[OemSupportInfo]: ...
|
|
61
|
-
@_property
|
|
62
|
-
def local_device_info(cls) -> typing.Optional[SystemSupportDeviceInfo]: ...
|
|
63
|
-
|
|
64
|
-
@typing.final
|
|
65
|
-
class SystemSupportInfo(winrt.system.Object, metaclass=SystemSupportInfo_Static):
|
|
66
|
-
pass
|
|
67
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
-
|
|
3
|
-
import winrt.system
|
|
4
|
-
from winrt import _winrt_windows_system_profile_systemmanufacturers
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"OemSupportInfo",
|
|
8
|
-
"SmbiosInformation",
|
|
9
|
-
"SystemSupportDeviceInfo",
|
|
10
|
-
"SystemSupportInfo",
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
OemSupportInfo = _winrt_windows_system_profile_systemmanufacturers.OemSupportInfo
|
|
14
|
-
SmbiosInformation = _winrt_windows_system_profile_systemmanufacturers.SmbiosInformation
|
|
15
|
-
SystemSupportDeviceInfo = _winrt_windows_system_profile_systemmanufacturers.SystemSupportDeviceInfo
|
|
16
|
-
SystemSupportInfo = _winrt_windows_system_profile_systemmanufacturers.SystemSupportInfo
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|