winrt-Windows.ApplicationModel.LockScreen 3.2.0__tar.gz → 4!10.0.28000.2705__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.
Files changed (23) hide show
  1. winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705/PKG-INFO +48 -0
  4. winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705/pyproject.toml +60 -0
  6. {winrt_windows_applicationmodel_lockscreen-3.2.0 → winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705}/winrt/windows/applicationmodel/lockscreen/__init__.py +4 -8
  7. winrt_windows_applicationmodel_lockscreen-3.2.0/winrt/_winrt_windows_applicationmodel_lockscreen.pyi → winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705/winrt/windows/applicationmodel/lockscreen/__init__.pyi +28 -15
  8. winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705/winrt/windows/applicationmodel/lockscreen/_table.pywinrt.txt +441 -0
  9. winrt_windows_applicationmodel_lockscreen-3.2.0/PKG-INFO +0 -27
  10. winrt_windows_applicationmodel_lockscreen-3.2.0/README.md +0 -7
  11. winrt_windows_applicationmodel_lockscreen-3.2.0/all-requirements.txt +0 -5
  12. winrt_windows_applicationmodel_lockscreen-3.2.0/py.Windows.ApplicationModel.LockScreen.cpp +0 -1260
  13. winrt_windows_applicationmodel_lockscreen-3.2.0/pyproject.toml +0 -47
  14. winrt_windows_applicationmodel_lockscreen-3.2.0/pywinrt-version.txt +0 -1
  15. winrt_windows_applicationmodel_lockscreen-3.2.0/requirements.txt +0 -3
  16. winrt_windows_applicationmodel_lockscreen-3.2.0/setup.cfg +0 -4
  17. winrt_windows_applicationmodel_lockscreen-3.2.0/setup.py +0 -33
  18. winrt_windows_applicationmodel_lockscreen-3.2.0/winrt_Windows.ApplicationModel.LockScreen.egg-info/PKG-INFO +0 -27
  19. winrt_windows_applicationmodel_lockscreen-3.2.0/winrt_Windows.ApplicationModel.LockScreen.egg-info/SOURCES.txt +0 -15
  20. winrt_windows_applicationmodel_lockscreen-3.2.0/winrt_Windows.ApplicationModel.LockScreen.egg-info/dependency_links.txt +0 -1
  21. winrt_windows_applicationmodel_lockscreen-3.2.0/winrt_Windows.ApplicationModel.LockScreen.egg-info/requires.txt +0 -6
  22. winrt_windows_applicationmodel_lockscreen-3.2.0/winrt_Windows.ApplicationModel.LockScreen.egg-info/top_level.txt +0 -1
  23. {winrt_windows_applicationmodel_lockscreen-3.2.0 → winrt_windows_applicationmodel_lockscreen-4!10.0.28000.2705}/winrt/windows/applicationmodel/lockscreen/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.LockScreen
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.LockScreen namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
33
+
34
+ # winrt-Windows.ApplicationModel.LockScreen
35
+
36
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.LockScreen` namespace.
37
+
38
+ This package provides the `winrt.windows.applicationmodel.lockscreen` module.
39
+
40
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
41
+ `Microsoft.Windows.SDK.CPP` NuGet package.
42
+
43
+ ```
44
+ pip install winrt-Windows.ApplicationModel.LockScreen
45
+ ```
46
+
47
+ Other WinRT namespaces are packages of their own, so install the package of
48
+ each namespace your code imports from.
@@ -0,0 +1,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.ApplicationModel.LockScreen
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.LockScreen` namespace.
6
+
7
+ This package provides the `winrt.windows.applicationmodel.lockscreen` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.ApplicationModel.LockScreen
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,60 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.ApplicationModel.LockScreen"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.ApplicationModel.LockScreen namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2705",
31
+ "winrt-Windows.Foundation.Collections>=4!10.0.28000.2705",
32
+ "winrt-Windows.Storage.Streams>=4!10.0.28000.2705",
33
+ ]
34
+
35
+ [project.optional-dependencies]
36
+ all = [
37
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
38
+ "winrt-Windows.Foundation.Collections[all]>=4!10.0.28000.2705",
39
+ "winrt-Windows.Storage.Streams[all]>=4!10.0.28000.2705",
40
+ ]
41
+
42
+ [project.urls]
43
+ Documentation = "https://pywinrt.readthedocs.io"
44
+ Repository = "https://github.com/pywinrt/pywinrt"
45
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
46
+
47
+ [tool.hatch.build.targets.sdist]
48
+ # The text form of the table is what the source distribution carries, and the
49
+ # compiled form is build output wherever it turns up. Hatchling reads no
50
+ # .gitignore above the package, so it has to be told about the latter.
51
+ only-include = ["winrt", "LICENSE", "README.md"]
52
+ exclude = ["**/_table.pywinrt"]
53
+
54
+ [tool.hatch.build.targets.wheel]
55
+ packages = ["winrt"]
56
+ exclude = ["**/_table.pywinrt.txt"]
57
+
58
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
59
+ # the package carries and puts the result beside the __init__.py that loads it.
60
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -1,13 +1,9 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
+ import winrt.runtime._internals
3
4
  import winrt.system
