Skip to main content

See every device on your network and know what each one is — in plain English — and get told when something new shows up. Read-only, no packet capture.

Project description

netwatchdog

CI PyPI Python License: MIT

See every device on your network, know what each one actually is — in plain English — and get told the moment something new shows up.

netwatchdog scans your local network, identifies each device (router, phone, TV, printer, that suspicious no-name smart plug…), and remembers what it saw so it can flag new arrivals on the next run.

It is read-only: it pings and reads your OS's neighbor/ARP table. No packet capture, no port scanning, no router login.

netwatchdog scan output

Example scan (fictional devices). Real output is color-coded by device type.

What it tells you

  • Who's here — every device on your LAN, with its IP and hostname.
  • What each one is — vendor + a plain category (phone, media, printer, network gear, IoT chip, or Unknown), so the things worth a second look stand out.
  • What's new — anything that wasn't on your network last time gets flagged, with advice on what to do about it.

Device identification uses a built-in table for the most-wanted categories and, optionally, the full public Wireshark OUI list (downloaded once, no account).

Install

pip install netwatchdog

Usage

netwatchdog                 # scan, identify, save/update baseline, print a report
netwatchdog --no-ping       # skip the ping sweep (faster, reads existing table)
netwatchdog --no-manuf      # don't download the full vendor database
netwatchdog --json          # emit the full report as JSON (build your own UI)
netwatchdog -b ~/mynet.json # use a specific baseline file

The first run saves a baseline of what's on your network. Later runs compare against it and highlight new devices. Your baseline (netwatch_baseline.json) describes your own LAN and is git-ignored — keep it local.

Tip: give devices a friendly name in the baseline file so future scans read cleanly, and investigate anything marked IoT chip or Unknown that you don't recognize.

Read-only by design

netwatchdog only sends pings and reads the neighbor table your OS already keeps. It never captures packets, scans ports, or logs into your router. This is a hard design boundary — see SECURITY.md.

Development

git clone https://github.com/GreenHarvestDev/netwatchdog.git
cd netwatchdog
pip install -e ".[dev]"
ruff check . && ruff format --check . && mypy && pytest

Tests are fully offline — subprocess, psutil, and socket are mocked, so the suite runs in well under a second. See CONTRIBUTING.md; new device-identification data and ARP/route format parsers are welcome (with a test).

License

MIT © 2026 GreenHarvestDev

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

netwatchdog-0.1.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

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

netwatchdog-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file netwatchdog-0.1.0.tar.gz.

File metadata

  • Download URL: netwatchdog-0.1.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for netwatchdog-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f28f20a1e21fffe52372771b5df794d4054d8f9bbd910ac902f0eee1c01ad0ac
MD5 76a172854a47dc67cff3a9c45c8924c0
BLAKE2b-256 37455c2d86e9dfbec070903d114480cbb811e834aef968b1ae9346abd7b27a19

See more details on using hashes here.

Provenance

The following attestation bundles were made for netwatchdog-0.1.0.tar.gz:

Publisher: release.yml on GreenHarvestDev/netwatchdog

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

File details

Details for the file netwatchdog-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: netwatchdog-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for netwatchdog-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbfbd0e5e291c09c8871b6fcd53b6bd9f95c92847545151a106215660186ff45
MD5 840689074f5f9917e01178efa74b2835
BLAKE2b-256 71657f4de7bf1d0626aa74a3634fef2b7d33b33a307e2984499e4ac74ab508a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for netwatchdog-0.1.0-py3-none-any.whl:

Publisher: release.yml on GreenHarvestDev/netwatchdog

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