winrt-Windows.System.Profile 2.0.0b1__cp39-cp39-win_arm64.whl
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/_winrt_windows_system_profile.cp39-win_arm64.pyd +0 -0
- winrt/_winrt_windows_system_profile.pyi +214 -0
- winrt/windows/system/profile/__init__.py +67 -0
- winrt_Windows.System.Profile-2.0.0b1.dist-info/METADATA +27 -0
- winrt_Windows.System.Profile-2.0.0b1.dist-info/RECORD +7 -0
- winrt_Windows.System.Profile-2.0.0b1.dist-info/WHEEL +5 -0
- winrt_Windows.System.Profile-2.0.0b1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,214 @@
|
|
|
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.foundation.collections
|
|
14
|
+
import winrt.windows.storage.streams
|
|
15
|
+
import winrt.windows.system
|
|
16
|
+
|
|
17
|
+
from winrt.windows.system.profile import PlatformDataCollectionLevel, SystemIdentificationSource, SystemOutOfBoxExperienceState, UnsupportedAppRequirementReasons
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
class AnalyticsInfo_Static(type):
|
|
22
|
+
def get_system_properties_async(cls, attribute_names: typing.Iterable[str], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IMapView[str, str]]: ...
|
|
23
|
+
@_property
|
|
24
|
+
def device_form(cls) -> str: ...
|
|
25
|
+
@_property
|
|
26
|
+
def version_info(cls) -> typing.Optional[AnalyticsVersionInfo]: ...
|
|
27
|
+
|
|
28
|
+
class AnalyticsInfo(winrt.system.Object, metaclass=AnalyticsInfo_Static):
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _from(obj: winrt.system.Object, /) -> AnalyticsInfo: ...
|
|
31
|
+
|
|
32
|
+
class AnalyticsVersionInfo(winrt.system.Object):
|
|
33
|
+
@staticmethod
|
|
34
|
+
def _from(obj: winrt.system.Object, /) -> AnalyticsVersionInfo: ...
|
|
35
|
+
@_property
|
|
36
|
+
def device_family(self) -> str: ...
|
|
37
|
+
@_property
|
|
38
|
+
def device_family_version(self) -> str: ...
|
|
39
|
+
@_property
|
|
40
|
+
def product_name(self) -> str: ...
|
|
41
|
+
|
|
42
|
+
class AppApplicability_Static(type):
|
|
43
|
+
def get_unsupported_app_requirements(cls, capabilities: typing.Iterable[str], /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[UnsupportedAppRequirement]]: ...
|
|
44
|
+
|
|
45
|
+
class AppApplicability(winrt.system.Object, metaclass=AppApplicability_Static):
|
|
46
|
+
@staticmethod
|
|
47
|
+
def _from(obj: winrt.system.Object, /) -> AppApplicability: ...
|
|
48
|
+
|
|
49
|
+
class EducationSettings_Static(type):
|
|
50
|
+
@_property
|
|
51
|
+
def is_education_environment(cls) -> bool: ...
|
|
52
|
+
|
|
53
|
+
class EducationSettings(winrt.system.Object, metaclass=EducationSettings_Static):
|
|
54
|
+
@staticmethod
|
|
55
|
+
def _from(obj: winrt.system.Object, /) -> EducationSettings: ...
|
|
56
|
+
|
|
57
|
+
class HardwareIdentification_Static(type):
|
|
58
|
+
def get_package_specific_token(cls, nonce: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[HardwareToken]: ...
|
|
59
|
+
|
|
60
|
+
class HardwareIdentification(winrt.system.Object, metaclass=HardwareIdentification_Static):
|
|
61
|
+
@staticmethod
|
|
62
|
+
def _from(obj: winrt.system.Object, /) -> HardwareIdentification: ...
|
|
63
|
+
|
|
64
|
+
class HardwareToken(winrt.system.Object):
|
|
65
|
+
@staticmethod
|
|
66
|
+
def _from(obj: winrt.system.Object, /) -> HardwareToken: ...
|
|
67
|
+
@_property
|
|
68
|
+
def certificate(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
|
|
69
|
+
@_property
|
|
70
|
+
def id(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
|
|
71
|
+
@_property
|
|
72
|
+
def signature(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
|
|
73
|
+
|
|
74
|
+
class KnownRetailInfoProperties_Static(type):
|
|
75
|
+
@_property
|
|
76
|
+
def battery_life_description(cls) -> str: ...
|
|
77
|
+
@_property
|
|
78
|
+
def display_description(cls) -> str: ...
|
|
79
|
+
@_property
|
|
80
|
+
def display_model_name(cls) -> str: ...
|
|
81
|
+
@_property
|
|
82
|
+
def form_factor(cls) -> str: ...
|
|
83
|
+
@_property
|
|
84
|
+
def front_camera_description(cls) -> str: ...
|
|
85
|
+
@_property
|
|
86
|
+
def graphics_description(cls) -> str: ...
|
|
87
|
+
@_property
|
|
88
|
+
def has_nfc(cls) -> str: ...
|
|
89
|
+
@_property
|
|
90
|
+
def has_optical_drive(cls) -> str: ...
|
|
91
|
+
@_property
|
|
92
|
+
def has_sd_slot(cls) -> str: ...
|
|
93
|
+
@_property
|
|
94
|
+
def is_featured(cls) -> str: ...
|
|
95
|
+
@_property
|
|
96
|
+
def is_office_installed(cls) -> str: ...
|
|
97
|
+
@_property
|
|
98
|
+
def manufacturer_name(cls) -> str: ...
|
|
99
|
+
@_property
|
|
100
|
+
def memory(cls) -> str: ...
|
|
101
|
+
@_property
|
|
102
|
+
def model_name(cls) -> str: ...
|
|
103
|
+
@_property
|
|
104
|
+
def price(cls) -> str: ...
|
|
105
|
+
@_property
|
|
106
|
+
def processor_description(cls) -> str: ...
|
|
107
|
+
@_property
|
|
108
|
+
def rear_camera_description(cls) -> str: ...
|
|
109
|
+
@_property
|
|
110
|
+
def retail_access_code(cls) -> str: ...
|
|
111
|
+
@_property
|
|
112
|
+
def screen_size(cls) -> str: ...
|
|
113
|
+
@_property
|
|
114
|
+
def storage_description(cls) -> str: ...
|
|
115
|
+
@_property
|
|
116
|
+
def weight(cls) -> str: ...
|
|
117
|
+
@_property
|
|
118
|
+
def windows_edition(cls) -> str: ...
|
|
119
|
+
|
|
120
|
+
class KnownRetailInfoProperties(winrt.system.Object, metaclass=KnownRetailInfoProperties_Static):
|
|
121
|
+
@staticmethod
|
|
122
|
+
def _from(obj: winrt.system.Object, /) -> KnownRetailInfoProperties: ...
|
|
123
|
+
|
|
124
|
+
class PlatformDiagnosticsAndUsageDataSettings_Static(type):
|
|
125
|
+
def can_collect_diagnostics(cls, level: PlatformDataCollectionLevel, /) -> bool: ...
|
|
126
|
+
def add_collection_level_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
127
|
+
def remove_collection_level_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
128
|
+
@_property
|
|
129
|
+
def collection_level(cls) -> PlatformDataCollectionLevel: ...
|
|
130
|
+
|
|
131
|
+
class PlatformDiagnosticsAndUsageDataSettings(winrt.system.Object, metaclass=PlatformDiagnosticsAndUsageDataSettings_Static):
|
|
132
|
+
@staticmethod
|
|
133
|
+
def _from(obj: winrt.system.Object, /) -> PlatformDiagnosticsAndUsageDataSettings: ...
|
|
134
|
+
|
|
135
|
+
class RetailInfo_Static(type):
|
|
136
|
+
@_property
|
|
137
|
+
def is_demo_mode_enabled(cls) -> bool: ...
|
|
138
|
+
@_property
|
|
139
|
+
def properties(cls) -> typing.Optional[winrt.windows.foundation.collections.IMapView[str, winrt.system.Object]]: ...
|
|
140
|
+
|
|
141
|
+
class RetailInfo(winrt.system.Object, metaclass=RetailInfo_Static):
|
|
142
|
+
@staticmethod
|
|
143
|
+
def _from(obj: winrt.system.Object, /) -> RetailInfo: ...
|
|
144
|
+
|
|
145
|
+
class SharedModeSettings_Static(type):
|
|
146
|
+
@_property
|
|
147
|
+
def is_enabled(cls) -> bool: ...
|
|
148
|
+
@_property
|
|
149
|
+
def should_avoid_local_storage(cls) -> bool: ...
|
|
150
|
+
|
|
151
|
+
class SharedModeSettings(winrt.system.Object, metaclass=SharedModeSettings_Static):
|
|
152
|
+
@staticmethod
|
|
153
|
+
def _from(obj: winrt.system.Object, /) -> SharedModeSettings: ...
|
|
154
|
+
|
|
155
|
+
class SmartAppControlPolicy_Static(type):
|
|
156
|
+
def add_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
157
|
+
def remove_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
158
|
+
@_property
|
|
159
|
+
def is_enabled(cls) -> bool: ...
|
|
160
|
+
|
|
161
|
+
class SmartAppControlPolicy(winrt.system.Object, metaclass=SmartAppControlPolicy_Static):
|
|
162
|
+
@staticmethod
|
|
163
|
+
def _from(obj: winrt.system.Object, /) -> SmartAppControlPolicy: ...
|
|
164
|
+
|
|
165
|
+
class SystemIdentification_Static(type):
|
|
166
|
+
def get_system_id_for_publisher(cls) -> typing.Optional[SystemIdentificationInfo]: ...
|
|
167
|
+
def get_system_id_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[SystemIdentificationInfo]: ...
|
|
168
|
+
|
|
169
|
+
class SystemIdentification(winrt.system.Object, metaclass=SystemIdentification_Static):
|
|
170
|
+
@staticmethod
|
|
171
|
+
def _from(obj: winrt.system.Object, /) -> SystemIdentification: ...
|
|
172
|
+
|
|
173
|
+
class SystemIdentificationInfo(winrt.system.Object):
|
|
174
|
+
@staticmethod
|
|
175
|
+
def _from(obj: winrt.system.Object, /) -> SystemIdentificationInfo: ...
|
|
176
|
+
@_property
|
|
177
|
+
def id(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
|
|
178
|
+
@_property
|
|
179
|
+
def source(self) -> SystemIdentificationSource: ...
|
|
180
|
+
|
|
181
|
+
class SystemSetupInfo_Static(type):
|
|
182
|
+
def add_out_of_box_experience_state_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
183
|
+
def remove_out_of_box_experience_state_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
184
|
+
@_property
|
|
185
|
+
def out_of_box_experience_state(cls) -> SystemOutOfBoxExperienceState: ...
|
|
186
|
+
|
|
187
|
+
class SystemSetupInfo(winrt.system.Object, metaclass=SystemSetupInfo_Static):
|
|
188
|
+
@staticmethod
|
|
189
|
+
def _from(obj: winrt.system.Object, /) -> SystemSetupInfo: ...
|
|
190
|
+
|
|
191
|
+
class UnsupportedAppRequirement(winrt.system.Object):
|
|
192
|
+
@staticmethod
|
|
193
|
+
def _from(obj: winrt.system.Object, /) -> UnsupportedAppRequirement: ...
|
|
194
|
+
@_property
|
|
195
|
+
def reasons(self) -> UnsupportedAppRequirementReasons: ...
|
|
196
|
+
@_property
|
|
197
|
+
def requirement(self) -> str: ...
|
|
198
|
+
|
|
199
|
+
class WindowsIntegrityPolicy_Static(type):
|
|
200
|
+
def add_policy_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
201
|
+
def remove_policy_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
202
|
+
@_property
|
|
203
|
+
def can_disable(cls) -> bool: ...
|
|
204
|
+
@_property
|
|
205
|
+
def is_disable_supported(cls) -> bool: ...
|
|
206
|
+
@_property
|
|
207
|
+
def is_enabled(cls) -> bool: ...
|
|
208
|
+
@_property
|
|
209
|
+
def is_enabled_for_trial(cls) -> bool: ...
|
|
210
|
+
|
|
211
|
+
class WindowsIntegrityPolicy(winrt.system.Object, metaclass=WindowsIntegrityPolicy_Static):
|
|
212
|
+
@staticmethod
|
|
213
|
+
def _from(obj: winrt.system.Object, /) -> WindowsIntegrityPolicy: ...
|
|
214
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
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_system_profile
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"PlatformDataCollectionLevel",
|
|
10
|
+
"SystemIdentificationSource",
|
|
11
|
+
"SystemOutOfBoxExperienceState",
|
|
12
|
+
"UnsupportedAppRequirementReasons",
|
|
13
|
+
"AnalyticsInfo",
|
|
14
|
+
"AnalyticsVersionInfo",
|
|
15
|
+
"AppApplicability",
|
|
16
|
+
"EducationSettings",
|
|
17
|
+
"HardwareIdentification",
|
|
18
|
+
"HardwareToken",
|
|
19
|
+
"KnownRetailInfoProperties",
|
|
20
|
+
"PlatformDiagnosticsAndUsageDataSettings",
|
|
21
|
+
"RetailInfo",
|
|
22
|
+
"SharedModeSettings",
|
|
23
|
+
"SmartAppControlPolicy",
|
|
24
|
+
"SystemIdentification",
|
|
25
|
+
"SystemIdentificationInfo",
|
|
26
|
+
"SystemSetupInfo",
|
|
27
|
+
"UnsupportedAppRequirement",
|
|
28
|
+
"WindowsIntegrityPolicy",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
class PlatformDataCollectionLevel(enum.IntEnum):
|
|
32
|
+
SECURITY = 0
|
|
33
|
+
BASIC = 1
|
|
34
|
+
ENHANCED = 2
|
|
35
|
+
FULL = 3
|
|
36
|
+
|
|
37
|
+
class SystemIdentificationSource(enum.IntEnum):
|
|
38
|
+
NONE = 0
|
|
39
|
+
TPM = 1
|
|
40
|
+
UEFI = 2
|
|
41
|
+
REGISTRY = 3
|
|
42
|
+
|
|
43
|
+
class SystemOutOfBoxExperienceState(enum.IntEnum):
|
|
44
|
+
NOT_STARTED = 0
|
|
45
|
+
IN_PROGRESS = 1
|
|
46
|
+
COMPLETED = 2
|
|
47
|
+
|
|
48
|
+
class UnsupportedAppRequirementReasons(enum.IntFlag):
|
|
49
|
+
UNKNOWN = 0
|
|
50
|
+
DENIED_BY_SYSTEM = 0x1
|
|
51
|
+
|
|
52
|
+
AnalyticsInfo = _winrt_windows_system_profile.AnalyticsInfo
|
|
53
|
+
AnalyticsVersionInfo = _winrt_windows_system_profile.AnalyticsVersionInfo
|
|
54
|
+
AppApplicability = _winrt_windows_system_profile.AppApplicability
|
|
55
|
+
EducationSettings = _winrt_windows_system_profile.EducationSettings
|
|
56
|
+
HardwareIdentification = _winrt_windows_system_profile.HardwareIdentification
|
|
57
|
+
HardwareToken = _winrt_windows_system_profile.HardwareToken
|
|
58
|
+
KnownRetailInfoProperties = _winrt_windows_system_profile.KnownRetailInfoProperties
|
|
59
|
+
PlatformDiagnosticsAndUsageDataSettings = _winrt_windows_system_profile.PlatformDiagnosticsAndUsageDataSettings
|
|
60
|
+
RetailInfo = _winrt_windows_system_profile.RetailInfo
|
|
61
|
+
SharedModeSettings = _winrt_windows_system_profile.SharedModeSettings
|
|
62
|
+
SmartAppControlPolicy = _winrt_windows_system_profile.SmartAppControlPolicy
|
|
63
|
+
SystemIdentification = _winrt_windows_system_profile.SystemIdentification
|
|
64
|
+
SystemIdentificationInfo = _winrt_windows_system_profile.SystemIdentificationInfo
|
|
65
|
+
SystemSetupInfo = _winrt_windows_system_profile.SystemSetupInfo
|
|
66
|
+
UnsupportedAppRequirement = _winrt_windows_system_profile.UnsupportedAppRequirement
|
|
67
|
+
WindowsIntegrityPolicy = _winrt_windows_system_profile.WindowsIntegrityPolicy
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.System.Profile
|
|
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
|
+
Requires-Dist: winrt-runtime ==2.0.0-beta.1
|
|
15
|
+
Provides-Extra: all
|
|
16
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.System[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
20
|
+
|
|
21
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
|
+
|
|
23
|
+
# winrt-Windows.System.Profile
|
|
24
|
+
|
|
25
|
+
Windows Runtime (WinRT) APIs for for the `Windows.System.Profile` namespace.
|
|
26
|
+
|
|
27
|
+
This package provides the `winrt.windows.system.profile` module.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
winrt/_winrt_windows_system_profile.cp39-win_arm64.pyd,sha256=EuhYCAFPLRWG9mQ2toDZq6jj0mXVqmIeT12rJGv8if0,263680
|
|
2
|
+
winrt/_winrt_windows_system_profile.pyi,sha256=FCCu1i8Yk-uKJz2oSYXaMutgOL2i8l9conTkhJhn7cg,8729
|
|
3
|
+
winrt/windows/system/profile/__init__.py,sha256=sDe9qG-6AqbhFs3sA806oCXzJuh6S-2I6TdwixtBTq0,2386
|
|
4
|
+
winrt_Windows.System.Profile-2.0.0b1.dist-info/METADATA,sha256=gzMvwBDanM41-4xwOjVkVrvwBXfUl9IPAgL783lVbAA,1243
|
|
5
|
+
winrt_Windows.System.Profile-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
|
|
6
|
+
winrt_Windows.System.Profile-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
7
|
+
winrt_Windows.System.Profile-2.0.0b1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|