winrt-Windows.System.Threading.Core 2.2.0__cp39-cp39-win32.whl → 3.0.0__cp39-cp39-win32.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.
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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
@@ -18,31 +18,30 @@ Self = typing.TypeVar('Self')
18
18
 
19
19
  @typing.final
20
20
  class PreallocatedWorkItem(winrt.system.Object):
21
- @staticmethod
22
- def _from(obj: winrt.system.Object, /) -> PreallocatedWorkItem: ...
23
21
  @typing.overload
24
- def __new__(cls: typing.Type[PreallocatedWorkItem], handler: typing.Optional[windows_system_threading.WorkItemHandler]) -> PreallocatedWorkItem: ...
22
+ def __new__(cls: typing.Type[Self], handler: windows_system_threading.WorkItemHandler) -> Self: ...
25
23
  @typing.overload
26
- def __new__(cls: typing.Type[PreallocatedWorkItem], handler: typing.Optional[windows_system_threading.WorkItemHandler], priority: windows_system_threading.WorkItemPriority) -> PreallocatedWorkItem: ...
24
+ def __new__(cls: typing.Type[Self], handler: windows_system_threading.WorkItemHandler, priority: windows_system_threading.WorkItemPriority) -> Self: ...
27
25
  @typing.overload
28
- def __new__(cls: typing.Type[PreallocatedWorkItem], handler: typing.Optional[windows_system_threading.WorkItemHandler], priority: windows_system_threading.WorkItemPriority, options: windows_system_threading.WorkItemOptions) -> PreallocatedWorkItem: ...
26
+ def __new__(cls: typing.Type[Self], handler: windows_system_threading.WorkItemHandler, priority: windows_system_threading.WorkItemPriority, options: windows_system_threading.WorkItemOptions) -> Self: ...
27
+ # Windows.Foundation.IAsyncAction Windows.System.Threading.Core.PreallocatedWorkItem::RunAsync()
29
28
  def run_async(self) -> windows_foundation.IAsyncAction: ...
30
29
 
31
30
  @typing.final
32
- class SignalNotifier_Static(type):
33
- @typing.overload
34
- def attach_to_event(cls, name: str, handler: typing.Optional[SignalHandler], /) -> typing.Optional[SignalNotifier]: ...
35
- @typing.overload
36
- def attach_to_event(cls, name: str, handler: typing.Optional[SignalHandler], timeout: datetime.timedelta, /) -> typing.Optional[SignalNotifier]: ...
37
- @typing.overload
38
- def attach_to_semaphore(cls, name: str, handler: typing.Optional[SignalHandler], /) -> typing.Optional[SignalNotifier]: ...
39
- @typing.overload
40
- def attach_to_semaphore(cls, name: str, handler: typing.Optional[SignalHandler], timeout: datetime.timedelta, /) -> typing.Optional[SignalNotifier]: ...
31
+ class SignalNotifier_Static(winrt._winrt.IInspectable_Static):
32
+ # Windows.System.Threading.Core.SignalNotifier Windows.System.Threading.Core.SignalNotifier::AttachToEvent(System.String,Windows.System.Threading.Core.SignalHandler)
33
+ def attach_to_event(cls, name: str, handler: SignalHandler, /) -> SignalNotifier: ...
34
+ # Windows.System.Threading.Core.SignalNotifier Windows.System.Threading.Core.SignalNotifier::AttachToEvent(System.String,Windows.System.Threading.Core.SignalHandler,Windows.Foundation.TimeSpan)
35
+ def attach_to_event_with_timeout(cls, name: str, handler: SignalHandler, timeout: datetime.timedelta, /) -> SignalNotifier: ...
36
+ # Windows.System.Threading.Core.SignalNotifier Windows.System.Threading.Core.SignalNotifier::AttachToSemaphore(System.String,Windows.System.Threading.Core.SignalHandler)
37
+ def attach_to_semaphore(cls, name: str, handler: SignalHandler, /) -> SignalNotifier: ...
38
+ # Windows.System.Threading.Core.SignalNotifier Windows.System.Threading.Core.SignalNotifier::AttachToSemaphore(System.String,Windows.System.Threading.Core.SignalHandler,Windows.Foundation.TimeSpan)
39
+ def attach_to_semaphore_with_timeout(cls, name: str, handler: SignalHandler, timeout: datetime.timedelta, /) -> SignalNotifier: ...
41
40
 
