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
TDW8970-0.1.0.tar.gz 2.1 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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