Skip to main content

TD-W8970

Python library for scraping ADSL connection statistics from TD-W8970 router.

Create router object

router = router.Router(username="admin", password="admin")

You need to specify:

  • Username - your router login (default: admin)
  • Password - your router password (default: admin)
  • Host - default gateway (default: 192.168.1.1)

Get data

stats = router.get(timeout=60)

You may specify:

  • Timeout - in sec (default: 10s)

You may retrieve

  • status_code - http status code (200 == OK)
  • downstreamCurrRate
  • downstreamMaxRate
  • upstreamCurrRate
  • upstreamMaxRate
  • downstreamNoiseMargin
  • downstreamAttenuation
  • upstreamNoiseMargin
  • upstreamAttenuation
  • downstreamPower
  • upstreamPower

Metadata

Release files for TDW8970 0.1.0

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

Source distribution (sdist)

Source distribution for TDW8970 0.1.0
File Size Uploaded Provenance Actions
TDW8970-0.1.0.tar.gz 2.1 kB Without provenance Details for TDW8970-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for TDW8970 0.1.0
File Interpreter ABI Platform Actions
TDW8970-0.1.0-py3-none-any.whl Python 3 none any Details for TDW8970-0.1.0-py3-none-any.whl

Total release size: 5.4 kB

Release files / TDW8970-0.1.0.tar.gz

Download URL TDW8970-0.1.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
feb01caee9bd5b7b759b471ee55cb468de40caa82b6dc583398e3b404fd25bc1
BLAKE2b-256 checksum
How to use checksums
426d0a1a7286ab351863a7600038b2405c0098644fe1e88b8c527c716addcbac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.4

Release files / TDW8970-0.1.0-py3-none-any.whl

Download URL TDW8970-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6396a8390503b188eb7680804cf18d6f3becb0a83738a2a2daf8fd6c1fd131b0
BLAKE2b-256 checksum
How to use checksums
9ecea5f148779c7e346553a3a42a0b44b4d80f24ad74bdc42c384d68880331e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.4

Security for TDW8970 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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