Metadata-Version: 2.1
Name: killport
Version: 1.2.0
Home-page: https://github.com/dannysepler/killport
Author: Danny Sepler
Author-email: dannysepler@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/dannysepler/killport/issues
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: psutil

# `killport`

Kill processes using a given port on your laptop.

## Installation

`pip install killport`

## Usage

`killport 1234`
- kills any process using the 1234 port on your laptop

`killport 1234 2345`
- kills any process using either the 1234 or 2345 ports on your laptop

`killport 1234 --view-only`
- Displays the processes that would be deleted, but doesn't actually delete them.

## How does this differ from...

- [freeport](https://github.com/yashbathia/freeport/) -- Windows support, since this uses `psutil` rather than `lsof`
- [kill-port](https://github.com/tiaanduplessis/kill-port) -- Very similar, but this is available in PyPI vs NPM