4
- from winrt._winrt_windows_applicationmodel_lockscreen import (
5
- LockApplicationHost,
6
- LockScreenBadge,
7
- LockScreenInfo,
8
- LockScreenUnlockingDeferral,
9
- LockScreenUnlockingEventArgs,
10
- )
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
11
7
 
12
8
  __all__ = [
13
9
  "LockApplicationHost",
@@ -1,36 +1,43 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
+ import collections.abc as _cabc
3
4
  import datetime
4
- import sys
5
- import types
6
5
  import typing
7
- import uuid as _uuid
8
6
  from builtins import property as _property
9
7
 
10
- import winrt._winrt
11
8
  import winrt.system
12
9
  import winrt.windows.foundation as windows_foundation
13
10
  import winrt.windows.foundation.collections as windows_foundation_collections
14
11
  import winrt.windows.storage.streams as windows_storage_streams
15
12
 
16
- Self = typing.TypeVar('Self')
13
+ __all__ = [
14
+ "LockApplicationHost",
15
+ "LockScreenBadge",
16
+ "LockScreenInfo",
17
+ "LockScreenUnlockingDeferral",
18
+ "LockScreenUnlockingEventArgs",
19
+ ]
17
20
 
18
21
  @typing.final
19
- class LockApplicationHost_Static(winrt._winrt.IInspectable_Static):
22
+ class LockApplicationHost_Static(winrt.system.Object_Static):
20
23
  # Windows.ApplicationModel.LockScreen.LockApplicationHost Windows.ApplicationModel.LockScreen.LockApplicationHost::GetForCurrentView()
21
24
  def get_for_current_view(cls) -> LockApplicationHost: ...
22
25
 
23
26
  @typing.final
24
27
  class LockApplicationHost(winrt.system.Object, metaclass=LockApplicationHost_Static):
28
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
29
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
25
30
  # System.Void Windows.ApplicationModel.LockScreen.LockApplicationHost::RequestUnlock()
26
31
  def request_unlock(self) -> None: ...
27
32
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.LockScreen.LockApplicationHost::add_Unlocking(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.LockScreen.LockApplicationHost,Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs>)
28
33
  def add_unlocking(self, handler: windows_foundation.TypedEventHandler[LockApplicationHost, LockScreenUnlockingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
29
34
  # System.Void Windows.ApplicationModel.LockScreen.LockApplicationHost::remove_Unlocking(Windows.Foundation.EventRegistrationToken)
30
- def remove_unlocking(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
35
+ def remove_unlocking(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
31
36
 
32
37
  @typing.final
33
38
  class LockScreenBadge(winrt.system.Object):
39
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
40
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
34
41
  # System.Void Windows.ApplicationModel.LockScreen.LockScreenBadge::LaunchApp()
35
42
  def launch_app(self) -> None: ...
36
43
  # System.String Windows.ApplicationModel.LockScreen.LockScreenBadge::get_AutomationName()
@@ -44,46 +51,52 @@ class LockScreenBadge(winrt.system.Object):
44
51
  def logo(self) -> windows_storage_streams.IRandomAccessStream: ...
45
52
  # Windows.Foundation.IReference`1<System.UInt32> Windows.ApplicationModel.LockScreen.LockScreenBadge::get_Number()
46
53
  @_property
47
- def number(self) -> typing.Optional[winrt.system.UInt32]: ...
54
+ def number(self) -> winrt.system.UInt32 | None: ...
48
55
 
49
56
  @typing.final
50
57
  class LockScreenInfo(winrt.system.Object):
58
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
59
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
51
60
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.LockScreen.LockScreenInfo::add_AlarmIconChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.LockScreen.LockScreenInfo,System.Object>)
52
61
  def add_alarm_icon_changed(self, handler: windows_foundation.TypedEventHandler[LockScreenInfo, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
53
62
  # System.Void Windows.ApplicationModel.LockScreen.LockScreenInfo::remove_AlarmIconChanged(Windows.Foundation.EventRegistrationToken)
54
- def remove_alarm_icon_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
63
+ def remove_alarm_icon_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
55
64
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.LockScreen.LockScreenInfo::add_BadgesChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.LockScreen.LockScreenInfo,System.Object>)
56
65
  def add_badges_changed(self, handler: windows_foundation.TypedEventHandler[LockScreenInfo, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
57
66
  # System.Void Windows.ApplicationModel.LockScreen.LockScreenInfo::remove_BadgesChanged(Windows.Foundation.EventRegistrationToken)
58
- def remove_badges_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
67
+ def remove_badges_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
59
68
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.LockScreen.LockScreenInfo::add_DetailTextChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.LockScreen.LockScreenInfo,System.Object>)
60
69
  def add_detail_text_changed(self, handler: windows_foundation.TypedEventHandler[LockScreenInfo, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
61
70
  # System.Void Windows.ApplicationModel.LockScreen.LockScreenInfo::remove_DetailTextChanged(Windows.Foundation.EventRegistrationToken)
62
- def remove_detail_text_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
71
+ def remove_detail_text_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
63
72
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.LockScreen.LockScreenInfo::add_LockScreenImageChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.LockScreen.LockScreenInfo,System.Object>)
64
73
  def add_lock_screen_image_changed(self, handler: windows_foundation.TypedEventHandler[LockScreenInfo, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
65
74
  # System.Void Windows.ApplicationModel.LockScreen.LockScreenInfo::remove_LockScreenImageChanged(Windows.Foundation.EventRegistrationToken)
66
- def remove_lock_screen_image_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
75
+ def remove_lock_screen_image_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
67
76
  # Windows.Storage.Streams.IRandomAccessStream Windows.ApplicationModel.LockScreen.LockScreenInfo::get_AlarmIcon()
68
77
  @_property
69
78
  def alarm_icon(self) -> windows_storage_streams.IRandomAccessStream: ...
70
79
  # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.LockScreen.LockScreenBadge> Windows.ApplicationModel.LockScreen.LockScreenInfo::get_Badges()
71
80
  @_property
72
- def badges(self) -> typing.Sequence[LockScreenBadge]: ...
81
+ def badges(self) -> _cabc.Sequence[LockScreenBadge]: ...
73
82
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.ApplicationModel.LockScreen.LockScreenInfo::get_DetailText()
74
83
  @_property
75
- def detail_text(self) -> typing.Sequence[str]: ...
84
+ def detail_text(self) -> _cabc.Sequence[str]: ...
76
85
  # Windows.Storage.Streams.IRandomAccessStream Windows.ApplicationModel.LockScreen.LockScreenInfo::get_LockScreenImage()
77
86
  @_property
78
87
  def lock_screen_image(self) -> windows_storage_streams.IRandomAccessStream: ...
79
88
 
80
89
  @typing.final
81
90
  class LockScreenUnlockingDeferral(winrt.system.Object):
91
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
92
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
82
93
  # System.Void Windows.ApplicationModel.LockScreen.LockScreenUnlockingDeferral::Complete()
83
94
  def complete(self) -> None: ...
84
95
 
85
96
  @typing.final
86
97
  class LockScreenUnlockingEventArgs(winrt.system.Object):
98
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
99
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
87
100
  # Windows.ApplicationModel.LockScreen.LockScreenUnlockingDeferral Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs::GetDeferral()
88
101
  def get_deferral(self) -> LockScreenUnlockingDeferral: ...
89
102
  # Windows.Foundation.DateTime Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs::get_Deadline()