Skip to main content

kill-this-port

kill-this-port is a Python utility to quickly identify and kill processes running on a specified port. It is ideal for developers managing networked applications who often encounter port conflicts.

Features

  • Check Port Usage: View which processes are using a specific port.
  • Kill Processes: Safely terminate processes occupying a port.
  • Force Kill: Use a forceful approach to stop stubborn processes.

Installation

Install the utility using pip:

pip install kill-this-port

Usage

  1. Check Port Usage:

    checkport [port]
    

    Example:

    checkport 8000
    
  2. Kill Process by Port:

    killport [port]
    

    Example:

    killport 8000
    
  3. Force Kill Process by Port:

    killport --force [port]
    

    Example:

    killport --f 8000
    

Example

To check port 3000 usage:

checkport 3000

To kill the process using port 3000:

killport 3000

To forcefully kill the process:

killport --force 3000

Author

Aaditya Kanjolia

GitHub: aadityakanjolia4

Metadata

Release files for kill-this-port 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kill-this-port 1.0.1
File Size Uploaded Provenance Actions
kill_this_port-1.0.1.tar.gz 3.5 kB Without provenance Details for kill_this_port-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kill-this-port 1.0.1
File Interpreter ABI Platform Actions
kill_this_port-1.0.1-py3-none-any.whl Python 3 none any Details for kill_this_port-1.0.1-py3-none-any.whl

Total release size: 7.7 kB

Release files / kill_this_port-1.0.1.tar.gz

Download URL kill_this_port-1.0.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3712855c83c1a58827a3bab50e17b6a9f9707d530efe58b440ee6df18fd1bddf
BLAKE2b-256 checksum
How to use checksums
43bfa184ce54f2f047692161ca8e66a29666fd1f731e7e21a1ebdb46d9980897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / kill_this_port-1.0.1-py3-none-any.whl

Download URL kill_this_port-1.0.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9baa1d79d4ac627fe723f731d0d3bc1f47fe6c3481c7de674889b1a37fd12b70
BLAKE2b-256 checksum
How to use checksums
d9f895154abe55f9e7995b5e2a67738f41d16d195c6b0515302b01f9dcff8035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for kill-this-port 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page