winrt-Windows.System.Profile 2.2.0__cp313-cp313-win_amd64.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.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_system_profile.pyi +239 -0
- winrt/windows/system/profile/__init__.py +75 -0
- winrt/windows/system/profile/py.typed +0 -0
- winrt_Windows.System.Profile-2.2.0.dist-info/METADATA +28 -0
- winrt_Windows.System.Profile-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.System.Profile-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.System.Profile-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,239 @@
|
|
|
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
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
15
|
+
import winrt.windows.system as windows_system
|
|
16
|
+
|
|
17
|
+
from winrt.windows.system.profile import PlatformAutomaticAppSignInPolicy, PlatformDataCollectionLevel, SystemIdentificationSource, SystemOutOfBoxExperienceState, UnsupportedAppRequirementReasons
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class AnalyticsInfo_Static(type):
|
|
23
|
+
def get_system_properties_async(cls, attribute_names: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMapView[str, str]]: ...
|
|
24
|
+
@_property
|
|
25
|
+
def device_form(cls) -> str: ...
|
|
26
|
+
@_property
|
|
27
|
+
def version_info(cls) -> typing.Optional[AnalyticsVersionInfo]: ...
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class AnalyticsInfo(winrt.system.Object, metaclass=AnalyticsInfo_Static):
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
@typing.final
|
|
34
|
+
class AnalyticsVersionInfo(winrt.system.Object):
|
|
35
|
+
@staticmethod
|
|
36
|
+
def _from(obj: winrt.system.Object, /) -> AnalyticsVersionInfo: ...
|
|
37
|
+
@_property
|
|
38
|
+
def device_family(self) -> str: ...
|
|
39
|
+
@_property
|
|
40
|
+
def device_family_version(self) -> str: ...
|
|
41
|
+
@_property
|
|
42
|
+
def product_name(self) -> str: ...
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class AppApplicability_Static(type):
|
|
46
|
+
def get_unsupported_app_requirements(cls, capabilities: typing.Iterable[str], /) -> typing.Optional[windows_foundation_collections.IVectorView[UnsupportedAppRequirement]]: ...
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class AppApplicability(winrt.system.Object, metaclass=AppApplicability_Static):
|
|
50
|
+
pass
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class EducationSettings_Static(type):
|
|
54
|
+
@_property
|
|
55
|
+
def is_education_environment(cls) -> bool: ...
|
|
56
|
+
|
|
57
|
+
@typing.final
|
|
58
|
+
class EducationSettings(winrt.system.Object, metaclass=EducationSettings_Static):
|
|
59
|
+
pass
|
|
60
|
+
|
|
61
|
+
@typing.final
|
|
62
|
+
class HardwareIdentification_Static(type):
|
|
63
|
+
def get_package_specific_token(cls, nonce: typing.Optional[windows_storage_streams.IBuffer], /) -> typing.Optional[HardwareToken]: ...
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class HardwareIdentification(winrt.system.Object, metaclass=HardwareIdentification_Static):
|
|
67
|
+
pass
|
|
68
|
+
|
|
69
|
+
@typing.final
|
|
70
|
+
class HardwareToken(winrt.system.Object):
|
|
71
|
+
@staticmethod
|
|
72
|
+
def _from(obj: winrt.system.Object, /) -> HardwareToken: ...
|
|
73
|
+
@_property
|
|
74
|
+
def certificate(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
|
|
75
|
+
@_property
|
|
76
|
+
def id(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
|
|
77
|
+
@_property
|
|
78
|
+
def signature(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class KnownRetailInfoProperties_Static(type):
|
|
82
|
+
@_property
|
|
83
|
+
def battery_life_description(cls) -> str: ...
|
|
84
|
+
@_property
|
|
85
|
+
def display_description(cls) -> str: ...
|
|
86
|
+
@_property
|
|
87
|
+
def display_model_name(cls) -> str: ...
|
|
88
|
+
@_property
|
|
89
|
+
def form_factor(cls) -> str: ...
|
|
90
|
+
@_property
|
|
91
|
+
def front_camera_description(cls) -> str: ...
|
|
92
|
+
@_property
|
|
93
|
+
def graphics_description(cls) -> str: ...
|
|
94
|
+
@_property
|
|
95
|
+
def has_nfc(cls) -> str: ...
|
|
96
|
+
@_property
|
|
97
|
+
def has_optical_drive(cls) -> str: ...
|
|
98
|
+
@_property
|
|
99
|
+
def has_sd_slot(cls) -> str: ...
|
|
100
|
+
@_property
|
|
101
|
+
def is_featured(cls) -> str: ...
|
|
102
|
+
@_property
|
|
103
|
+
def is_office_installed(cls) -> str: ...
|
|
104
|
+
@_property
|
|
105
|
+
def manufacturer_name(cls) -> str: ...
|
|
106
|
+
@_property
|
|
107
|
+
def memory(cls) -> str: ...
|
|
108
|
+
@_property
|
|
109
|
+
def model_name(cls) -> str: ...
|
|
110
|
+
@_property
|
|
111
|
+
def price(cls) -> str: ...
|
|
112
|
+
@_property
|
|
113
|
+
def processor_description(cls) -> str: ...
|
|
114
|
+
@_property
|
|
115
|
+
def rear_camera_description(cls) -> str: ...
|
|
116
|
+
@_property
|
|
117
|
+
def retail_access_code(cls) -> str: ...
|
|
118
|
+
@_property
|
|
119
|
+
def screen_size(cls) -> str: ...
|
|
120
|
+
@_property
|
|
121
|
+
def storage_description(cls) -> str: ...
|
|
122
|
+
@_property
|
|
123
|
+
def weight(cls) -> str: ...
|
|
124
|
+
@_property
|
|
125
|
+
def windows_edition(cls) -> str: ...
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class KnownRetailInfoProperties(winrt.system.Object, metaclass=KnownRetailInfoProperties_Static):
|
|
129
|
+
pass
|
|
130
|
+
|
|
131
|
+
@typing.final
|
|
132
|
+
class PlatformAutomaticAppSignInManager_Static(type):
|
|
133
|
+
@_property
|
|
134
|
+
def policy(cls) -> PlatformAutomaticAppSignInPolicy: ...
|
|
135
|
+
|
|
136
|
+
@typing.final
|
|
137
|
+
class PlatformAutomaticAppSignInManager(winrt.system.Object, metaclass=PlatformAutomaticAppSignInManager_Static):
|
|
138
|
+
pass
|
|
139
|
+
|
|
140
|
+
@typing.final
|
|
141
|
+
class PlatformDiagnosticsAndUsageDataSettings_Static(type):
|
|
142
|
+
def can_collect_diagnostics(cls, level: PlatformDataCollectionLevel, /) -> bool: ...
|
|
143
|
+
def add_collection_level_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
144
|
+
def remove_collection_level_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
145
|
+
@_property
|
|
146
|
+
def collection_level(cls) -> PlatformDataCollectionLevel: ...
|
|
147
|
+
|
|
148
|
+
@typing.final
|
|
149
|
+
class PlatformDiagnosticsAndUsageDataSettings(winrt.system.Object, metaclass=PlatformDiagnosticsAndUsageDataSettings_Static):
|
|
150
|
+
pass
|
|
151
|
+
|
|
152
|
+
@typing.final
|
|
153
|
+
class RetailInfo_Static(type):
|
|
154
|
+
@_property
|
|
155
|
+
def is_demo_mode_enabled(cls) -> bool: ...
|
|
156
|
+
@_property
|
|
157
|
+
def properties(cls) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
|
|
158
|
+
|
|
159
|
+
@typing.final
|
|
160
|
+
class RetailInfo(winrt.system.Object, metaclass=RetailInfo_Static):
|
|
161
|
+
pass
|
|
162
|
+
|
|
163
|
+
@typing.final
|
|
164
|
+
class SharedModeSettings_Static(type):
|
|
165
|
+
@_property
|
|
166
|
+
def is_enabled(cls) -> bool: ...
|
|
167
|
+
@_property
|
|
168
|
+
def should_avoid_local_storage(cls) -> bool: ...
|
|
169
|
+
|
|
170
|
+
@typing.final
|
|
171
|
+
class SharedModeSettings(winrt.system.Object, metaclass=SharedModeSettings_Static):
|
|
172
|
+
pass
|
|
173
|
+
|
|
174
|
+
@typing.final
|
|
175
|
+
class SmartAppControlPolicy_Static(type):
|
|
176
|
+
def add_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
177
|
+
def remove_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
178
|
+
@_property
|
|
179
|
+
def is_enabled(cls) -> bool: ...
|
|
180
|
+
|
|
181
|
+
@typing.final
|
|
182
|
+
class SmartAppControlPolicy(winrt.system.Object, metaclass=SmartAppControlPolicy_Static):
|
|
183
|
+
pass
|
|
184
|
+
|
|
185
|
+
@typing.final
|
|
186
|
+
class SystemIdentification_Static(type):
|
|
187
|
+
def get_system_id_for_publisher(cls) -> typing.Optional[SystemIdentificationInfo]: ...
|
|
188
|
+
def get_system_id_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[SystemIdentificationInfo]: ...
|
|
189
|
+
|
|
190
|
+
@typing.final
|
|
191
|
+
class SystemIdentification(winrt.system.Object, metaclass=SystemIdentification_Static):
|
|
192
|
+
pass
|
|
193
|
+
|
|
194
|
+
@typing.final
|
|
195
|
+
class SystemIdentificationInfo(winrt.system.Object):
|
|
196
|
+
@staticmethod
|
|
197
|
+
def _from(obj: winrt.system.Object, /) -> SystemIdentificationInfo: ...
|
|
198
|
+
@_property
|
|
199
|
+
def id(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
|
|
200
|
+
@_property
|
|
201
|
+
def source(self) -> SystemIdentificationSource: ...
|
|
202
|
+
|
|
203
|
+
@typing.final
|
|
204
|
+
class SystemSetupInfo_Static(type):
|
|
205
|
+
def add_out_of_box_experience_state_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
206
|
+
def remove_out_of_box_experience_state_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
207
|
+
@_property
|
|
208
|
+
def out_of_box_experience_state(cls) -> SystemOutOfBoxExperienceState: ...
|
|
209
|
+
|
|
210
|
+
@typing.final
|
|
211
|
+
class SystemSetupInfo(winrt.system.Object, metaclass=SystemSetupInfo_Static):
|
|
212
|
+
pass
|
|
213
|
+
|
|
214
|
+
@typing.final
|
|
215
|
+
class UnsupportedAppRequirement(winrt.system.Object):
|
|
216
|
+
@staticmethod
|
|
217
|
+
def _from(obj: winrt.system.Object, /) -> UnsupportedAppRequirement: ...
|
|
218
|
+
@_property
|
|
219
|
+
def reasons(self) -> UnsupportedAppRequirementReasons: ...
|
|
220
|
+
@_property
|
|
221
|
+
def requirement(self) -> str: ...
|
|
222
|
+
|
|
223
|
+
@typing.final
|
|
224
|
+
class WindowsIntegrityPolicy_Static(type):
|
|
225
|
+
def add_policy_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
226
|
+
def remove_policy_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
227
|
+
@_property
|
|
228
|
+
def can_disable(cls) -> bool: ...
|
|
229
|
+
@_property
|
|
230
|
+
def is_disable_supported(cls) -> bool: ...
|
|
231
|
+
@_property
|
|
232
|
+
def is_enabled(cls) -> bool: ...
|
|
233
|
+
@_property
|
|
234
|
+
def is_enabled_for_trial(cls) -> bool: ...
|
|
235
|
+
|
|
236
|
+
@typing.final
|
|
237
|
+
class WindowsIntegrityPolicy(winrt.system.Object, metaclass=WindowsIntegrityPolicy_Static):
|
|
238
|
+
pass
|
|
239
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_system_profile
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"PlatformAutomaticAppSignInPolicy",
|
|
10
|
+
"PlatformDataCollectionLevel",
|
|
11
|
+
"SystemIdentificationSource",
|
|
12
|
+
"SystemOutOfBoxExperienceState",
|
|
13
|
+
"UnsupportedAppRequirementReasons",
|
|
14
|
+
"AnalyticsInfo",
|
|
15
|
+
"AnalyticsVersionInfo",
|
|
16
|
+
"AppApplicability",
|
|
17
|
+
"EducationSettings",
|
|
18
|
+
"HardwareIdentification",
|
|
19
|
+
"HardwareToken",
|
|
20
|
+
"KnownRetailInfoProperties",
|
|
21
|
+
"PlatformAutomaticAppSignInManager",
|
|
22
|
+
"PlatformDiagnosticsAndUsageDataSettings",
|
|
23
|
+
"RetailInfo",
|
|
24
|
+
"SharedModeSettings",
|
|
25
|
+
"SmartAppControlPolicy",
|
|
26
|
+
"SystemIdentification",
|
|
27
|
+
"SystemIdentificationInfo",
|
|
28
|
+
"SystemSetupInfo",
|
|
29
|
+
"UnsupportedAppRequirement",
|
|
30
|
+
"WindowsIntegrityPolicy",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
class PlatformAutomaticAppSignInPolicy(enum.IntEnum):
|
|
34
|
+
UNKNOWN = 0
|
|
35
|
+
PERMISSION_REQUIRED = 1
|
|
36
|
+
ALWAYS_ALLOWED = 2
|
|
37
|
+
|
|
38
|
+
class PlatformDataCollectionLevel(enum.IntEnum):
|
|
39
|
+
SECURITY = 0
|
|
40
|
+
BASIC = 1
|
|
41
|
+
ENHANCED = 2
|
|
42
|
+
FULL = 3
|
|
43
|
+
|
|
44
|
+
class SystemIdentificationSource(enum.IntEnum):
|
|
45
|
+
NONE = 0
|
|
46
|
+
TPM = 1
|
|
47
|
+
UEFI = 2
|
|
48
|
+
REGISTRY = 3
|
|
49
|
+
|
|
50
|
+
class SystemOutOfBoxExperienceState(enum.IntEnum):
|
|
51
|
+
NOT_STARTED = 0
|
|
52
|
+
IN_PROGRESS = 1
|
|
53
|
+
COMPLETED = 2
|
|
54
|
+
|
|
55
|
+
class UnsupportedAppRequirementReasons(enum.IntFlag):
|
|
56
|
+
UNKNOWN = 0x0
|
|
57
|
+
DENIED_BY_SYSTEM = 0x1
|
|
58
|
+
|
|
59
|
+
AnalyticsInfo = _winrt_windows_system_profile.AnalyticsInfo
|
|
60
|
+
AnalyticsVersionInfo = _winrt_windows_system_profile.AnalyticsVersionInfo
|
|
61
|
+
AppApplicability = _winrt_windows_system_profile.AppApplicability
|
|
62
|
+
EducationSettings = _winrt_windows_system_profile.EducationSettings
|
|
63
|
+
HardwareIdentification = _winrt_windows_system_profile.HardwareIdentification
|
|
64
|
+
HardwareToken = _winrt_windows_system_profile.HardwareToken
|
|
65
|
+
KnownRetailInfoProperties = _winrt_windows_system_profile.KnownRetailInfoProperties
|
|
66
|
+
PlatformAutomaticAppSignInManager = _winrt_windows_system_profile.PlatformAutomaticAppSignInManager
|
|
67
|
+
PlatformDiagnosticsAndUsageDataSettings = _winrt_windows_system_profile.PlatformDiagnosticsAndUsageDataSettings
|
|
68
|
+
RetailInfo = _winrt_windows_system_profile.RetailInfo
|
|
69
|
+
SharedModeSettings = _winrt_windows_system_profile.SharedModeSettings
|
|
70
|
+
SmartAppControlPolicy = _winrt_windows_system_profile.SmartAppControlPolicy
|
|
71
|
+
SystemIdentification = _winrt_windows_system_profile.SystemIdentification
|
|
72
|
+
SystemIdentificationInfo = _winrt_windows_system_profile.SystemIdentificationInfo
|
|
73
|
+
SystemSetupInfo = _winrt_windows_system_profile.SystemSetupInfo
|
|
74
|
+
UnsupportedAppRequirement = _winrt_windows_system_profile.UnsupportedAppRequirement
|
|
75
|
+
WindowsIntegrityPolicy = _winrt_windows_system_profile.WindowsIntegrityPolicy
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.System.Profile
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.System.Profile
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.System.Profile` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.system.profile` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_system_profile.cp313-win_amd64.pyd,sha256=HPizllzLT3ND8RDBkWAuCZStbnPcIFrI_rwlzrbsMnE,185856
|
|
2
|
+
winrt/_winrt_windows_system_profile.pyi,sha256=OM6NRwdljM7V2aZUMnpGFLbeEHxR9g0WuE4vLFsdaqw,8430
|
|
3
|
+
winrt/windows/system/profile/__init__.py,sha256=2BHP46tLr4srW-R1GxgMWygLS175VQB1BB1Ea0QTrsw,2684
|
|
4
|
+
winrt/windows/system/profile/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.System.Profile-2.2.0.dist-info/METADATA,sha256=J-Y9o_wrhafcsaW1JhMeuxLZIOj4fmcVvVM3jE_CbNw,1265
|
|
6
|
+
winrt_Windows.System.Profile-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.System.Profile-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.System.Profile-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|