kport 2.1.2__tar.gz → 3.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kport-2.1.2 → kport-3.1.0}/PKG-INFO +17 -3
- {kport-2.1.2 → kport-3.1.0}/README.md +14 -2
- {kport-2.1.2 → kport-3.1.0}/kport.egg-info/PKG-INFO +17 -3
- {kport-2.1.2 → kport-3.1.0}/kport.egg-info/SOURCES.txt +1 -0
- kport-3.1.0/kport.egg-info/requires.txt +1 -0
- {kport-2.1.2 → kport-3.1.0}/kport.py +1 -1
- {kport-2.1.2 → kport-3.1.0}/setup.py +4 -1
- {kport-2.1.2 → kport-3.1.0}/LICENSE +0 -0
- {kport-2.1.2 → kport-3.1.0}/kport.egg-info/dependency_links.txt +0 -0
- {kport-2.1.2 → kport-3.1.0}/kport.egg-info/entry_points.txt +0 -0
- {kport-2.1.2 → kport-3.1.0}/kport.egg-info/top_level.txt +0 -0
- {kport-2.1.2 → kport-3.1.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kport
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: A cross-platform command-line tool to inspect and kill processes using specific ports
|
|
5
5
|
Home-page: https://github.com/farman20ali/port-killer
|
|
6
6
|
Author: Farman Ali
|
|
@@ -28,6 +28,7 @@ Classifier: Operating System :: MacOS
|
|
|
28
28
|
Requires-Python: >=3.6
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
|
+
Requires-Dist: psutil>=5.9.0
|
|
31
32
|
Dynamic: author
|
|
32
33
|
Dynamic: author-email
|
|
33
34
|
Dynamic: classifier
|
|
@@ -37,6 +38,7 @@ Dynamic: home-page
|
|
|
37
38
|
Dynamic: keywords
|
|
38
39
|
Dynamic: license-file
|
|
39
40
|
Dynamic: project-url
|
|
41
|
+
Dynamic: requires-dist
|
|
40
42
|
Dynamic: requires-python
|
|
41
43
|
Dynamic: summary
|
|
42
44
|
|
|
@@ -155,8 +157,20 @@ On Linux, some ports may appear as `LISTEN` but the owning PID/process name is n
|
|
|
155
157
|
If you see `local-unknown` in `inspect` / `explain`, try:
|
|
156
158
|
|
|
157
159
|
```bash
|
|
158
|
-
sudo kport inspect 6379
|
|
159
|
-
sudo kport explain 6379
|
|
160
|
+
sudo -E kport inspect 6379
|
|
161
|
+
sudo -E kport explain 6379
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
If you installed with `pip install --user kport`, `sudo` may not find `kport` because root's `PATH` doesn't include your user scripts directory.
|
|
165
|
+
|
|
166
|
+
Alternatives:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# Option 1: keep your PATH when using sudo
|
|
170
|
+
sudo -E "$HOME/.local/bin/kport" inspect 6379
|
|
171
|
+
|
|
172
|
+
# Option 2: run the module via the system python (when working from repo)
|
|
173
|
+
sudo -E python3 kport.py inspect 6379
|
|
160
174
|
```
|
|
161
175
|
|
|
162
176
|
### Config file support (Phase 2)
|
|
@@ -113,8 +113,20 @@ On Linux, some ports may appear as `LISTEN` but the owning PID/process name is n
|
|
|
113
113
|
If you see `local-unknown` in `inspect` / `explain`, try:
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
|
-
sudo kport inspect 6379
|
|
117
|
-
sudo kport explain 6379
|
|
116
|
+
sudo -E kport inspect 6379
|
|
117
|
+
sudo -E kport explain 6379
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
If you installed with `pip install --user kport`, `sudo` may not find `kport` because root's `PATH` doesn't include your user scripts directory.
|
|
121
|
+
|
|
122
|
+
Alternatives:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
# Option 1: keep your PATH when using sudo
|
|
126
|
+
sudo -E "$HOME/.local/bin/kport" inspect 6379
|
|
127
|
+
|
|
128
|
+
# Option 2: run the module via the system python (when working from repo)
|
|
129
|
+
sudo -E python3 kport.py inspect 6379
|
|
118
130
|
```
|
|
119
131
|
|
|
120
132
|
### Config file support (Phase 2)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kport
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: A cross-platform command-line tool to inspect and kill processes using specific ports
|
|
5
5
|
Home-page: https://github.com/farman20ali/port-killer
|
|
6
6
|
Author: Farman Ali
|
|
@@ -28,6 +28,7 @@ Classifier: Operating System :: MacOS
|
|
|
28
28
|
Requires-Python: >=3.6
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
|
+
Requires-Dist: psutil>=5.9.0
|
|
31
32
|
Dynamic: author
|
|
32
33
|
Dynamic: author-email
|
|
33
34
|
Dynamic: classifier
|
|
@@ -37,6 +38,7 @@ Dynamic: home-page
|
|
|
37
38
|
Dynamic: keywords
|
|
38
39
|
Dynamic: license-file
|
|
39
40
|
Dynamic: project-url
|
|
41
|
+
Dynamic: requires-dist
|
|
40
42
|
Dynamic: requires-python
|
|
41
43
|
Dynamic: summary
|
|
42
44
|
|
|
@@ -155,8 +157,20 @@ On Linux, some ports may appear as `LISTEN` but the owning PID/process name is n
|
|
|
155
157
|
If you see `local-unknown` in `inspect` / `explain`, try:
|
|
156
158
|
|
|
157
159
|
```bash
|
|
158
|
-
sudo kport inspect 6379
|
|
159
|
-
sudo kport explain 6379
|
|
160
|
+
sudo -E kport inspect 6379
|
|
161
|
+
sudo -E kport explain 6379
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
If you installed with `pip install --user kport`, `sudo` may not find `kport` because root's `PATH` doesn't include your user scripts directory.
|
|
165
|
+
|
|
166
|
+
Alternatives:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# Option 1: keep your PATH when using sudo
|
|
170
|
+
sudo -E "$HOME/.local/bin/kport" inspect 6379
|
|
171
|
+
|
|
172
|
+
# Option 2: run the module via the system python (when working from repo)
|
|
173
|
+
sudo -E python3 kport.py inspect 6379
|
|
160
174
|
```
|
|
161
175
|
|
|
162
176
|
### Config file support (Phase 2)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
psutil>=5.9.0
|
|
@@ -1402,7 +1402,7 @@ Examples:
|
|
|
1402
1402
|
parser.add_argument("--exact", action="store_true", help="Use exact match for process name lookups")
|
|
1403
1403
|
parser.add_argument("--force", action="store_true", help="Force kill immediately if needed (after graceful timeout)")
|
|
1404
1404
|
parser.add_argument("--graceful-timeout", type=float, default=3.0, help="Seconds to wait for graceful termination before forcing (default 3.0)")
|
|
1405
|
-
parser.add_argument("-v", "--version", action="version", version="kport 3.
|
|
1405
|
+
parser.add_argument("-v", "--version", action="version", version="kport 3.1.0")
|
|
1406
1406
|
|
|
1407
1407
|
# PRODUCT.md subcommands
|
|
1408
1408
|
sub = parser.add_subparsers(dest="command")
|
|
@@ -8,7 +8,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name="kport",
|
|
11
|
-
version="
|
|
11
|
+
version="3.1.0",
|
|
12
12
|
author="Farman Ali",
|
|
13
13
|
author_email="farman20ali@gmail.com",
|
|
14
14
|
description="A cross-platform command-line tool to inspect and kill processes using specific ports",
|
|
@@ -36,6 +36,9 @@ setup(
|
|
|
36
36
|
"Operating System :: MacOS",
|
|
37
37
|
],
|
|
38
38
|
python_requires=">=3.6",
|
|
39
|
+
install_requires=[
|
|
40
|
+
"psutil>=5.9.0",
|
|
41
|
+
],
|
|
39
42
|
entry_points={
|
|
40
43
|
"console_scripts": [
|
|
41
44
|
"kport=kport:main",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|