winrt-Windows.System.Display
Advanced tools
+3
-3
| Metadata-Version: 2.1 | ||
| Name: winrt-Windows.System.Display | ||
| Version: 2.3.0 | ||
| Version: 3.0.0 | ||
| Summary: Python projection of Windows Runtime (WinRT) APIs | ||
@@ -13,5 +13,5 @@ License: MIT | ||
| Classifier: Intended Audience :: Developers | ||
| Requires-Python: <3.14,>=3.9 | ||
| Requires-Python: >=3.9 | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: winrt-runtime==2.3.0 | ||
| Requires-Dist: winrt-runtime==3.0.0 | ||
@@ -18,0 +18,0 @@ <!-- warning: Please don't edit this file. It was automatically generated. --> |
@@ -1,2 +0,2 @@ | ||
| // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0 | ||
| // WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0 | ||
@@ -11,3 +11,3 @@ #include "py.Windows.System.Display.h" | ||
| { | ||
| if (kwds != nullptr) | ||
| if (kwds) | ||
| { | ||
@@ -18,3 +18,3 @@ py::set_invalid_kwd_args_error(); | ||
| auto arg_count = PyTuple_Size(args); | ||
| auto arg_count = PyTuple_GET_SIZE(args); | ||
| if (arg_count == 0) | ||
@@ -50,3 +50,3 @@ { | ||
| { | ||
| auto arg_count = PyTuple_Size(args); | ||
| auto arg_count = PyTuple_GET_SIZE(args); | ||
@@ -70,3 +70,7 @@ if (arg_count == 0) | ||
| self->obj.RequestActive(); | ||
| { | ||
| auto _gil = release_gil(); | ||
| self->obj.RequestActive(); | ||
| } | ||
| Py_RETURN_NONE; | ||
@@ -89,3 +93,3 @@ } | ||
| { | ||
| auto arg_count = PyTuple_Size(args); | ||
| auto arg_count = PyTuple_GET_SIZE(args); | ||
@@ -109,3 +113,7 @@ if (arg_count == 0) | ||
| self->obj.RequestRelease(); | ||
| { | ||
| auto _gil = release_gil(); | ||
| self->obj.RequestRelease(); | ||
| } | ||
| Py_RETURN_NONE; | ||
@@ -155,8 +163,6 @@ } | ||
| { "_from", reinterpret_cast<PyCFunction>(_from_DisplayRequest), METH_O | METH_STATIC, nullptr }, | ||
| { } | ||
| }; | ||
| { }}; | ||
| static PyGetSetDef _getset_DisplayRequest[] = { | ||
| { } | ||
| }; | ||
| { }}; | ||
@@ -168,4 +174,3 @@ static PyType_Slot _type_slots_DisplayRequest[] = { | ||
| { Py_tp_getset, reinterpret_cast<void*>(_getset_DisplayRequest) }, | ||
| { } | ||
| }; | ||
| { }}; | ||
@@ -211,2 +216,8 @@ static PyType_Spec type_spec_DisplayRequest = { | ||
| auto inspectable_meta_type = py::get_inspectable_meta_type(); | ||
| if (!inspectable_meta_type) | ||
| { | ||
| return nullptr; | ||
| } | ||
| auto object_type = py::get_object_type(); | ||
@@ -225,3 +236,3 @@ if (!object_type) | ||
| py::pytype_handle DisplayRequest_type{py::register_python_type(module.get(), &type_spec_DisplayRequest, object_bases.get(), nullptr)}; | ||
| py::pytype_handle DisplayRequest_type{py::register_python_type(module.get(), &type_spec_DisplayRequest, object_bases.get(), inspectable_meta_type)}; | ||
| if (!DisplayRequest_type) | ||
@@ -228,0 +239,0 @@ { |
+2
-2
@@ -19,3 +19,3 @@ # WARNING: Please don't edit this file. It was automatically generated. | ||
| dynamic = ["version", "dependencies"] | ||
| requires-python = ">=3.9,<3.14" | ||
| requires-python = ">=3.9" | ||
@@ -37,3 +37,3 @@ [project.urls] | ||
| # use local winrt-sdk build dependency | ||
| environment = { PYTHONPATH="../winrt-sdk/src" } | ||
| environment = { PYTHONPATH="../../winrt-sdk/src" } | ||
| # don't install winrt-sdk from PyPI | ||
@@ -40,0 +40,0 @@ build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] } |
@@ -1,1 +0,1 @@ | ||
| 2.3.0 | ||
| 3.0.0 |
+2
-2
@@ -1,3 +0,3 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0 | ||
| winrt-runtime==2.3.0 | ||
| winrt-runtime==3.0.0 |
+1
-1
@@ -22,3 +22,3 @@ # WARNING: Please don't edit this file. It was automatically generated. | ||
| setup( | ||
| cmdclass = {'build_ext': build_ext_ex}, | ||
| cmdclass={"build_ext": build_ext_ex}, | ||
| ext_modules=[ | ||
@@ -25,0 +25,0 @@ Extension( |
| Metadata-Version: 2.1 | ||
| Name: winrt-Windows.System.Display | ||
| Version: 2.3.0 | ||
| Version: 3.0.0 | ||
| Summary: Python projection of Windows Runtime (WinRT) APIs | ||
@@ -13,5 +13,5 @@ License: MIT | ||
| Classifier: Intended Audience :: Developers | ||
| Requires-Python: <3.14,>=3.9 | ||
| Requires-Python: >=3.9 | ||
| Description-Content-Type: text/markdown | ||
| Requires-Dist: winrt-runtime==2.3.0 | ||
| Requires-Dist: winrt-runtime==3.0.0 | ||
@@ -18,0 +18,0 @@ <!-- warning: Please don't edit this file. It was automatically generated. --> |
@@ -1,1 +0,1 @@ | ||
| winrt-runtime==2.3.0 | ||
| winrt-runtime==3.0.0 |
@@ -1,2 +0,2 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0 | ||
@@ -17,7 +17,7 @@ import datetime | ||
| class DisplayRequest(winrt.system.Object): | ||
| @staticmethod | ||
| def _from(obj: winrt.system.Object, /) -> DisplayRequest: ... | ||
| def __new__(cls: typing.Type[DisplayRequest]) -> DisplayRequest: ... | ||
| def __new__(cls: typing.Type[Self]) -> Self: ... | ||
| # System.Void Windows.System.Display.DisplayRequest::RequestActive() | ||
| def request_active(self) -> None: ... | ||
| # System.Void Windows.System.Display.DisplayRequest::RequestRelease() | ||
| def request_release(self) -> None: ... | ||
@@ -1,5 +0,7 @@ | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0 | ||
| # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0 | ||
| import winrt.system | ||
| from winrt import _winrt_windows_system_display | ||
| from winrt._winrt_windows_system_display import ( | ||
| DisplayRequest, | ||
| ) | ||
@@ -10,2 +12,1 @@ __all__ = [ | ||
| DisplayRequest = _winrt_windows_system_display.DisplayRequest |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
13007
2.35%50
2.04%