Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 2 KB

README.md

File metadata and controls

60 lines (50 loc) · 2 KB

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

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
black --check src

Manual Building

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