winrt-Windows.System.Threading 2.2.0__cp313-cp313-win_arm64.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.
@@ -0,0 +1,52 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+
14
+ from winrt.windows.system.threading import WorkItemOptions, WorkItemPriority
15
+ from winrt.windows.system.threading import TimerDestroyedHandler, TimerElapsedHandler, WorkItemHandler
16
+
17
+ Self = typing.TypeVar('Self')
18
+
19
+ @typing.final
20
+ class ThreadPool_Static(type):
21
+ @typing.overload
22
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], /) -> windows_foundation.IAsyncAction: ...
23
+ @typing.overload
24
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, /) -> windows_foundation.IAsyncAction: ...
25
+ @typing.overload
26
+ def run_async(cls, handler: typing.Optional[WorkItemHandler], priority: WorkItemPriority, options: WorkItemOptions, /) -> windows_foundation.IAsyncAction: ...
27
+
28
+ @typing.final
29
+ class ThreadPool(winrt.system.Object, metaclass=ThreadPool_Static):
30
+ pass
31
+
32
+ @typing.final
33
+ class ThreadPoolTimer_Static(type):
34
+ @typing.overload
35
+ def create_periodic_timer(cls, handler: typing.Optional[TimerElapsedHandler], period: datetime.timedelta, /) -> typing.Optional[ThreadPoolTimer]: ...
36
+ @typing.overload
37
+ def create_periodic_timer(cls, handler: typing.Optional[TimerElapsedHandler], period: datetime.timedelta, destroyed: typing.Optional[TimerDestroyedHandler], /) -> typing.Optional[ThreadPoolTimer]: ...
38
+ @typing.overload
39
+ def create_timer(cls, handler: typing.Optional[TimerElapsedHandler], delay: datetime.timedelta, /) -> typing.Optional[ThreadPoolTimer]: ...
40
+ @typing.overload
41
+ def create_timer(cls, handler: typing.Optional[TimerElapsedHandler], delay: datetime.timedelta, destroyed: typing.Optional[TimerDestroyedHandler], /) -> typing.Optional[ThreadPoolTimer]: ...
42
+
43
+ @typing.final
44
+ class ThreadPoolTimer(winrt.system.Object, metaclass=ThreadPoolTimer_Static):
45
+ @staticmethod
46
+ def _from(obj: winrt.system.Object, /) -> ThreadPoolTimer: ...
47
+ def cancel(self) -> None: ...
48
+ @_property
49
+ def delay(self) -> datetime.timedelta: ...
50
+ @_property
51
+ def period(self) -> datetime.timedelta: ...
52
+
@@ -0,0 +1,36 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt import _winrt_windows_system_threading
9
+
10
+ if typing.TYPE_CHECKING:
11
+ import winrt.windows.foundation as windows_foundation
12
+
13
+ __all__ = [
14
+ "WorkItemOptions",
15
+ "WorkItemPriority",
16
+ "ThreadPool",
17
+ "ThreadPoolTimer",
18
+ "TimerDestroyedHandler",
19
+ "TimerElapsedHandler",
20
+ "WorkItemHandler",
21
+ ]
22
+
23
+ class WorkItemOptions(enum.IntFlag):
24
+ NONE = 0x0
25
+ TIME_SLICED = 0x1
26
+
27
+ class WorkItemPriority(enum.IntEnum):
28
+ LOW = -1
29
+ NORMAL = 0
30
+ HIGH = 1
31
+
32
+ ThreadPool = _winrt_windows_system_threading.ThreadPool
33
+ ThreadPoolTimer = _winrt_windows_system_threading.ThreadPoolTimer
34
+ TimerDestroyedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
35
+ TimerElapsedHandler = typing.Callable[[typing.Optional[ThreadPoolTimer]], None]
36
+ WorkItemHandler = typing.Callable[["windows_foundation.IAsyncAction"], None]
File without changes
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System.Threading
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+
19
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
20
+
21
+ # winrt-Windows.System.Threading
22
+
23
+ Windows Runtime (WinRT) APIs for for the `Windows.System.Threading` namespace.
24
+
25
+ This package provides the `winrt.windows.system.threading` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_threading.cp313-win_arm64.pyd,sha256=nDjFdXz5-NHmfZFucXhIs7a48Uhg4R0OBhwXIjiKr00,60928
2
+ winrt/_winrt_windows_system_threading.pyi,sha256=okUzkjHOlPXowPMqpLEmKq_ZdN2s3sWzDikkZktbMLU,2287
3
+ winrt/windows/system/threading/__init__.py,sha256=ZAvPOf7ak9ZWX8xXskTw3cs-BUWkHqoZgdlnusiLpoU,982
4
+ winrt/windows/system/threading/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.System.Threading-2.2.0.dist-info/METADATA,sha256=HOqnJ0umv8XevmHhedRRuP9syc7sJ_cgxogVimnWo4I,1047
6
+ winrt_Windows.System.Threading-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.System.Threading-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.System.Threading-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_arm64
5
+