Metadata-Version: 2.4
Name: netsweep
Version: 1.0.1
Summary: Fast, human-friendly CLI network host & port scanner
License: MIT License
        
        Copyright (c) 2025 Varsha
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rich>=13.0.0
Dynamic: license-file

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.
