tplinkrouterc6u 5.12.1__tar.gz → 5.12.2__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.12.1 → tplinkrouterc6u-5.12.2}/PKG-INFO +5 -3
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/README.md +4 -2
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/setup.py +1 -1
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/c6u.py +3 -1
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u.egg-info/PKG-INFO +5 -3
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/LICENSE +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/setup.cfg +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/__init__.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_c1200.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_c6u.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_c80.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_deco.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_ex.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_mr.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_mr_200.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_re330.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_wdr.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/test/test_client_xdr.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/__init__.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/__init__.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/c1200.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/c5400x.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/c80.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/deco.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/ex.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/mr.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/mr200.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/re330.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/vr.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/wdr.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client/xdr.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/client_abstract.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/common/__init__.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/common/dataclass.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/common/encryption.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/common/exception.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/common/helper.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/common/package_enum.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u/provider.py +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u.egg-info/SOURCES.txt +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u.egg-info/dependency_links.txt +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u.egg-info/requires.txt +0 -0
- {tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/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.12.
|
|
3
|
+
Version: 5.12.2
|
|
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
|
|
@@ -49,7 +49,9 @@ Python package for API access and management for TP-Link and Mercusys Routers. S
|
|
|
49
49
|
- [pycryptodome](https://pypi.org/project/pycryptodome/)
|
|
50
50
|
|
|
51
51
|
## Usage
|
|
52
|
-
Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
|
|
52
|
+
- Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
|
|
53
|
+
- Use Local Password which is for Log In with Local Password. Login with TP-LINK ID doesnt work
|
|
54
|
+
- If you use `https` connection - You need to turn on "Local Management via HTTPS" (advanced->system->administration) in the router web UI
|
|
53
55
|
|
|
54
56
|
```python
|
|
55
57
|
from tplinkrouterc6u import (
|
|
@@ -304,7 +306,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
304
306
|
- [TP-LINK routers](#tplink)
|
|
305
307
|
- [MERCUSYS routers](#mercusys)
|
|
306
308
|
### <a id="tplink">TP-LINK routers</a>
|
|
307
|
-
- Archer A6
|
|
309
|
+
- Archer A6 (2.0, 4.0)
|
|
308
310
|
- Archer A7 V5
|
|
309
311
|
- Archer A8 (1.0, 2.20)
|
|
310
312
|
- Archer A9 V6
|
|
@@ -16,7 +16,9 @@ Python package for API access and management for TP-Link and Mercusys Routers. S
|
|
|
16
16
|
- [pycryptodome](https://pypi.org/project/pycryptodome/)
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
19
|
-
Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
|
|
19
|
+
- Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
|
|
20
|
+
- Use Local Password which is for Log In with Local Password. Login with TP-LINK ID doesnt work
|
|
21
|
+
- If you use `https` connection - You need to turn on "Local Management via HTTPS" (advanced->system->administration) in the router web UI
|
|
20
22
|
|
|
21
23
|
```python
|
|
22
24
|
from tplinkrouterc6u import (
|
|
@@ -271,7 +273,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
271
273
|
- [TP-LINK routers](#tplink)
|
|
272
274
|
- [MERCUSYS routers](#mercusys)
|
|
273
275
|
### <a id="tplink">TP-LINK routers</a>
|
|
274
|
-
- Archer A6
|
|
276
|
+
- Archer A6 (2.0, 4.0)
|
|
275
277
|
- Archer A7 V5
|
|
276
278
|
- Archer A8 (1.0, 2.20)
|
|
277
279
|
- Archer A9 V6
|
|
@@ -240,6 +240,7 @@ class TplinkBaseRouter(AbstractRouter, TplinkRequest):
|
|
|
240
240
|
self._url_firmware = 'admin/firmware?form=upgrade&operation=read'
|
|
241
241
|
self._url_ipv4_reservations = 'admin/dhcps?form=reservation&operation=load'
|
|
242
242
|
self._url_ipv4_dhcp_leases = 'admin/dhcps?form=client&operation=load'
|
|
243
|
+
self._url_smart_network = 'admin/smart_network?form=game_accelerator&operation=loadDevice'
|
|
243
244
|
self._url_openvpn = 'admin/openvpn?form=config&operation=read'
|
|
244
245
|
self._url_pptpd = 'admin/pptpd?form=config&operation=read'
|
|
245
246
|
self._url_vpnconn_openvpn = 'admin/vpnconn?form=config&operation=list&vpntype=openvpn'
|
|
@@ -341,7 +342,7 @@ class TplinkBaseRouter(AbstractRouter, TplinkRequest):
|
|
|
341
342
|
smart_network = None
|
|
342
343
|
if self._smart_network:
|
|
343
344
|
try:
|
|
344
|
-
smart_network = self.request(
|
|
345
|
+
smart_network = self.request(self._url_smart_network, 'operation=loadDevice')
|
|
345
346
|
except Exception:
|
|
346
347
|
self._smart_network = False
|
|
347
348
|
|
|
@@ -483,6 +484,7 @@ class TplinkRouter(TplinkEncryption, TplinkBaseRouter):
|
|
|
483
484
|
self._url_firmware = 'admin/firmware?form=upgrade'
|
|
484
485
|
self._url_ipv4_reservations = 'admin/dhcps?form=reservation'
|
|
485
486
|
self._url_ipv4_dhcp_leases = 'admin/dhcps?form=client'
|
|
487
|
+
self._url_smart_network = 'admin/smart_network?form=game_accelerator'
|
|
486
488
|
self._url_openvpn = 'admin/openvpn?form=config'
|
|
487
489
|
self._url_pptpd = 'admin/pptpd?form=config'
|
|
488
490
|
self._url_vpnconn_openvpn = 'admin/vpnconn?form=config'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tplinkrouterc6u
|
|
3
|
-
Version: 5.12.
|
|
3
|
+
Version: 5.12.2
|
|
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
|
|
@@ -49,7 +49,9 @@ Python package for API access and management for TP-Link and Mercusys Routers. S
|
|
|
49
49
|
- [pycryptodome](https://pypi.org/project/pycryptodome/)
|
|
50
50
|
|
|
51
51
|
## Usage
|
|
52
|
-
Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
|
|
52
|
+
- Enter the host & credentials used to log in to your router management page. Username is `admin` by default. But you may pass username as third parameter. Some routers have default username - `user`
|
|
53
|
+
- Use Local Password which is for Log In with Local Password. Login with TP-LINK ID doesnt work
|
|
54
|
+
- If you use `https` connection - You need to turn on "Local Management via HTTPS" (advanced->system->administration) in the router web UI
|
|
53
55
|
|
|
54
56
|
```python
|
|
55
57
|
from tplinkrouterc6u import (
|
|
@@ -304,7 +306,7 @@ or you have TP-link C5400X or similar router you need to get web encrypted passw
|
|
|
304
306
|
- [TP-LINK routers](#tplink)
|
|
305
307
|
- [MERCUSYS routers](#mercusys)
|
|
306
308
|
### <a id="tplink">TP-LINK routers</a>
|
|
307
|
-
- Archer A6
|
|
309
|
+
- Archer A6 (2.0, 4.0)
|
|
308
310
|
- Archer A7 V5
|
|
309
311
|
- Archer A8 (1.0, 2.20)
|
|
310
312
|
- Archer A9 V6
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tplinkrouterc6u-5.12.1 → tplinkrouterc6u-5.12.2}/tplinkrouterc6u.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|