Fast, human-friendly CLI network host & port scanner
Project description
Instant network visibility from the command line. netsweep scans a subnet, discovers live hosts, and checks open ports — all in a single command. No config files, no GUI, no noise.
$ netsweep 192.168.1.0/24
Network: 192.168.1.0/24 · Up: 3 · Down: 1 · Scanned in 2.8s
╭─────────────────┬────────┬────────────────────╮
│ IP Address │ Status │ Open Ports │
├─────────────────┼────────┼────────────────────┤
│ 192.168.1.1 │ ● UP │ 80/HTTP, 443/HTTPS │
│ 192.168.1.50 │ ● UP │ 22/SSH │
│ 192.168.1.105 │ ● UP │ 3306/MySQL │
│ 192.168.1.100 │ ● DOWN │ — │
╰─────────────────┴────────┴────────────────────╯
Install
pip install netsweep
Usage
# Scan a subnet
netsweep 192.168.1.0/24
# Custom ports
netsweep 192.168.1.0/24 --ports 22 80 443 3306 8080
# Only show live hosts
netsweep 192.168.1.0/24 --up-only
# Save results
netsweep 192.168.1.0/24 --output report.txt
# Tune performance
netsweep 192.168.1.0/24 --workers 100 --timeout 2 --limit 50
Features
Parallel scanning — concurrent workers, scans large subnets fast Port detection — TCP connect scan with named service labels CIDR support — full subnet ranges or single hosts (/32) Rich terminal UI — color-coded output, live progress bar Plain fallback — works without rich if not installed Export — save clean plain-text reports with --output Cross-platform — Linux, macOS, Windows (WSL)
Requirements
Python ≥ 3.10 rich ≥ 13.0 — for colored output (optional but recommended)
Useful for: network inventory, deployment verification, firewall validation, on-call debugging, and quick connectivity checks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netsweep-1.0.1.tar.gz.
File metadata
- Download URL: netsweep-1.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6520df0ec76ab03e73d68dd1a9cb853b32373279d6293392ba1e5778635ea84b
|
|
| MD5 |
303165518e84750477eb1c705ea15f56
|
|
| BLAKE2b-256 |
cea6ded4c159dc0d9f8e61ba612dda389c66f48f3182cbfe67c995a3e25a8dc5
|
File details
Details for the file netsweep-1.0.1-py3-none-any.whl.
File metadata
- Download URL: netsweep-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc214f1b972b3eb5f1f06c0a54ec2097053aaaef7e4604e6c5863ba916e268ec
|
|
| MD5 |
096eb118da0c54d6482c397e06de5e37
|
|
| BLAKE2b-256 |
88e9284e9ccb702275308138993697ff0c16f6c0598525299515a8c40b95ecd7
|