winrt-Windows.Devices.Enumeration.Pnp 2.2.0__cp313-cp313-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.
@@ -0,0 +1,90 @@
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.devices.enumeration as windows_devices_enumeration
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+
16
+ from winrt.windows.devices.enumeration.pnp import PnpObjectType
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ @typing.final
21
+ class PnpObject_Static(type):
22
+ def create_from_id_async(cls, type: PnpObjectType, id: str, requested_properties: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[PnpObject]: ...
23
+ @typing.overload
24
+ def create_watcher(cls, type: PnpObjectType, requested_properties: typing.Iterable[str], /) -> typing.Optional[PnpObjectWatcher]: ...
25
+ @typing.overload
26
+ def create_watcher(cls, type: PnpObjectType, requested_properties: typing.Iterable[str], aqs_filter: str, /) -> typing.Optional[PnpObjectWatcher]: ...
27
+ @typing.overload
28
+ def find_all_async(cls, type: PnpObjectType, requested_properties: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[PnpObjectCollection]: ...
29
+ @typing.overload
30
+ def find_all_async(cls, type: PnpObjectType, requested_properties: typing.Iterable[str], aqs_filter: str, /) -> windows_foundation.IAsyncOperation[PnpObjectCollection]: ...
31
+
32
+ @typing.final
33
+ class PnpObject(winrt.system.Object, metaclass=PnpObject_Static):
34
+ @staticmethod
35
+ def _from(obj: winrt.system.Object, /) -> PnpObject: ...
36
+ def update(self, update_info: typing.Optional[PnpObjectUpdate], /) -> None: ...
37
+ @_property
38
+ def id(self) -> str: ...
39
+ @_property
40
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
41
+ @_property
42
+ def type(self) -> PnpObjectType: ...
43
+
44
+ @typing.final
45
+ class PnpObjectCollection(winrt.system.Object, winrt._winrt.Sequence[PnpObject]):
46
+ def __len__(self) -> int: ...
47
+ def __iter__(self) -> windows_foundation_collections.IIterator[PnpObject]: ...
48
+ @typing.overload
49
+ def __getitem__(self, index: typing.SupportsIndex) -> PnpObject: ...
50
+ @typing.overload
51
+ def __getitem__(self, index: slice) -> winrt.system.Array[PnpObject]: ...
52
+ @staticmethod
53
+ def _from(obj: winrt.system.Object, /) -> PnpObjectCollection: ...
54
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[PnpObject]]: ...
55
+ def get_at(self, index: winrt.system.UInt32, /) -> typing.Optional[PnpObject]: ...
56
+ def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[PnpObject], /) -> winrt.system.UInt32: ...
57
+ def index_of(self, value: typing.Optional[PnpObject], /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
58
+ @_property
59
+ def size(self) -> winrt.system.UInt32: ...
60
+
61
+ @typing.final
62
+ class PnpObjectUpdate(winrt.system.Object):
63
+ @staticmethod
64
+ def _from(obj: winrt.system.Object, /) -> PnpObjectUpdate: ...
65
+ @_property
66
+ def id(self) -> str: ...
67
+ @_property
68
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
69
+ @_property
70
+ def type(self) -> PnpObjectType: ...
71
+
72
+ @typing.final
73
+ class PnpObjectWatcher(winrt.system.Object):
74
+ @staticmethod
75
+ def _from(obj: winrt.system.Object, /) -> PnpObjectWatcher: ...
76
+ def start(self) -> None: ...
77
+ def stop(self) -> None: ...
78
+ def add_added(self, handler: windows_foundation.TypedEventHandler[PnpObjectWatcher, PnpObject], /) -> windows_foundation.EventRegistrationToken: ...
79
+ def remove_added(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
80
+ def add_enumeration_completed(self, handler: windows_foundation.TypedEventHandler[PnpObjectWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
81
+ def remove_enumeration_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
82
+ def add_removed(self, handler: windows_foundation.TypedEventHandler[PnpObjectWatcher, PnpObjectUpdate], /) -> windows_foundation.EventRegistrationToken: ...
83
+ def remove_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
84
+ def add_stopped(self, handler: windows_foundation.TypedEventHandler[PnpObjectWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
85
+ def remove_stopped(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
86
+ def add_updated(self, handler: windows_foundation.TypedEventHandler[PnpObjectWatcher, PnpObjectUpdate], /) -> windows_foundation.EventRegistrationToken: ...
87
+ def remove_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
88
+ @_property
89
+ def status(self) -> windows_devices_enumeration.DeviceWatcherStatus: ...
90
+
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_devices_enumeration_pnp
7
+
8
+ __all__ = [
9
+ "PnpObjectType",
10
+ "PnpObject",
11
+ "PnpObjectCollection",
12
+ "PnpObjectUpdate",
13
+ "PnpObjectWatcher",
14
+ ]
15
+
16
+ class PnpObjectType(enum.IntEnum):
17
+ UNKNOWN = 0
18
+ DEVICE_INTERFACE = 1
19
+ DEVICE_CONTAINER = 2
20
+ DEVICE = 3
21
+ DEVICE_INTERFACE_CLASS = 4
22
+ ASSOCIATION_ENDPOINT = 5
23
+ ASSOCIATION_ENDPOINT_CONTAINER = 6
24
+ ASSOCIATION_ENDPOINT_SERVICE = 7
25
+ DEVICE_PANEL = 8
26
+
27
+ PnpObject = _winrt_windows_devices_enumeration_pnp.PnpObject
28
+ PnpObjectCollection = _winrt_windows_devices_enumeration_pnp.PnpObjectCollection
29
+ winrt.system._mixin_sequence(PnpObjectCollection)
30
+ PnpObjectUpdate = _winrt_windows_devices_enumeration_pnp.PnpObjectUpdate
31
+ PnpObjectWatcher = _winrt_windows_devices_enumeration_pnp.PnpObjectWatcher
File without changes
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Devices.Enumeration.Pnp
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.Devices.Enumeration[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.Devices.Enumeration.Pnp
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.Devices.Enumeration.Pnp` namespace.
26
+
27
+ This package provides the `winrt.windows.devices.enumeration.pnp` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_devices_enumeration_pnp.cp313-win32.pyd,sha256=3zNuLf8gh2BxuBVYHmxCbp82q_KtlZBbyaqhN8ksDRs,124416
2
+ winrt/_winrt_windows_devices_enumeration_pnp.pyi,sha256=tDfZZI-QeOfErHJ2fUifTvdDWbB7HoqDUdHC8mhWNKs,4901
3
+ winrt/windows/devices/enumeration/pnp/__init__.py,sha256=9pxBeqwmnELvQG1ByykCWk-h5oZOWYW0KhkZli3TvYc,913
4
+ winrt/windows/devices/enumeration/pnp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Devices.Enumeration.Pnp-2.2.0.dist-info/METADATA,sha256=pobAI79ABHG9aPKfaqKqoCfuhTWry4KlMnT_CKHEqGY,1238
6
+ winrt_Windows.Devices.Enumeration.Pnp-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.Devices.Enumeration.Pnp-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Devices.Enumeration.Pnp-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-win32
5
+