Skip to main content

A real-time network connection monitor with friendly service names

Project description

netshow · interactive, process-aware network monitoring for your terminal

Python versions Platform Code style: ruff Built with Textual uv



Features

🔍 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

# uvx (easiest)
uvx netshow

# Local Builds
git clone git@github.com:taylorwilsdon/netshow.git
uv run netshow

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


🛠️ Usage

netshow [--interval 1.0] [--no-colors]

Options

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.2.tar.gz (1.3 MB 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.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for netshow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 82b5cb6c87c3129f399bad177d02951e89d6714b62d943d8118acf6f52691c92
MD5 53f983e8bb9c470f01317c10c3aa86fe
BLAKE2b-256 0401780e50903fd6f8a04a57eccd7853350a5a83fbb9661a82599f61d3a010ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netshow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f7154e4234e2ea61b51edcd65e6c146bff2d8310117a2c9771740e7f51674e1
MD5 5ffe51dbc86320480efa8d4b4f41da3e
BLAKE2b-256 729f2407ab7d6527cc062080116b7919fa3ba0158e0275a83dab441441b2a34d

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