whoport
Show which processes are listening on which ports — with filtering by port number or process name.
Install
pip install whoport[full]
(psutil is required for process information. The base pip install whoport works but will prompt you to install it.)
Usage
# Show all listening ports
whoport
# Show only specific ports
whoport 8080 3000 5432
# Filter by process name (partial match)
whoport --process node
whoport --process python
# Include UDP sockets
whoport --udp
# Show full command lines
whoport --cmd
# Include established connections, not just listeners
whoport --all
Example output
PORT PROTO HOST PID PROCESS
────────────────────────────────────────────────────
3000 tcp * 41234 node
5432 tcp * 812 postgres
8080 tcp * 9876 uvicorn
11434 tcp lo 22980 ollama
4 ports shown.
License
MIT
Metadata
Release files for whoport 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| whoport-0.2.1.tar.gz | 7.0 kB | Without provenance | Details for whoport-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whoport-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for whoport-0.2.1-py3-none-any.whl |
Total release size: 12.7 kB
Release files / whoport-0.2.1.tar.gz
| Download URL | whoport-0.2.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1171b986359e91722272ac0e26fab8155d9590fb6c473e367b43d3f4557b9415
|
|
BLAKE2b-256 checksum How to use checksums |
4ba5c5333783a4e23935c18ffa60ed8c2cc08b243145de380643f530247e10c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / whoport-0.2.1-py3-none-any.whl
| Download URL | whoport-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd33cf3ca9818c71645deea4923adbae12414070dfaf0081c0711ff55dac479c
|
|
BLAKE2b-256 checksum How to use checksums |
954bd058f0b5690ab60b970ad0d3017ba282aedfbc3667a79c7a90e5ed6529f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for whoport 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.