42
41
  @typing.final
43
42
  class SignalNotifier(winrt.system.Object, metaclass=SignalNotifier_Static):
44
- @staticmethod
45
- def _from(obj: winrt.system.Object, /) -> SignalNotifier: ...
43
+ # System.Void Windows.System.Threading.Core.SignalNotifier::Enable()
46
44
  def enable(self) -> None: ...
45
+ # System.Void Windows.System.Threading.Core.SignalNotifier::Terminate()
47
46
  def terminate(self) -> None: ...
48
47
 
@@ -1,10 +1,13 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
2
2
 
3
3
  import typing
4
4
  import uuid as _uuid
5
5
 
6
6
  import winrt.system
7
- from winrt import _winrt_windows_system_threading_core
7
+ from winrt._winrt_windows_system_threading_core import (
8
+ PreallocatedWorkItem,
9
+ SignalNotifier,
10
+ )
8
11
 
9
12
  __all__ = [
10
13
  "PreallocatedWorkItem",
@@ -12,6 +15,4 @@ __all__ = [
12
15
  "SignalHandler",
13
16
  ]
14
17
 
15
- PreallocatedWorkItem = _winrt_windows_system_threading_core.PreallocatedWorkItem
16
- SignalNotifier = _winrt_windows_system_threading_core.SignalNotifier
17
- SignalHandler = typing.Callable[[typing.Optional[SignalNotifier], bool], None]
18
+ SignalHandler = typing.Callable[[SignalNotifier, bool], None]
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: winrt-Windows.System.Threading.Core
3
- Version: 2.2.0
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,12 +10,12 @@ 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: <3.14,>=3.9
13
+ Requires-Python: >=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime ==2.2.0
15
+ Requires-Dist: winrt-runtime==3.0.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
- Requires-Dist: winrt-Windows.System.Threading[all] ==2.2.0 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.System.Threading[all]==3.0.0; extra == "all"
19
19
 
20
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
21
21
 
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_threading_core.cp39-win32.pyd,sha256=BGZunXYLRdt9YXv-RvL547I_X7E2R-6xD2XzRpLjXLk,63488
2
+ winrt/_winrt_windows_system_threading_core.pyi,sha256=q7fx4UBqtzPTN7fWb-VkeGenrdHo6wYRYs-cidzYrbk,2801
3
+ winrt/windows/system/threading/core/__init__.py,sha256=g3k7Gfm1vo165wPeG7xFc_G690SzkCSqJTyaSwmpe5o,391
4
+ winrt/windows/system/threading/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_system_threading_core-3.0.0.dist-info/METADATA,sha256=4YLXp2UY7NgfYQtuOocwVxSeZUQrGeHKfWSs2kSamzs,1133
6
+ winrt_windows_system_threading_core-3.0.0.dist-info/WHEEL,sha256=_vukpqoK9A85Eckz8O-rHtyQKi1GnET8Kzj3S42oOVU,95
7
+ winrt_windows_system_threading_core-3.0.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_system_threading_core-3.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (73.0.0)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-win32
5
5
 
@@ -1,8 +0,0 @@
1
- winrt/_winrt_windows_system_threading_core.cp39-win32.pyd,sha256=LodzVKUuTPKVpSQNkIbSZOAX9k2xEEJAiVrja_N_Alg,51200
2
- winrt/_winrt_windows_system_threading_core.pyi,sha256=rcJmL28A0KBcfodUEr0yZJLu3KQhQIFIu2hk9-_TAPg,2294
3
- winrt/windows/system/threading/core/__init__.py,sha256=ER3HBYJhC6rCVII2sGuRJ1iO6D-jA2Bx16eWm-9_eE0,508
4
- winrt/windows/system/threading/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- winrt_Windows.System.Threading.Core-2.2.0.dist-info/METADATA,sha256=FkWpD3egI-dBggNrChHy0DxRLqDhAU-KW9DuwXjL98k,1144
6
- winrt_Windows.System.Threading.Core-2.2.0.dist-info/WHEEL,sha256=oMVLYRxr_Mj2eBzR64CwhxuKNcwPdTLLcHPchJ-SPBU,95
7
- winrt_Windows.System.Threading.Core-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
- winrt_Windows.System.Threading.Core-2.2.0.dist-info/RECORD,,