Tendawifi

Latest version: v0.6.0

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

New functionality added:

Get online clients list

python
def get_online_list(self) -> list:
"""
Return a list of online clients.
Returns:
list: [{"deviceId": "aa:bb:cc:dd:ee:ff", "ip": "192.168.1.100", "devName": "ClientName", "line": "2", "uploadSpeed": "0",
"downloadSpeed": "0", "linkType": "unknown", "black": 0, "isGuestClient": "false" }, ...]}
"""


Filter online clients list by 'devName' value

python
def filter_onlinelist_by_devname(self, str_in_dev_name: str) -> list:
"""
Return a list of online clients filtered by 'devname' value if contains the str_in_dev_name param.
Returns:
list: [{"deviceId": "aa:bb:cc:dd:ee:ff", "ip": "192.168.1.100", "devName": "ClientName", "line": "2", "uploadSpeed": "0",
"downloadSpeed": "0", "linkType": "unknown", "black": 0, "isGuestClient": "false" }, ...]}
"""


Reboot the router

python
def reboot(self):
"""
Reboot the router
"""

0.1.0

New functionality added.

Filter DHCP Reservation configuration by 'devname' value

python
def filter_bindlist_by_devname(self, str_in_dev_name: str) -> list:
"""
Return a list of DHCP Reservation configuration filtered by 'devname' value if contains the str_in_dev_name param.
Returns:
list: [{'ipaddr': '192.168.1.100', 'macaddr': 'aa:bb:cc:dd:ee:ff', 'devname': 'ClientName', 'status': '1'}, ...]}
"""

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.