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.3

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.3
File Size Uploaded Provenance Actions
tenda_4g09_client-0.3.3.tar.gz 14.8 kB Without provenance Details for tenda_4g09_client-0.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 34.9 kB

Release files / tenda_4g09_client-0.3.3.tar.gz

Download URL tenda_4g09_client-0.3.3.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7365020ad4ff6be60ddc72ab304f1da7236b517f2b4bf2ec51c99de13d356eff
BLAKE2b-256 checksum
How to use checksums
04f966d83862808e95b361062c98a3571f9057f397fcfc98202f7fe7da203c19
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.3-py3-none-any.whl

Download URL tenda_4g09_client-0.3.3-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28fb1a1b220a13f53d3a374de3f554eeb4a8e067e5c00760435c1503c3fbbe76
BLAKE2b-256 checksum
How to use checksums
e76d25a571a0e59e227a488179e7c20238547e7d70f1058b3cbc847df0e43497
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.3

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