tplinkrouterc6u 5.9.3__tar.gz → 5.9.4__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.
- {tplinkrouterc6u-5.9.3/tplinkrouterc6u.egg-info → tplinkrouterc6u-5.9.4}/PKG-INFO +6 -1
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/README.md +5 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/setup.py +1 -1
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/common/dataclass.py +81 -90
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4/tplinkrouterc6u.egg-info}/PKG-INFO +6 -1
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/LICENSE +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/setup.cfg +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/__init__.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_c1200.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_c6u.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_c80.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_deco.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_ex.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_mr.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_wdr.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/test/test_client_xdr.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/__init__.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/__init__.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/c1200.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/c5400x.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/c6u.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/c80.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/deco.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/ex.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/mr.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/vr.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/wdr.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client/xdr.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/client_abstract.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/common/__init__.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/common/encryption.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/common/exception.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/common/helper.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/common/package_enum.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u/provider.py +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u.egg-info/SOURCES.txt +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u.egg-info/dependency_links.txt +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u.egg-info/requires.txt +0 -0
- {tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tplinkrouterc6u
|
|
3
|
-
Version: 5.9.
|
|
3
|
+
Version: 5.9.4
|
|
4
4
|
Summary: TP-Link Router API (supports also Mercusys Router)
|
|
5
5
|
Home-page: https://github.com/AlexandrErohin/TP-Link-Archer-C6U
|
|
6
6
|
Author: Alex Erohin
|
|
@@ -327,6 +327,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
327
327
|
- Archer C7 (v4.0, v5.0)
|
|
328
328
|
- Archer C24 (1.0, 2.0)
|
|
329
329
|
- Archer C60 v2.0
|
|
330
|
+
- Archer C64 1.0
|
|
330
331
|
- Archer C80 (1.0, 2.20)
|
|
331
332
|
- Archer C5400X V1
|
|
332
333
|
- Archer GX90 v1.0
|
|
@@ -359,7 +360,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
359
360
|
- TD-W9960 (v1, V1.20)
|
|
360
361
|
- TL-MR100 v2.0
|
|
361
362
|
- TL-MR105
|
|
363
|
+
- TL-MR100-Outdoor v1.0
|
|
362
364
|
- TL-MR110-Outdoor v1.0
|
|
365
|
+
- TL-MR150 v2
|
|
363
366
|
- TL-MR6400 (v5, v5.3)
|
|
364
367
|
- TL-MR6500v
|
|
365
368
|
- TL-WA1201 3.0
|
|
@@ -372,7 +375,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
372
375
|
- MR47BE v1.0
|
|
373
376
|
- MR50G 1.0
|
|
374
377
|
- H60XR 1.0
|
|
378
|
+
- H47BE 2.0
|
|
375
379
|
- Halo H80X 1.0
|
|
380
|
+
- Halo H3000x 1.0
|
|
376
381
|
|
|
377
382
|
Please let me know if you have tested integration with any other model. Open an issue with info about router's model, hardware and firmware versions.
|
|
378
383
|
|
|
@@ -295,6 +295,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
295
295
|
- Archer C7 (v4.0, v5.0)
|
|
296
296
|
- Archer C24 (1.0, 2.0)
|
|
297
297
|
- Archer C60 v2.0
|
|
298
|
+
- Archer C64 1.0
|
|
298
299
|
- Archer C80 (1.0, 2.20)
|
|
299
300
|
- Archer C5400X V1
|
|
300
301
|
- Archer GX90 v1.0
|
|
@@ -327,7 +328,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
327
328
|
- TD-W9960 (v1, V1.20)
|
|
328
329
|
- TL-MR100 v2.0
|
|
329
330
|
- TL-MR105
|
|
331
|
+
- TL-MR100-Outdoor v1.0
|
|
330
332
|
- TL-MR110-Outdoor v1.0
|
|
333
|
+
- TL-MR150 v2
|
|
331
334
|
- TL-MR6400 (v5, v5.3)
|
|
332
335
|
- TL-MR6500v
|
|
333
336
|
- TL-WA1201 3.0
|
|
@@ -340,7 +343,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
340
343
|
- MR47BE v1.0
|
|
341
344
|
- MR50G 1.0
|
|
342
345
|
- H60XR 1.0
|
|
346
|
+
- H47BE 2.0
|
|
343
347
|
- Halo H80X 1.0
|
|
348
|
+
- Halo H3000x 1.0
|
|
344
349
|
|
|
345
350
|
Please let me know if you have tested integration with any other model. Open an issue with info about router's model, hardware and firmware versions.
|
|
346
351
|
|
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
from macaddress import EUI48
|
|
2
2
|
from ipaddress import IPv4Address
|
|
3
|
-
from dataclasses import dataclass
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
4
|
from datetime import datetime
|
|
5
5
|
from tplinkrouterc6u.common.package_enum import Connection
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
@dataclass
|
|
9
9
|
class Firmware:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
self.firmware_version = firmware
|
|
10
|
+
hardware_version: str
|
|
11
|
+
model: str
|
|
12
|
+
firmware_version: str
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
@dataclass
|
|
17
16
|
class Device:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
self.active: bool = True
|
|
17
|
+
type: Connection
|
|
18
|
+
_macaddr: EUI48
|
|
19
|
+
_ipaddr: IPv4Address
|
|
20
|
+
hostname: str
|
|
21
|
+
packets_sent: int | None = None
|
|
22
|
+
packets_received: int | None = None
|
|
23
|
+
down_speed: int | None = None
|
|
24
|
+
up_speed: int | None = None
|
|
25
|
+
signal: int | None = None
|
|
26
|
+
active: bool = True
|
|
29
27
|
|
|
30
28
|
@property
|
|
31
29
|
def macaddr(self):
|
|
@@ -46,31 +44,30 @@ class Device:
|
|
|
46
44
|
|
|
47
45
|
@dataclass
|
|
48
46
|
class Status:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
self.devices: list[Device] = []
|
|
47
|
+
_wan_macaddr: EUI48 | None = None
|
|
48
|
+
_lan_macaddr: EUI48 = None
|
|
49
|
+
_wan_ipv4_addr: IPv4Address | None = None
|
|
50
|
+
_lan_ipv4_addr: IPv4Address | None = None
|
|
51
|
+
_wan_ipv4_gateway: IPv4Address | None = None
|
|
52
|
+
wired_total: int = 0
|
|
53
|
+
wifi_clients_total: int = 0
|
|
54
|
+
guest_clients_total: int = 0
|
|
55
|
+
iot_clients_total: int | None = None
|
|
56
|
+
clients_total: int = 0
|
|
57
|
+
guest_2g_enable: bool | None = None
|
|
58
|
+
guest_5g_enable: bool | None = None
|
|
59
|
+
guest_6g_enable: bool | None = None
|
|
60
|
+
iot_2g_enable: bool | None = None
|
|
61
|
+
iot_5g_enable: bool | None = None
|
|
62
|
+
iot_6g_enable: bool | None = None
|
|
63
|
+
wifi_2g_enable: bool | None = None
|
|
64
|
+
wifi_5g_enable: bool | None = None
|
|
65
|
+
wifi_6g_enable: bool | None = None
|
|
66
|
+
wan_ipv4_uptime: int | None = None
|
|
67
|
+
mem_usage: float | None = None
|
|
68
|
+
cpu_usage: float | None = None
|
|
69
|
+
conn_type: str | None = None
|
|
70
|
+
devices: list[Device] = field(default_factory=list)
|
|
74
71
|
|
|
75
72
|
@property
|
|
76
73
|
def wan_macaddr(self) -> str | None:
|
|
@@ -115,11 +112,10 @@ class Status:
|
|
|
115
112
|
|
|
116
113
|
@dataclass
|
|
117
114
|
class IPv4Reservation:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
self.enabled = enabled
|
|
115
|
+
_macaddr: EUI48 | None = None
|
|
116
|
+
_ipaddr: IPv4Address | None = None
|
|
117
|
+
hostname: str | None = None
|
|
118
|
+
enabled: bool = True
|
|
123
119
|
|
|
124
120
|
@property
|
|
125
121
|
def macaddr(self):
|
|
@@ -140,11 +136,10 @@ class IPv4Reservation:
|
|
|
140
136
|
|
|
141
137
|
@dataclass
|
|
142
138
|
class IPv4DHCPLease:
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
self.lease_time = lease_time
|
|
139
|
+
_macaddr: EUI48
|
|
140
|
+
_ipaddr: IPv4Address
|
|
141
|
+
hostname: str
|
|
142
|
+
lease_time: str
|
|
148
143
|
|
|
149
144
|
@property
|
|
150
145
|
def macaddr(self):
|
|
@@ -165,19 +160,18 @@ class IPv4DHCPLease:
|
|
|
165
160
|
|
|
166
161
|
@dataclass
|
|
167
162
|
class IPv4Status:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
self.remote: bool | None = None
|
|
163
|
+
_wan_macaddr: EUI48 | None = None
|
|
164
|
+
_wan_ipv4_ipaddr: IPv4Address | None = None
|
|
165
|
+
_wan_ipv4_gateway: IPv4Address | None = None
|
|
166
|
+
_wan_ipv4_conntype: str = ""
|
|
167
|
+
_wan_ipv4_netmask: IPv4Address | None = None
|
|
168
|
+
_wan_ipv4_pridns: IPv4Address | None = None
|
|
169
|
+
_wan_ipv4_snddns: IPv4Address | None = None
|
|
170
|
+
_lan_macaddr: EUI48 | None = None
|
|
171
|
+
_lan_ipv4_ipaddr: IPv4Address | None = None
|
|
172
|
+
lan_ipv4_dhcp_enable: bool | None = None
|
|
173
|
+
_lan_ipv4_netmask: IPv4Address | None = None
|
|
174
|
+
remote: bool | None = None
|
|
181
175
|
|
|
182
176
|
@property
|
|
183
177
|
def wan_macaddr(self):
|
|
@@ -193,7 +187,7 @@ class IPv4Status:
|
|
|
193
187
|
|
|
194
188
|
@property
|
|
195
189
|
def wan_ipv4_conntype(self):
|
|
196
|
-
return self._wan_ipv4_conntype
|
|
190
|
+
return self._wan_ipv4_conntype
|
|
197
191
|
|
|
198
192
|
@property
|
|
199
193
|
def wan_ipv4_ipaddress(self):
|
|
@@ -258,36 +252,33 @@ class IPv4Status:
|
|
|
258
252
|
|
|
259
253
|
@dataclass
|
|
260
254
|
class SMS:
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
self.unread = unread
|
|
255
|
+
id: int
|
|
256
|
+
sender: str
|
|
257
|
+
content: str
|
|
258
|
+
received_at: datetime
|
|
259
|
+
unread: bool
|
|
267
260
|
|
|
268
261
|
|
|
269
262
|
@dataclass
|
|
270
263
|
class LTEStatus:
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
self.isp_name: str
|
|
264
|
+
enable: int | None = None
|
|
265
|
+
connect_status: int | None = None
|
|
266
|
+
network_type: int | None = None
|
|
267
|
+
sim_status: int | None = None
|
|
268
|
+
total_statistics: int | None = None
|
|
269
|
+
cur_rx_speed: int | None = None
|
|
270
|
+
cur_tx_speed: int | None = None
|
|
271
|
+
sms_unread_count: int | None = None
|
|
272
|
+
sig_level: int | None = None
|
|
273
|
+
rsrp: int | None = None
|
|
274
|
+
rsrq: int | None = None
|
|
275
|
+
snr: int | None = None
|
|
276
|
+
isp_name: str | None = None
|
|
285
277
|
|
|
286
278
|
|
|
287
279
|
@dataclass
|
|
288
280
|
class VPNStatus:
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
self.pptpvpn_clients_total: int = 0
|
|
281
|
+
openvpn_enable: bool | None = None
|
|
282
|
+
pptpvpn_enable: bool | None = None
|
|
283
|
+
openvpn_clients_total: int = 0
|
|
284
|
+
pptpvpn_clients_total: int = 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tplinkrouterc6u
|
|
3
|
-
Version: 5.9.
|
|
3
|
+
Version: 5.9.4
|
|
4
4
|
Summary: TP-Link Router API (supports also Mercusys Router)
|
|
5
5
|
Home-page: https://github.com/AlexandrErohin/TP-Link-Archer-C6U
|
|
6
6
|
Author: Alex Erohin
|
|
@@ -327,6 +327,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
327
327
|
- Archer C7 (v4.0, v5.0)
|
|
328
328
|
- Archer C24 (1.0, 2.0)
|
|
329
329
|
- Archer C60 v2.0
|
|
330
|
+
- Archer C64 1.0
|
|
330
331
|
- Archer C80 (1.0, 2.20)
|
|
331
332
|
- Archer C5400X V1
|
|
332
333
|
- Archer GX90 v1.0
|
|
@@ -359,7 +360,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
359
360
|
- TD-W9960 (v1, V1.20)
|
|
360
361
|
- TL-MR100 v2.0
|
|
361
362
|
- TL-MR105
|
|
363
|
+
- TL-MR100-Outdoor v1.0
|
|
362
364
|
- TL-MR110-Outdoor v1.0
|
|
365
|
+
- TL-MR150 v2
|
|
363
366
|
- TL-MR6400 (v5, v5.3)
|
|
364
367
|
- TL-MR6500v
|
|
365
368
|
- TL-WA1201 3.0
|
|
@@ -372,7 +375,9 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
372
375
|
- MR47BE v1.0
|
|
373
376
|
- MR50G 1.0
|
|
374
377
|
- H60XR 1.0
|
|
378
|
+
- H47BE 2.0
|
|
375
379
|
- Halo H80X 1.0
|
|
380
|
+
- Halo H3000x 1.0
|
|
376
381
|
|
|
377
382
|
Please let me know if you have tested integration with any other model. Open an issue with info about router's model, hardware and firmware versions.
|
|
378
383
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tplinkrouterc6u-5.9.3 → tplinkrouterc6u-5.9.4}/tplinkrouterc6u.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|