winrt-Windows.System.UserProfile 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.
@@ -0,0 +1,182 @@
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.globalization as windows_globalization
15
+ import winrt.windows.storage as windows_storage
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+ import winrt.windows.system as windows_system
18
+
19
+ from winrt.windows.system.userprofile import AccountPictureKind, SetAccountPictureResult, SetImageFeedResult
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ @typing.final
24
+ class AdvertisingManager_Static(type):
25
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[AdvertisingManagerForUser]: ...
26
+ @_property
27
+ def advertising_id(cls) -> str: ...
28
+
29
+ @typing.final
30
+ class AdvertisingManager(winrt.system.Object, metaclass=AdvertisingManager_Static):
31
+ pass
32
+
33
+ @typing.final
34
+ class AdvertisingManagerForUser(winrt.system.Object):
35
+ @staticmethod
36
+ def _from(obj: winrt.system.Object, /) -> AdvertisingManagerForUser: ...
37
+ @_property
38
+ def advertising_id(self) -> str: ...
39
+ @_property
40
+ def user(self) -> typing.Optional[windows_system.User]: ...
41
+
42
+ @typing.final
43
+ class AssignedAccessSettings_Static(type):
44
+ def get_default(cls) -> typing.Optional[AssignedAccessSettings]: ...
45
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[AssignedAccessSettings]: ...
46
+
47
+ @typing.final
48
+ class AssignedAccessSettings(winrt.system.Object, metaclass=AssignedAccessSettings_Static):
49
+ @staticmethod
50
+ def _from(obj: winrt.system.Object, /) -> AssignedAccessSettings: ...
51
+ @_property
52
+ def is_enabled(self) -> bool: ...
53
+ @_property
54
+ def is_single_app_kiosk_mode(self) -> bool: ...
55
+ @_property
56
+ def user(self) -> typing.Optional[windows_system.User]: ...
57
+
58
+ @typing.final
59
+ class DiagnosticsSettings_Static(type):
60
+ def get_default(cls) -> typing.Optional[DiagnosticsSettings]: ...
61
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[DiagnosticsSettings]: ...
62
+
63
+ @typing.final
64
+ class DiagnosticsSettings(winrt.system.Object, metaclass=DiagnosticsSettings_Static):
65
+ @staticmethod
66
+ def _from(obj: winrt.system.Object, /) -> DiagnosticsSettings: ...
67
+ @_property
68
+ def can_use_diagnostics_to_tailor_experiences(self) -> bool: ...
69
+ @_property
70
+ def user(self) -> typing.Optional[windows_system.User]: ...
71
+
72
+ @typing.final
73
+ class FirstSignInSettings_Static(type):
74
+ def get_default(cls) -> typing.Optional[FirstSignInSettings]: ...
75
+
76
+ @typing.final
77
+ class FirstSignInSettings(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object], metaclass=FirstSignInSettings_Static):
78
+ def __len__(self) -> int: ...
79
+ def __iter__(self) -> typing.Iterator[str]: ...
80
+ def __contains__(self, key: object) -> bool: ...
81
+ def __getitem__(self, key: str) -> winrt.system.Object: ...
82
+ @staticmethod
83
+ def _from(obj: winrt.system.Object, /) -> FirstSignInSettings: ...
84
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]]: ...
85
+ def has_key(self, key: str, /) -> bool: ...
86
+ def lookup(self, key: str, /) -> typing.Optional[winrt.system.Object]: ...
87
+ def split(self) -> typing.Tuple[typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]], typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]]: ...
88
+ @_property
89
+ def size(self) -> winrt.system.UInt32: ...
90
+
91
+ @typing.final
92
+ class GlobalizationPreferences_Static(type):
93
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[GlobalizationPreferencesForUser]: ...
94
+ def try_set_home_geographic_region(cls, region: str, /) -> bool: ...
95
+ def try_set_languages(cls, language_tags: typing.Iterable[str], /) -> bool: ...
96
+ @_property
97
+ def calendars(cls) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
98
+ @_property
99
+ def clocks(cls) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
100
+ @_property
101
+ def currencies(cls) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
102
+ @_property
103
+ def home_geographic_region(cls) -> str: ...
104
+ @_property
105
+ def languages(cls) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
106
+ @_property
107
+ def week_starts_on(cls) -> windows_globalization.DayOfWeek: ...
108
+
109
+ @typing.final
110
+ class GlobalizationPreferences(winrt.system.Object, metaclass=GlobalizationPreferences_Static):
111
+ pass
112
+
113
+ @typing.final
114
+ class GlobalizationPreferencesForUser(winrt.system.Object):
115
+ @staticmethod
116
+ def _from(obj: winrt.system.Object, /) -> GlobalizationPreferencesForUser: ...
117
+ @_property
118
+ def calendars(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
119
+ @_property
120
+ def clocks(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
121
+ @_property
122
+ def currencies(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
123
+ @_property
124
+ def home_geographic_region(self) -> str: ...
125
+ @_property
126
+ def languages(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
127
+ @_property
128
+ def user(self) -> typing.Optional[windows_system.User]: ...
129
+ @_property
130
+ def week_starts_on(self) -> windows_globalization.DayOfWeek: ...
131
+
132
+ @typing.final
133
+ class LockScreen_Static(type):
134
+ def get_image_stream(cls) -> typing.Optional[windows_storage_streams.IRandomAccessStream]: ...
135
+ def request_set_image_feed_async(cls, syndication_feed_uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[SetImageFeedResult]: ...
136
+ def set_image_file_async(cls, value: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncAction: ...
137
+ def set_image_stream_async(cls, value: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> windows_foundation.IAsyncAction: ...
138
+ def try_remove_image_feed(cls) -> bool: ...
139
+ @_property
140
+ def original_image_file(cls) -> typing.Optional[windows_foundation.Uri]: ...
141
+
142
+ @typing.final
143
+ class LockScreen(winrt.system.Object, metaclass=LockScreen_Static):
144
+ pass
145
+
146
+ @typing.final
147
+ class UserInformation_Static(type):
148
+ def get_account_picture(cls, kind: AccountPictureKind, /) -> typing.Optional[windows_storage.IStorageFile]: ...
149
+ def get_display_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
150
+ def get_domain_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
151
+ def get_first_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
152
+ def get_last_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
153
+ def get_principal_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
154
+ def get_session_initiation_protocol_uri_async(cls) -> windows_foundation.IAsyncOperation[windows_foundation.Uri]: ...
155
+ def set_account_picture_async(cls, image: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
156
+ def set_account_picture_from_stream_async(cls, image: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
157
+ def set_account_pictures_async(cls, small_image: typing.Optional[windows_storage.IStorageFile], large_image: typing.Optional[windows_storage.IStorageFile], video: typing.Optional[windows_storage.IStorageFile], /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
158
+ def set_account_pictures_from_streams_async(cls, small_image: typing.Optional[windows_storage_streams.IRandomAccessStream], large_image: typing.Optional[windows_storage_streams.IRandomAccessStream], video: typing.Optional[windows_storage_streams.IRandomAccessStream], /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
159
+ def add_account_picture_changed(cls, change_handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
160
+ def remove_account_picture_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
161
+ @_property
162
+ def account_picture_change_enabled(cls) -> bool: ...
163
+ @_property
164
+ def name_access_allowed(cls) -> bool: ...
165
+
166
+ @typing.final
167
+ class UserInformation(winrt.system.Object, metaclass=UserInformation_Static):
168
+ pass
169
+
170
+ @typing.final
171
+ class UserProfilePersonalizationSettings_Static(type):
172
+ def is_supported(cls) -> bool: ...
173
+ @_property
174
+ def current(cls) -> typing.Optional[UserProfilePersonalizationSettings]: ...
175
+
176
+ @typing.final
177
+ class UserProfilePersonalizationSettings(winrt.system.Object, metaclass=UserProfilePersonalizationSettings_Static):
178
+ @staticmethod
179
+ def _from(obj: winrt.system.Object, /) -> UserProfilePersonalizationSettings: ...
180
+ def try_set_lock_screen_image_async(self, image_file: typing.Optional[windows_storage.StorageFile], /) -> windows_foundation.IAsyncOperation[bool]: ...
181
+ def try_set_wallpaper_image_async(self, image_file: typing.Optional[windows_storage.StorageFile], /) -> windows_foundation.IAsyncOperation[bool]: ...
182
+
@@ -0,0 +1,52 @@
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_userprofile
7
+
8
+ __all__ = [
9
+ "AccountPictureKind",
10
+ "SetAccountPictureResult",
11
+ "SetImageFeedResult",
12
+ "AdvertisingManager",
13
+ "AdvertisingManagerForUser",
14
+ "AssignedAccessSettings",
15
+ "DiagnosticsSettings",
16
+ "FirstSignInSettings",
17
+ "GlobalizationPreferences",
18
+ "GlobalizationPreferencesForUser",
19
+ "LockScreen",
20
+ "UserInformation",
21
+ "UserProfilePersonalizationSettings",
22
+ ]
23
+
24
+ class AccountPictureKind(enum.IntEnum):
25
+ SMALL_IMAGE = 0
26
+ LARGE_IMAGE = 1
27
+ VIDEO = 2
28
+
29
+ class SetAccountPictureResult(enum.IntEnum):
30
+ SUCCESS = 0
31
+ CHANGE_DISABLED = 1
32
+ LARGE_OR_DYNAMIC_ERROR = 2
33
+ VIDEO_FRAME_SIZE_ERROR = 3
34
+ FILE_SIZE_ERROR = 4
35
+ FAILURE = 5
36
+
37
+ class SetImageFeedResult(enum.IntEnum):
38
+ SUCCESS = 0
39
+ CHANGE_DISABLED = 1
40
+ USER_CANCELED = 2
41
+
42
+ AdvertisingManager = _winrt_windows_system_userprofile.AdvertisingManager
43
+ AdvertisingManagerForUser = _winrt_windows_system_userprofile.AdvertisingManagerForUser
44
+ AssignedAccessSettings = _winrt_windows_system_userprofile.AssignedAccessSettings
45
+ DiagnosticsSettings = _winrt_windows_system_userprofile.DiagnosticsSettings
46
+ FirstSignInSettings = _winrt_windows_system_userprofile.FirstSignInSettings
47
+ winrt.system._mixin_mapping(FirstSignInSettings)
48
+ GlobalizationPreferences = _winrt_windows_system_userprofile.GlobalizationPreferences
49
+ GlobalizationPreferencesForUser = _winrt_windows_system_userprofile.GlobalizationPreferencesForUser
50
+ LockScreen = _winrt_windows_system_userprofile.LockScreen
51
+ UserInformation = _winrt_windows_system_userprofile.UserInformation
52
+ UserProfilePersonalizationSettings = _winrt_windows_system_userprofile.UserProfilePersonalizationSettings
File without changes
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System.UserProfile
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.Globalization[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
23
+
24
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
25
+
26
+ # winrt-Windows.System.UserProfile
27
+
28
+ Windows Runtime (WinRT) APIs for for the `Windows.System.UserProfile` namespace.
29
+
30
+ This package provides the `winrt.windows.system.userprofile` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_userprofile.cp313-win_amd64.pyd,sha256=jGVQu4E2SBZSVibrn8K4uWGZIdbAS1_iKr5aO-btOk8,217088
2
+ winrt/_winrt_windows_system_userprofile.pyi,sha256=kxceCyEIujhrNQKVbLQVKs8ZBpOCK0JUaqO2ArQBFGg,9422
3
+ winrt/windows/system/userprofile/__init__.py,sha256=5zsyeJDFxPEKp-EV-fJ6RcEK2v75pKubG4YIoiQqu2w,1811
4
+ winrt/windows/system/userprofile/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.System.UserProfile-2.2.0.dist-info/METADATA,sha256=Gnn3Xla6rN523ZP2dXYQTUk93WAUkSfmFYMsqEIlejQ,1423
6
+ winrt_Windows.System.UserProfile-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.System.UserProfile-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.System.UserProfile-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+