Skip to main content

A real-time network connection monitor with friendly service names

Project description

🚦 NetShow

Friendly, process-aware network monitoring for your terminal

Python versions License Platform Code style: ruff Built with Textual uv


Table of Contents

✨ Features

Capability Details
Live TCP monitor Refreshes every 3 s (configurable) while preserving scroll position
Human-friendly service names Shows Docker, Plex, VS Code, etc. instead of cryptic binaries
Deep process drill-down Path, PID, cmdline, cwd, threads, CPU %, memory %, open files, active connections
Clickable / keyboard navigation Press or click a row for a dedicated detail screen; refresh pauses automatically
Runs privileged
or unprivileged
Uses psutil (root) for full fidelity, falls back to lsof if run as a regular user
Modern Textual UI Smooth scrolling, dark theme, status bar with connection count & data source
Zero-pain install Powered by uv for lightning-fast dependency resolution

🚀 Quickstart

# Install (recommended)
uv pip install netshow

# Run
netshow

Tip: Without root/sudo, NetShow silently switches to lsof and still gives you most connections.


🛠️ Usage

netshow [--interval 1.0] [--no-colors]
Option Description Default
--interval <sec> Refresh rate (float) 3.0
--no-colors Disable ANSI colors Off

Keybindings

Key / Mouse Action
↑ / ↓ Move cursor
↵ / Click Open detail view
Esc / ← Back to list
q Quit NetShow

👩‍💻 Development

git clone https://github.com/taylorwilsdon/netshow.git
cd netshow
uv sync --extra dev

Quality Gates

pytest            # tests
ruff format .     # auto-format
ruff check .      # lint
mypy src/         # type check

📋 Requirements

  • Python ≥ 3.9
  • macOS or Linux
  • lsof (usually pre-installed)

🤝 Contributing

Pull requests and ⭐ stars are welcome! Found a bug or have a feature request? Please open an issue.


📜 License

MIT – see LICENSE for full text.

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

netshow-0.1.1.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

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

netshow-0.1.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file netshow-0.1.1.tar.gz.

File metadata

  • Download URL: netshow-0.1.1.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for netshow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 36f465ada5c136516d0eea022f70b7a1507207debc0562c71a2802650ed185b9
MD5 b59ca14b7c73f7e233a57238dc5de587
BLAKE2b-256 dc434b204fe71c680a9e93c8132540a2ee4444f1f18e6a0c9993f7f82fafdbe2

See more details on using hashes here.

File details

Details for the file netshow-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: netshow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for netshow-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af1a2c21d683a146ac9b787381a6108573ebf72e25fb94bd6bb9265ed8ca39d0
MD5 a068337afb52b8e839663e967e75b93e
BLAKE2b-256 be78c211be76ef377253d48f54c7ae4f0c9b8f51ec72d651a99a7ea2abe9ced5

See more details on using hashes here.

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