winrt-Windows.Management.Core 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_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/PKG-INFO +4 -4
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/all-requirements.txt +2 -2
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/py.Windows.Management.Core.cpp +27 -18
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/pyproject.toml +2 -2
- winrt_windows_management_core-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/requirements.txt +2 -2
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/setup.py +1 -1
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/winrt/_winrt_windows_management_core.pyi +5 -5
- winrt_windows_management_core-3.0.0/winrt/windows/management/core/__init__.py +11 -0
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/winrt_Windows.Management.Core.egg-info/PKG-INFO +4 -4
- winrt_windows_management_core-3.0.0/winrt_Windows.Management.Core.egg-info/requires.txt +4 -0
- winrt_windows_management_core-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_management_core-2.2.0/winrt/windows/management/core/__init__.py +0 -10
- winrt_windows_management_core-2.2.0/winrt_Windows.Management.Core.egg-info/requires.txt +0 -4
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/README.md +0 -0
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/setup.cfg +0 -0
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/winrt/windows/management/core/py.typed +0 -0
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/winrt_Windows.Management.Core.egg-info/SOURCES.txt +0 -0
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/winrt_Windows.Management.Core.egg-info/dependency_links.txt +0 -0
- {winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/winrt_Windows.Management.Core.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Management.Core
|
|
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.Storage[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Storage[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
{winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/all-requirements.txt
RENAMED
|
@@ -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.Storage[all]==
|
|
3
|
+
winrt-Windows.Storage[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.Management.Core.h"
|
|
4
4
|
|
|
@@ -23,7 +23,7 @@ namespace py::cpp::Windows::Management::Core
|
|
|
23
23
|
|
|
24
24
|
static PyObject* ApplicationDataManager_CreateForPackageFamily(PyObject* /*unused*/, PyObject* args) noexcept
|
|
25
25
|
{
|
|
26
|
-
auto arg_count =
|
|
26
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
27
27
|
|
|
28
28
|
if (arg_count == 1)
|
|
29
29
|
{
|
|
@@ -44,7 +44,11 @@ namespace py::cpp::Windows::Management::Core
|
|
|
44
44
|
|
|
45
45
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
46
46
|
|
|
47
|
-
return py::convert(
|
|
47
|
+
return py::convert([&]()
|
|
48
|
+
{
|
|
49
|
+
auto _gil = release_gil();
|
|
50
|
+
return winrt::Windows::Management::Core::ApplicationDataManager::CreateForPackageFamily(param0);
|
|
51
|
+
}());
|
|
48
52
|
}
|
|
49
53
|
catch (...)
|
|
50
54
|
{
|
|
@@ -86,20 +90,17 @@ namespace py::cpp::Windows::Management::Core
|
|
|
86
90
|
static PyMethodDef _methods_ApplicationDataManager[] = {
|
|
87
91
|
{ "_assign_array_", _assign_array_ApplicationDataManager, METH_O | METH_STATIC, nullptr },
|
|
88
92
|
{ "_from", reinterpret_cast<PyCFunction>(_from_ApplicationDataManager), METH_O | METH_STATIC, nullptr },
|
|
89
|
-
{ }
|
|
90
|
-
};
|
|
93
|
+
{ }};
|
|
91
94
|
|
|
92
95
|
static PyGetSetDef _getset_ApplicationDataManager[] = {
|
|
93
|
-
{ }
|
|
94
|
-
};
|
|
96
|
+
{ }};
|
|
95
97
|
|
|
96
98
|
static PyType_Slot _type_slots_ApplicationDataManager[] = {
|
|
97
99
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ApplicationDataManager) },
|
|
98
100
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ApplicationDataManager) },
|
|
99
101
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ApplicationDataManager) },
|
|
100
102
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ApplicationDataManager) },
|
|
101
|
-
{ }
|
|
102
|
-
};
|
|
103
|
+
{ }};
|
|
103
104
|
|
|
104
105
|
static PyType_Spec type_spec_ApplicationDataManager = {
|
|
105
106
|
"winrt._winrt_windows_management_core.ApplicationDataManager",
|
|
@@ -109,13 +110,11 @@ namespace py::cpp::Windows::Management::Core
|
|
|
109
110
|
_type_slots_ApplicationDataManager};
|
|
110
111
|
|
|
111
112
|
static PyGetSetDef getset_ApplicationDataManager_Static[] = {
|
|
112
|
-
{ }
|
|
113
|
-
};
|
|
113
|
+
{ }};
|
|
114
114
|
|
|
115
115
|
static PyMethodDef methods_ApplicationDataManager_Static[] = {
|
|
116
116
|
{ "create_for_package_family", reinterpret_cast<PyCFunction>(ApplicationDataManager_CreateForPackageFamily), METH_VARARGS, nullptr },
|
|
117
|
-
{ }
|
|
118
|
-
};
|
|
117
|
+
{ }};
|
|
119
118
|
|
|
120
119
|
static PyType_Slot type_slots_ApplicationDataManager_Static[] =
|
|
121
120
|
{
|
|
@@ -125,14 +124,12 @@ namespace py::cpp::Windows::Management::Core
|
|
|
125
124
|
{ }
|
|
126
125
|
};
|
|
127
126
|
|
|
128
|
-
static PyType_Spec type_spec_ApplicationDataManager_Static =
|
|
129
|
-
{
|
|
127
|
+
static PyType_Spec type_spec_ApplicationDataManager_Static = {
|
|
130
128
|
"winrt._winrt_windows_management_core.ApplicationDataManager_Static",
|
|
131
129
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
132
130
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
133
131
|
Py_TPFLAGS_DEFAULT,
|
|
134
|
-
type_slots_ApplicationDataManager_Static
|
|
135
|
-
};
|
|
132
|
+
type_slots_ApplicationDataManager_Static};
|
|
136
133
|
|
|
137
134
|
// ----- Windows.Management.Core Initialization --------------------
|
|
138
135
|
|
|
@@ -166,6 +163,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_management_core(void) noexcept
|
|
|
166
163
|
return nullptr;
|
|
167
164
|
}
|
|
168
165
|
|
|
166
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
167
|
+
if (!inspectable_meta_type)
|
|
168
|
+
{
|
|
169
|
+
return nullptr;
|
|
170
|
+
}
|
|
171
|
+
|
|
169
172
|
auto object_type = py::get_object_type();
|
|
170
173
|
if (!object_type)
|
|
171
174
|
{
|
|
@@ -179,7 +182,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_management_core(void) noexcept
|
|
|
179
182
|
return nullptr;
|
|
180
183
|
}
|
|
181
184
|
|
|
182
|
-
py::pyobj_handle
|
|
185
|
+
py::pyobj_handle ApplicationDataManager_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
186
|
+
if (!ApplicationDataManager_Static_bases)
|
|
187
|
+
{
|
|
188
|
+
return nullptr;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
py::pyobj_handle type_ApplicationDataManager_Static{PyType_FromSpecWithBases(&type_spec_ApplicationDataManager_Static, ApplicationDataManager_Static_bases.get())};
|
|
183
192
|
if (!type_ApplicationDataManager_Static)
|
|
184
193
|
{
|
|
185
194
|
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
|
{winrt_windows_management_core-2.2.0 → winrt_windows_management_core-3.0.0}/requirements.txt
RENAMED
|
@@ -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
|
|
@@ -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
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -14,11 +14,11 @@ import winrt.windows.storage as windows_storage
|
|
|
14
14
|
Self = typing.TypeVar('Self')
|
|
15
15
|
|
|
16
16
|
@typing.final
|
|
17
|
-
class ApplicationDataManager_Static(
|
|
18
|
-
|
|
17
|
+
class ApplicationDataManager_Static(winrt._winrt.IInspectable_Static):
|
|
18
|
+
# Windows.Storage.ApplicationData Windows.Management.Core.ApplicationDataManager::CreateForPackageFamily(System.String)
|
|
19
|
+
def create_for_package_family(cls, package_family_name: str, /) -> windows_storage.ApplicationData: ...
|
|
19
20
|
|
|
20
21
|
@typing.final
|
|
21
22
|
class ApplicationDataManager(winrt.system.Object, metaclass=ApplicationDataManager_Static):
|
|
22
|
-
|
|
23
|
-
def _from(obj: winrt.system.Object, /) -> ApplicationDataManager: ...
|
|
23
|
+
pass
|
|
24
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Management.Core
|
|
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.Storage[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Storage[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,10 +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_management_core
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"ApplicationDataManager",
|
|
8
|
-
]
|
|
9
|
-
|
|
10
|
-
ApplicationDataManager = _winrt_windows_management_core.ApplicationDataManager
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|