scanner-port
A fast, multithreaded TCP port scanner written in Python. Scan any range of ports on a given IP address, and get detailed results — including open ports, scan timestamps, and per-port status — in structured JSON format.
pip intstall scanner-port
from scanner_port.utils import PortScanner
scanner = PortScanner("8.8.8.8", max_threads=100)
result = scanner.scan_ports((75, 85))
import json
print(json.dumps(result, indent=2))
{
"target_ip": "8.8.8.8",
"scan_start": "2025-06-27T22:19:32.123456",
"scan_end": "2025-06-27T22:19:33.789101",
"scanned_ports": [75, 76, ..., 85],
"open_ports": [80],
"ports_detail": [
{
"port": 75,
"timestamp": "2025-06-27T22:19:32.234567",
"status": "closed"
},
{
"port": 80,
"timestamp": "2025-06-27T22:19:32.567890",
"status": "open"
}
// ...
]
}
Metadata
Release files for scanner-port 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scanner_port-0.0.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scanner_port-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / scanner_port-0.0.1.tar.gz
| Download URL | scanner_port-0.0.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b5c0fb906fb005a530a40fa5da6f882680731a67381557d0a0577308e71e01c
|
|
BLAKE2b-256 checksum How to use checksums |
4f6af545f3651b3f59b4100d73542c39161fa54b5cd9a7ac0d0da1ef0d1c156b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / scanner_port-0.0.1-py3-none-any.whl
| Download URL | scanner_port-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7524b5a7fd590cedc098e096e48e33ea6080f8560d514fb1f51ab94c3245fb10
|
|
BLAKE2b-256 checksum How to use checksums |
ee6ef4dad80323c95ce5c08006cc2fa0dfa638b664964f21fc96cf1e3082e50c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|