Skip to main content

Get detailed information and statistics from your cable modem.

Project description

modem-info

PyPi Version PyPI Status Python Versions License Last Commit Build Status

Collect and plot detailed information and statistics from your modem.

An example plot of DOCSIS modem statistics

Installation

Install Python, then install pipx and use it to install modem-info:

pipx install modem-info

Usage

Note: Ensure the --path (default: ./data) exists and is writable.

To collect statistics from a supported modem, use the get command with at least one of --csv or --json:

modem-info get [--csv] [--json] <ADDRESS>

To plot statistics that were saved in CSV format, use the plot command:

modem-info plot <FILE>

For all options, run:

modem-info <COMMAND> --help

Supported Modems

Vendor Model Driver Package
Hitron CODA-45 modem_info.drivers.hitron.coda45

Development Environment

Installation

git clone https://github.com/ReK42/modem-info.git
cd modem-info
python -m venv .env
source .env/bin/activate
python -m pip install --upgrade pip pre-commit
pre-commit install
pip install -e .[test]

Manual Testing

mypy src
ruff check src
ruff format --diff src

Manual Building

pip install -e .[build]
python -m build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modem_info-1.0.1.tar.gz (252.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modem_info-1.0.1-py3-none-any.whl (44.2 kB view details)

Uploaded Python 3

File details

Details for the file modem_info-1.0.1.tar.gz.

File metadata

  • Download URL: modem_info-1.0.1.tar.gz
  • Upload date:
  • Size: 252.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for modem_info-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d8f2e40f313e28731b81d3dc403728da4afeb9fe2e88577dc4ba709eab447005
MD5 d73fe86afe7daf77ef22c7eba25f085b
BLAKE2b-256 393ef0cafe0d3f588d153225ee34ae04c1c90c1359cd08bd6d03f73f91556623

See more details on using hashes here.

Provenance

The following attestation bundles were made for modem_info-1.0.1.tar.gz:

Publisher: release.yml on ReK42/modem-info

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file modem_info-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: modem_info-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 44.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for modem_info-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7ca2618c71039ed5f9cd09290d64a34fdd45a36a1c2c0ab0ae76b64c5ceed87
MD5 7732fda47885b2ec1ca81f68c5cbd803
BLAKE2b-256 74fea827703e3e686cb26a6bb7cfa8929b8a4ab6f442b6073304fcd90d00c758

See more details on using hashes here.

Provenance

The following attestation bundles were made for modem_info-1.0.1-py3-none-any.whl:

Publisher: release.yml on ReK42/modem-info

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page