Skip to main content

Tenda 4G09 Python Client

A lightweight Python library for interacting with the Tenda 4G09 LTE router through its web interface.

Features

  • Router authentication and session management
  • Retrieving router status and Wi-Fi information
  • Reading SIM and WAN configuration
  • Checking LTE connectivity
  • Initiating an LTE connection

Requirements

  • Python 3.10+
  • Tenda 4G09 router accessible over the local network

Installation

Install:

pip install tenda-4g09-client

Quick start

from tenda_4g09 import Tenda4G09


URL = "192.168.0.1"

with Tenda4G09(URL, password="your-password") as router:
    status = router.get_status()

    print(f"Router IP:          {status.lan_ip}")
    print(f"Connected clients:  {status.client_count}")

    print("\nOnline clients:")
    for client in router.get_online_clients():
        print(
            f"  Name: {client.name}\n"
            f"  IP: {client.ip}\n"
            f"  Upload: {client.upload_speed}\n"
            f"  Download: {client.download_speed}\n"
        )

Replace the IP address and password with your router's settings.

LTE connection

with Tenda4G09("192.168.0.1", password="your-password") as router:

    if not router.is_mobile_data_connected():
        router.mobile_data_connect()

Compatibility

Designed for the Tenda 4G09 router. Compatibility with other models and firmware versions has not been verified.

Security

Use the library only on trusted networks. Do not commit router credentials to your repository.

License

MIT — see the LICENSE file.

Metadata

Release files for tenda-4g09-client 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tenda-4g09-client 0.3.5
File Size Uploaded Provenance Actions
tenda_4g09_client-0.3.5.tar.gz 14.7 kB Without provenance Details for tenda_4g09_client-0.3.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tenda-4g09-client 0.3.5
File Interpreter ABI Platform Actions
tenda_4g09_client-0.3.5-py3-none-any.whl Python 3 none any Details for tenda_4g09_client-0.3.5-py3-none-any.whl

Total release size: 34.7 kB

Release files / tenda_4g09_client-0.3.5.tar.gz

Download URL tenda_4g09_client-0.3.5.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c1c26af824da9a072b32ad6dd91a38c5c8a144443d7b964690a7c16b1e78bf8c
BLAKE2b-256 checksum
How to use checksums
37252ef1c63eb9172400bc3f5e0cafbd69c6bb19f90d0bea47dec6ca5453fc9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / tenda_4g09_client-0.3.5-py3-none-any.whl

Download URL tenda_4g09_client-0.3.5-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73f542ff1a9ae0de09d4999b88f9d65474ae3691f467b9418e9d7c57c54d3980
BLAKE2b-256 checksum
How to use checksums
642e72f09197e363f241a4ee201387a4e8b8b90cb2a12273b7cc48c2671178ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for tenda-4g09-client 0.3.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page