uiprotect 0.1.0__py3-none-any.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.

Potentially problematic release.


This version of uiprotect might be problematic. Click here for more details.

@@ -0,0 +1,157 @@
1
+ from __future__ import annotations
2
+
3
+ from uiprotect.data.base import (
4
+ ProtectAdoptableDeviceModel,
5
+ ProtectBaseObject,
6
+ ProtectDeviceModel,
7
+ ProtectModel,
8
+ ProtectModelWithId,
9
+ )
10
+ from uiprotect.data.bootstrap import Bootstrap
11
+ from uiprotect.data.convert import create_from_unifi_dict
12
+ from uiprotect.data.devices import (
13
+ Bridge,
14
+ Camera,
15
+ CameraChannel,
16
+ Chime,
17
+ Doorlock,
18
+ LCDMessage,
19
+ Light,
20
+ RingSetting,
21
+ Sensor,
22
+ Viewer,
23
+ )
24
+ from uiprotect.data.nvr import (
25
+ NVR,
26
+ DoorbellMessage,
27
+ Event,
28
+ Liveview,
29
+ NVRLocation,
30
+ SmartDetectItem,
31
+ SmartDetectTrack,
32
+ )
33
+ from uiprotect.data.types import (
34
+ DEFAULT,
35
+ DEFAULT_TYPE,
36
+ AnalyticsOption,
37
+ AudioStyle,
38
+ ChimeType,
39
+ Color,
40
+ CoordType,
41
+ DoorbellMessageType,
42
+ DoorbellText,
43
+ EventCategories,
44
+ EventType,
45
+ FixSizeOrderedDict,
46
+ HDRMode,
47
+ ICRCustomValue,
48
+ ICRLuxValue,
49
+ IRLEDMode,
50
+ LensType,
51
+ LightModeEnableType,
52
+ LightModeType,
53
+ LockStatusType,
54
+ ModelType,
55
+ MountType,
56
+ Percent,
57
+ PermissionNode,
58
+ ProtectWSPayloadFormat,
59
+ PTZPosition,
60
+ PTZPreset,
61
+ RecordingMode,
62
+ SensorStatusType,
63
+ SensorType,
64
+ SmartDetectAudioType,
65
+ SmartDetectObjectType,
66
+ StateType,
67
+ StorageType,
68
+ Version,
69
+ VideoMode,
70
+ WDRLevel,
71
+ )
72
+ from uiprotect.data.user import CloudAccount, Group, Permission, User, UserLocation
73
+ from uiprotect.data.websocket import (
74
+ WS_HEADER_SIZE,
75
+ WSAction,
76
+ WSJSONPacketFrame,
77
+ WSPacket,
78
+ WSPacketFrameHeader,
79
+ WSRawPacketFrame,
80
+ WSSubscriptionMessage,
81
+ )
82
+
83
+ __all__ = [
84
+ "DEFAULT",
85
+ "DEFAULT_TYPE",
86
+ "NVR",
87
+ "WS_HEADER_SIZE",
88
+ "AnalyticsOption",
89
+ "AudioStyle",
90
+ "Bootstrap",
91
+ "Bridge",
92
+ "Camera",
93
+ "CameraChannel",
94
+ "Chime",
95
+ "ChimeType",
96
+ "CloudAccount",
97
+ "Color",
98
+ "CoordType",
99
+ "DoorbellMessage",
100
+ "DoorbellMessageType",
101
+ "DoorbellText",
102
+ "Doorlock",
103
+ "Event",
104
+ "EventCategories",
105
+ "EventType",
106
+ "FixSizeOrderedDict",
107
+ "Group",
108
+ "HDRMode",
109
+ "ICRCustomValue",
110
+ "ICRLuxValue",
111
+ "IRLEDMode",
112
+ "LCDMessage",
113
+ "LensType",
114
+ "Light",
115
+ "LightModeEnableType",
116
+ "LightModeType",
117
+ "Liveview",
118
+ "LockStatusType",
119
+ "ModelType",
120
+ "MountType",
121
+ "NVRLocation",
122
+ "PTZPosition",
123
+ "PTZPreset",
124
+ "Percent",
125
+ "Permission",
126
+ "PermissionNode",
127
+ "ProtectAdoptableDeviceModel",
128
+ "ProtectBaseObject",
129
+ "ProtectDeviceModel",
130
+ "ProtectModel",
131
+ "ProtectModelWithId",
132
+ "ProtectWSPayloadFormat",
133
+ "RecordingMode",
134
+ "RingSetting",
135
+ "Sensor",
136
+ "SensorStatusType",
137
+ "SensorType",
138
+ "SmartDetectAudioType",
139
+ "SmartDetectItem",
140
+ "SmartDetectObjectType",
141
+ "SmartDetectTrack",
142
+ "StateType",
143
+ "StorageType",
144
+ "User",
145
+ "UserLocation",
146
+ "Version",
147
+ "VideoMode",
148
+ "Viewer",
149
+ "WDRLevel",
150
+ "WSAction",
151
+ "WSJSONPacketFrame",
152
+ "WSPacket",
153
+ "WSPacketFrameHeader",
154
+ "WSRawPacketFrame",
155
+ "WSSubscriptionMessage",
156
+ "create_from_unifi_dict",
157
+ ]