winrt-Windows.System.Profile 2.0.0b1__tar.gz → 2.0.1__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-2.0.0b1 → winrt_windows_system_profile-2.0.1}/PKG-INFO +8 -2
- winrt_windows_system_profile-2.0.1/all-requirements.txt +6 -0
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/py.Windows.System.Profile.cpp +91 -1
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/pyproject.toml +7 -4
- winrt_windows_system_profile-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/requirements.txt +2 -2
- winrt_windows_system_profile-2.0.1/setup.py +31 -0
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/winrt/_winrt_windows_system_profile.pyi +40 -2
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/winrt/windows/system/profile/__init__.py +9 -1
- winrt_windows_system_profile-2.0.1/winrt/windows/system/profile/py.typed +0 -0
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/winrt_Windows.System.Profile.egg-info/PKG-INFO +8 -2
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/winrt_Windows.System.Profile.egg-info/SOURCES.txt +1 -0
- winrt_windows_system_profile-2.0.1/winrt_Windows.System.Profile.egg-info/requires.txt +7 -0
- winrt-Windows.System.Profile-2.0.0b1/all-requirements.txt +0 -6
- winrt-Windows.System.Profile-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.System.Profile-2.0.0b1/setup.py +0 -17
- winrt-Windows.System.Profile-2.0.0b1/winrt_Windows.System.Profile.egg-info/requires.txt +0 -7
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/README.md +0 -0
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/winrt_Windows.System.Profile.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/winrt_Windows.System.Profile.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Profile
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
15
21
|
|
|
16
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.Profile.h"
|
|
4
4
|
|
|
@@ -1154,6 +1154,85 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1154
1154
|
type_slots_KnownRetailInfoProperties_Static
|
|
1155
1155
|
};
|
|
1156
1156
|
|
|
1157
|
+
// ----- PlatformAutomaticAppSignInManager class --------------------
|
|
1158
|
+
|
|
1159
|
+
static PyObject* _new_PlatformAutomaticAppSignInManager(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
|
|
1160
|
+
{
|
|
1161
|
+
static_assert(py::py_type<winrt::Windows::System::Profile::PlatformAutomaticAppSignInManager>::type_name);
|
|
1162
|
+
py::set_invalid_activation_error(py::py_type<winrt::Windows::System::Profile::PlatformAutomaticAppSignInManager>::type_name);
|
|
1163
|
+
return nullptr;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
static PyObject* PlatformAutomaticAppSignInManager_get_Policy(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
1167
|
+
{
|
|
1168
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.PlatformAutomaticAppSignInManager", L"Policy"))
|
|
1169
|
+
{
|
|
1170
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1171
|
+
return nullptr;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
try
|
|
1175
|
+
{
|
|
1176
|
+
return py::convert(winrt::Windows::System::Profile::PlatformAutomaticAppSignInManager::Policy());
|
|
1177
|
+
}
|
|
1178
|
+
catch (...)
|
|
1179
|
+
{
|
|
1180
|
+
py::to_PyErr();
|
|
1181
|
+
return nullptr;
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
static PyMethodDef _methods_PlatformAutomaticAppSignInManager[] = {
|
|
1186
|
+
{ }
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
static PyGetSetDef _getset_PlatformAutomaticAppSignInManager[] = {
|
|
1190
|
+
{ }
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
static PyType_Slot _type_slots_PlatformAutomaticAppSignInManager[] =
|
|
1194
|
+
{
|
|
1195
|
+
{ Py_tp_new, reinterpret_cast<void*>(_new_PlatformAutomaticAppSignInManager) },
|
|
1196
|
+
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PlatformAutomaticAppSignInManager) },
|
|
1197
|
+
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PlatformAutomaticAppSignInManager) },
|
|
1198
|
+
{ },
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
static PyType_Spec type_spec_PlatformAutomaticAppSignInManager =
|
|
1202
|
+
{
|
|
1203
|
+
"winrt._winrt_windows_system_profile.PlatformAutomaticAppSignInManager",
|
|
1204
|
+
0,
|
|
1205
|
+
0,
|
|
1206
|
+
Py_TPFLAGS_DEFAULT,
|
|
1207
|
+
_type_slots_PlatformAutomaticAppSignInManager
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
static PyGetSetDef getset_PlatformAutomaticAppSignInManager_Static[] = {
|
|
1211
|
+
{ "policy", reinterpret_cast<getter>(PlatformAutomaticAppSignInManager_get_Policy), nullptr, nullptr, nullptr },
|
|
1212
|
+
{ }
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
static PyMethodDef methods_PlatformAutomaticAppSignInManager_Static[] = {
|
|
1216
|
+
{ }
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
static PyType_Slot type_slots_PlatformAutomaticAppSignInManager_Static[] =
|
|
1220
|
+
{
|
|
1221
|
+
{ Py_tp_base, reinterpret_cast<void*>(&PyType_Type) },
|
|
1222
|
+
{ Py_tp_getset, reinterpret_cast<void*>(getset_PlatformAutomaticAppSignInManager_Static) },
|
|
1223
|
+
{ Py_tp_methods, reinterpret_cast<void*>(methods_PlatformAutomaticAppSignInManager_Static) },
|
|
1224
|
+
{ }
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
static PyType_Spec type_spec_PlatformAutomaticAppSignInManager_Static =
|
|
1228
|
+
{
|
|
1229
|
+
"winrt._winrt_windows_system_profile.PlatformAutomaticAppSignInManager_Static",
|
|
1230
|
+
static_cast<int>(PyType_Type.tp_basicsize),
|
|
1231
|
+
static_cast<int>(PyType_Type.tp_itemsize),
|
|
1232
|
+
Py_TPFLAGS_DEFAULT,
|
|
1233
|
+
type_slots_PlatformAutomaticAppSignInManager_Static
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1157
1236
|
// ----- PlatformDiagnosticsAndUsageDataSettings class --------------------
|
|
1158
1237
|
|
|
1159
1238
|
static PyObject* _new_PlatformDiagnosticsAndUsageDataSettings(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
|
|
@@ -2390,6 +2469,17 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2390
2469
|
return nullptr;
|
|
2391
2470
|
}
|
|
2392
2471
|
|
|
2472
|
+
py::pyobj_handle type_PlatformAutomaticAppSignInManager_Static{PyType_FromSpec(&type_spec_PlatformAutomaticAppSignInManager_Static)};
|
|
2473
|
+
if (!type_PlatformAutomaticAppSignInManager_Static)
|
|
2474
|
+
{
|
|
2475
|
+
return nullptr;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
if (py::register_python_type(module.get(), &type_spec_PlatformAutomaticAppSignInManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PlatformAutomaticAppSignInManager_Static.get())) == -1)
|
|
2479
|
+
{
|
|
2480
|
+
return nullptr;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2393
2483
|
py::pyobj_handle type_PlatformDiagnosticsAndUsageDataSettings_Static{PyType_FromSpec(&type_spec_PlatformDiagnosticsAndUsageDataSettings_Static)};
|
|
2394
2484
|
if (!type_PlatformDiagnosticsAndUsageDataSettings_Static)
|
|
2395
2485
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
{winrt-Windows.System.Profile-2.0.0b1 → winrt_windows_system_profile-2.0.1}/requirements.txt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_system_profile",
|
|
26
|
+
sources=["py.Windows.System.Profile.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -14,10 +14,11 @@ import winrt.windows.foundation.collections
|
|
|
14
14
|
import winrt.windows.storage.streams
|
|
15
15
|
import winrt.windows.system
|
|
16
16
|
|
|
17
|
-
from winrt.windows.system.profile import PlatformDataCollectionLevel, SystemIdentificationSource, SystemOutOfBoxExperienceState, UnsupportedAppRequirementReasons
|
|
17
|
+
from winrt.windows.system.profile import PlatformAutomaticAppSignInPolicy, PlatformDataCollectionLevel, SystemIdentificationSource, SystemOutOfBoxExperienceState, UnsupportedAppRequirementReasons
|
|
18
18
|
|
|
19
19
|
Self = typing.TypeVar('Self')
|
|
20
20
|
|
|
21
|
+
@typing.final
|
|
21
22
|
class AnalyticsInfo_Static(type):
|
|
22
23
|
def get_system_properties_async(cls, attribute_names: typing.Iterable[str], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IMapView[str, str]]: ...
|
|
23
24
|
@_property
|
|
@@ -25,10 +26,12 @@ class AnalyticsInfo_Static(type):
|
|
|
25
26
|
@_property
|
|
26
27
|
def version_info(cls) -> typing.Optional[AnalyticsVersionInfo]: ...
|
|
27
28
|
|
|
29
|
+
@typing.final
|
|
28
30
|
class AnalyticsInfo(winrt.system.Object, metaclass=AnalyticsInfo_Static):
|
|
29
31
|
@staticmethod
|
|
30
32
|
def _from(obj: winrt.system.Object, /) -> AnalyticsInfo: ...
|
|
31
33
|
|
|
34
|
+
@typing.final
|
|
32
35
|
class AnalyticsVersionInfo(winrt.system.Object):
|
|
33
36
|
@staticmethod
|
|
34
37
|
def _from(obj: winrt.system.Object, /) -> AnalyticsVersionInfo: ...
|
|
@@ -39,28 +42,35 @@ class AnalyticsVersionInfo(winrt.system.Object):
|
|
|
39
42
|
@_property
|
|
40
43
|
def product_name(self) -> str: ...
|
|
41
44
|
|
|
45
|
+
@typing.final
|
|
42
46
|
class AppApplicability_Static(type):
|
|
43
47
|
def get_unsupported_app_requirements(cls, capabilities: typing.Iterable[str], /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[UnsupportedAppRequirement]]: ...
|
|
44
48
|
|
|
49
|
+
@typing.final
|
|
45
50
|
class AppApplicability(winrt.system.Object, metaclass=AppApplicability_Static):
|
|
46
51
|
@staticmethod
|
|
47
52
|
def _from(obj: winrt.system.Object, /) -> AppApplicability: ...
|
|
48
53
|
|
|
54
|
+
@typing.final
|
|
49
55
|
class EducationSettings_Static(type):
|
|
50
56
|
@_property
|
|
51
57
|
def is_education_environment(cls) -> bool: ...
|
|
52
58
|
|
|
59
|
+
@typing.final
|
|
53
60
|
class EducationSettings(winrt.system.Object, metaclass=EducationSettings_Static):
|
|
54
61
|
@staticmethod
|
|
55
62
|
def _from(obj: winrt.system.Object, /) -> EducationSettings: ...
|
|
56
63
|
|
|
64
|
+
@typing.final
|
|
57
65
|
class HardwareIdentification_Static(type):
|
|
58
66
|
def get_package_specific_token(cls, nonce: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> typing.Optional[HardwareToken]: ...
|
|
59
67
|
|
|
68
|
+
@typing.final
|
|
60
69
|
class HardwareIdentification(winrt.system.Object, metaclass=HardwareIdentification_Static):
|
|
61
70
|
@staticmethod
|
|
62
71
|
def _from(obj: winrt.system.Object, /) -> HardwareIdentification: ...
|
|
63
72
|
|
|
73
|
+
@typing.final
|
|
64
74
|
class HardwareToken(winrt.system.Object):
|
|
65
75
|
@staticmethod
|
|
66
76
|
def _from(obj: winrt.system.Object, /) -> HardwareToken: ...
|
|
@@ -71,6 +81,7 @@ class HardwareToken(winrt.system.Object):
|
|
|
71
81
|
@_property
|
|
72
82
|
def signature(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
|
|
73
83
|
|
|
84
|
+
@typing.final
|
|
74
85
|
class KnownRetailInfoProperties_Static(type):
|
|
75
86
|
@_property
|
|
76
87
|
def battery_life_description(cls) -> str: ...
|
|
@@ -117,10 +128,22 @@ class KnownRetailInfoProperties_Static(type):
|
|
|
117
128
|
@_property
|
|
118
129
|
def windows_edition(cls) -> str: ...
|
|
119
130
|
|
|
131
|
+
@typing.final
|
|
120
132
|
class KnownRetailInfoProperties(winrt.system.Object, metaclass=KnownRetailInfoProperties_Static):
|
|
121
133
|
@staticmethod
|
|
122
134
|
def _from(obj: winrt.system.Object, /) -> KnownRetailInfoProperties: ...
|
|
123
135
|
|
|
136
|
+
@typing.final
|
|
137
|
+
class PlatformAutomaticAppSignInManager_Static(type):
|
|
138
|
+
@_property
|
|
139
|
+
def policy(cls) -> PlatformAutomaticAppSignInPolicy: ...
|
|
140
|
+
|
|
141
|
+
@typing.final
|
|
142
|
+
class PlatformAutomaticAppSignInManager(winrt.system.Object, metaclass=PlatformAutomaticAppSignInManager_Static):
|
|
143
|
+
@staticmethod
|
|
144
|
+
def _from(obj: winrt.system.Object, /) -> PlatformAutomaticAppSignInManager: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
124
147
|
class PlatformDiagnosticsAndUsageDataSettings_Static(type):
|
|
125
148
|
def can_collect_diagnostics(cls, level: PlatformDataCollectionLevel, /) -> bool: ...
|
|
126
149
|
def add_collection_level_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
@@ -128,48 +151,58 @@ class PlatformDiagnosticsAndUsageDataSettings_Static(type):
|
|
|
128
151
|
@_property
|
|
129
152
|
def collection_level(cls) -> PlatformDataCollectionLevel: ...
|
|
130
153
|
|
|
154
|
+
@typing.final
|
|
131
155
|
class PlatformDiagnosticsAndUsageDataSettings(winrt.system.Object, metaclass=PlatformDiagnosticsAndUsageDataSettings_Static):
|
|
132
156
|
@staticmethod
|
|
133
157
|
def _from(obj: winrt.system.Object, /) -> PlatformDiagnosticsAndUsageDataSettings: ...
|
|
134
158
|
|
|
159
|
+
@typing.final
|
|
135
160
|
class RetailInfo_Static(type):
|
|
136
161
|
@_property
|
|
137
162
|
def is_demo_mode_enabled(cls) -> bool: ...
|
|
138
163
|
@_property
|
|
139
164
|
def properties(cls) -> typing.Optional[winrt.windows.foundation.collections.IMapView[str, winrt.system.Object]]: ...
|
|
140
165
|
|
|
166
|
+
@typing.final
|
|
141
167
|
class RetailInfo(winrt.system.Object, metaclass=RetailInfo_Static):
|
|
142
168
|
@staticmethod
|
|
143
169
|
def _from(obj: winrt.system.Object, /) -> RetailInfo: ...
|
|
144
170
|
|
|
171
|
+
@typing.final
|
|
145
172
|
class SharedModeSettings_Static(type):
|
|
146
173
|
@_property
|
|
147
174
|
def is_enabled(cls) -> bool: ...
|
|
148
175
|
@_property
|
|
149
176
|
def should_avoid_local_storage(cls) -> bool: ...
|
|
150
177
|
|
|
178
|
+
@typing.final
|
|
151
179
|
class SharedModeSettings(winrt.system.Object, metaclass=SharedModeSettings_Static):
|
|
152
180
|
@staticmethod
|
|
153
181
|
def _from(obj: winrt.system.Object, /) -> SharedModeSettings: ...
|
|
154
182
|
|
|
183
|
+
@typing.final
|
|
155
184
|
class SmartAppControlPolicy_Static(type):
|
|
156
185
|
def add_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
157
186
|
def remove_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
158
187
|
@_property
|
|
159
188
|
def is_enabled(cls) -> bool: ...
|
|
160
189
|
|
|
190
|
+
@typing.final
|
|
161
191
|
class SmartAppControlPolicy(winrt.system.Object, metaclass=SmartAppControlPolicy_Static):
|
|
162
192
|
@staticmethod
|
|
163
193
|
def _from(obj: winrt.system.Object, /) -> SmartAppControlPolicy: ...
|
|
164
194
|
|
|
195
|
+
@typing.final
|
|
165
196
|
class SystemIdentification_Static(type):
|
|
166
197
|
def get_system_id_for_publisher(cls) -> typing.Optional[SystemIdentificationInfo]: ...
|
|
167
198
|
def get_system_id_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[SystemIdentificationInfo]: ...
|
|
168
199
|
|
|
200
|
+
@typing.final
|
|
169
201
|
class SystemIdentification(winrt.system.Object, metaclass=SystemIdentification_Static):
|
|
170
202
|
@staticmethod
|
|
171
203
|
def _from(obj: winrt.system.Object, /) -> SystemIdentification: ...
|
|
172
204
|
|
|
205
|
+
@typing.final
|
|
173
206
|
class SystemIdentificationInfo(winrt.system.Object):
|
|
174
207
|
@staticmethod
|
|
175
208
|
def _from(obj: winrt.system.Object, /) -> SystemIdentificationInfo: ...
|
|
@@ -178,16 +211,19 @@ class SystemIdentificationInfo(winrt.system.Object):
|
|
|
178
211
|
@_property
|
|
179
212
|
def source(self) -> SystemIdentificationSource: ...
|
|
180
213
|
|
|
214
|
+
@typing.final
|
|
181
215
|
class SystemSetupInfo_Static(type):
|
|
182
216
|
def add_out_of_box_experience_state_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
183
217
|
def remove_out_of_box_experience_state_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
184
218
|
@_property
|
|
185
219
|
def out_of_box_experience_state(cls) -> SystemOutOfBoxExperienceState: ...
|
|
186
220
|
|
|
221
|
+
@typing.final
|
|
187
222
|
class SystemSetupInfo(winrt.system.Object, metaclass=SystemSetupInfo_Static):
|
|
188
223
|
@staticmethod
|
|
189
224
|
def _from(obj: winrt.system.Object, /) -> SystemSetupInfo: ...
|
|
190
225
|
|
|
226
|
+
@typing.final
|
|
191
227
|
class UnsupportedAppRequirement(winrt.system.Object):
|
|
192
228
|
@staticmethod
|
|
193
229
|
def _from(obj: winrt.system.Object, /) -> UnsupportedAppRequirement: ...
|
|
@@ -196,6 +232,7 @@ class UnsupportedAppRequirement(winrt.system.Object):
|
|
|
196
232
|
@_property
|
|
197
233
|
def requirement(self) -> str: ...
|
|
198
234
|
|
|
235
|
+
@typing.final
|
|
199
236
|
class WindowsIntegrityPolicy_Static(type):
|
|
200
237
|
def add_policy_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
201
238
|
def remove_policy_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
@@ -208,6 +245,7 @@ class WindowsIntegrityPolicy_Static(type):
|
|
|
208
245
|
@_property
|
|
209
246
|
def is_enabled_for_trial(cls) -> bool: ...
|
|
210
247
|
|
|
248
|
+
@typing.final
|
|
211
249
|
class WindowsIntegrityPolicy(winrt.system.Object, metaclass=WindowsIntegrityPolicy_Static):
|
|
212
250
|
@staticmethod
|
|
213
251
|
def _from(obj: winrt.system.Object, /) -> WindowsIntegrityPolicy: ...
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
@@ -6,6 +6,7 @@ import winrt.system
|
|
|
6
6
|
from winrt import _winrt_windows_system_profile
|
|
7
7
|
|
|
8
8
|
__all__ = [
|
|
9
|
+
"PlatformAutomaticAppSignInPolicy",
|
|
9
10
|
"PlatformDataCollectionLevel",
|
|
10
11
|
"SystemIdentificationSource",
|
|
11
12
|
"SystemOutOfBoxExperienceState",
|
|
@@ -17,6 +18,7 @@ __all__ = [
|
|
|
17
18
|
"HardwareIdentification",
|
|
18
19
|
"HardwareToken",
|
|
19
20
|
"KnownRetailInfoProperties",
|
|
21
|
+
"PlatformAutomaticAppSignInManager",
|
|
20
22
|
"PlatformDiagnosticsAndUsageDataSettings",
|
|
21
23
|
"RetailInfo",
|
|
22
24
|
"SharedModeSettings",
|
|
@@ -28,6 +30,11 @@ __all__ = [
|
|
|
28
30
|
"WindowsIntegrityPolicy",
|
|
29
31
|
]
|
|
30
32
|
|
|
33
|
+
class PlatformAutomaticAppSignInPolicy(enum.IntEnum):
|
|
34
|
+
UNKNOWN = 0
|
|
35
|
+
PERMISSION_REQUIRED = 1
|
|
36
|
+
ALWAYS_ALLOWED = 2
|
|
37
|
+
|
|
31
38
|
class PlatformDataCollectionLevel(enum.IntEnum):
|
|
32
39
|
SECURITY = 0
|
|
33
40
|
BASIC = 1
|
|
@@ -56,6 +63,7 @@ EducationSettings = _winrt_windows_system_profile.EducationSettings
|
|
|
56
63
|
HardwareIdentification = _winrt_windows_system_profile.HardwareIdentification
|
|
57
64
|
HardwareToken = _winrt_windows_system_profile.HardwareToken
|
|
58
65
|
KnownRetailInfoProperties = _winrt_windows_system_profile.KnownRetailInfoProperties
|
|
66
|
+
PlatformAutomaticAppSignInManager = _winrt_windows_system_profile.PlatformAutomaticAppSignInManager
|
|
59
67
|
PlatformDiagnosticsAndUsageDataSettings = _winrt_windows_system_profile.PlatformDiagnosticsAndUsageDataSettings
|
|
60
68
|
RetailInfo = _winrt_windows_system_profile.RetailInfo
|
|
61
69
|
SharedModeSettings = _winrt_windows_system_profile.SharedModeSettings
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Profile
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
|
|
15
21
|
|
|
16
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
23
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_system_profile.pyi
|
|
9
9
|
winrt/windows/system/profile/__init__.py
|
|
10
|
+
winrt/windows/system/profile/py.typed
|
|
10
11
|
winrt_Windows.System.Profile.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.System.Profile.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.System.Profile.egg-info/dependency_links.txt
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.System[all]==2.0.0-beta.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
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_system_profile",
|
|
10
|
-
sources=["py.Windows.System.Profile.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
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|