damon-devtools 0.2.0__tar.gz → 0.3.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.
- damon_devtools-0.3.0/PKG-INFO +126 -0
- damon_devtools-0.3.0/README.md +115 -0
- damon_devtools-0.3.0/damon_devtools.egg-info/PKG-INFO +126 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/__main__.py +12 -2
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/launcher.py +2 -1
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/pyproject.toml +1 -1
- damon_devtools-0.2.0/PKG-INFO +0 -46
- damon_devtools-0.2.0/README.md +0 -35
- damon_devtools-0.2.0/damon_devtools.egg-info/PKG-INFO +0 -46
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/damon_devtools.egg-info/SOURCES.txt +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/damon_devtools.egg-info/dependency_links.txt +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/damon_devtools.egg-info/entry_points.txt +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/damon_devtools.egg-info/requires.txt +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/damon_devtools.egg-info/top_level.txt +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/__init__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/__init__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/apkpull/__init__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/apkpull/__main__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/apkpull/core.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/apkpull/models.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/apkpull/ui.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/portkill/__init__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/portkill/__main__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/portkill/core.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/portkill/models.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/portkill/ui.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/removebg/__init__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/removebg/__main__.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/removebg/cli.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/tools/removebg/core.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/devtools/types.py +0 -0
- {damon_devtools-0.2.0 → damon_devtools-0.3.0}/setup.cfg +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: damon-devtools
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Developer CLI tools — portkill, removebg, apkpull
|
|
5
|
+
Author: damon
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: cli,devtools,android,apk,adb
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: psutil>=5.9
|
|
11
|
+
|
|
12
|
+
# devtools
|
|
13
|
+
|
|
14
|
+
Developer CLI tools: portkill, removebg, apkpull.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Tools
|
|
19
|
+
|
|
20
|
+
### portkill
|
|
21
|
+
|
|
22
|
+
Kill Node.js processes by port or scan all node processes.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python -m devtools portkill
|
|
26
|
+
python -m devtools portkill --listen-only
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### apkpull
|
|
30
|
+
|
|
31
|
+
Pull APK files from Android device via ADB.
|
|
32
|
+
|
|
33
|
+
Features:
|
|
34
|
+
- List and search third-party apps
|
|
35
|
+
- Fast app name lookup via aapt2
|
|
36
|
+
- Auto-download aapt2 if not found locally
|
|
37
|
+
- Multi-device support
|
|
38
|
+
- Label caching for faster subsequent runs
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# Interactive mode
|
|
42
|
+
python -m devtools apkpull
|
|
43
|
+
|
|
44
|
+
# Specify target directory
|
|
45
|
+
python -m devtools apkpull /path/to/output
|
|
46
|
+
|
|
47
|
+
# Search apps by keyword
|
|
48
|
+
python -m devtools apkpull -s wechat
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### removebg
|
|
52
|
+
|
|
53
|
+
Remove image backgrounds using the remove.bg API.
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
python -m devtools removebg input.jpg
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Install
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
pip install damon-devtools
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Requires: Python >= 3.10
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
# devtools
|
|
72
|
+
|
|
73
|
+
开发者命令行工具集:portkill、removebg、apkpull。
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## 工具
|
|
78
|
+
|
|
79
|
+
### portkill
|
|
80
|
+
|
|
81
|
+
根据端口查找并终止 Node.js 进程,或扫描所有 node 进程。
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
python -m devtools portkill
|
|
85
|
+
python -m devtools portkill --listen-only
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### apkpull
|
|
89
|
+
|
|
90
|
+
通过 ADB 从 Android 设备拉取 APK 安装包。
|
|
91
|
+
|
|
92
|
+
功能特点:
|
|
93
|
+
- 列出和搜索第三方应用
|
|
94
|
+
- 通过 aapt2 快速获取应用名
|
|
95
|
+
- 本地未找到 aapt2 时自动下载
|
|
96
|
+
- 多设备支持
|
|
97
|
+
- 应用名缓存,加速后续运行
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# 交互模式
|
|
101
|
+
python -m devtools apkpull
|
|
102
|
+
|
|
103
|
+
# 指定目标目录
|
|
104
|
+
python -m devtools apkpull /path/to/output
|
|
105
|
+
|
|
106
|
+
# 搜索应用
|
|
107
|
+
python -m devtools apkpull -s wechat
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### removebg
|
|
111
|
+
|
|
112
|
+
使用 remove.bg API 去除图片背景。
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
python -m devtools removebg input.jpg
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 安装
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
pip install damon-devtools
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
要求:Python >= 3.10
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# devtools
|
|
2
|
+
|
|
3
|
+
Developer CLI tools: portkill, removebg, apkpull.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Tools
|
|
8
|
+
|
|
9
|
+
### portkill
|
|
10
|
+
|
|
11
|
+
Kill Node.js processes by port or scan all node processes.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
python -m devtools portkill
|
|
15
|
+
python -m devtools portkill --listen-only
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### apkpull
|
|
19
|
+
|
|
20
|
+
Pull APK files from Android device via ADB.
|
|
21
|
+
|
|
22
|
+
Features:
|
|
23
|
+
- List and search third-party apps
|
|
24
|
+
- Fast app name lookup via aapt2
|
|
25
|
+
- Auto-download aapt2 if not found locally
|
|
26
|
+
- Multi-device support
|
|
27
|
+
- Label caching for faster subsequent runs
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Interactive mode
|
|
31
|
+
python -m devtools apkpull
|
|
32
|
+
|
|
33
|
+
# Specify target directory
|
|
34
|
+
python -m devtools apkpull /path/to/output
|
|
35
|
+
|
|
36
|
+
# Search apps by keyword
|
|
37
|
+
python -m devtools apkpull -s wechat
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### removebg
|
|
41
|
+
|
|
42
|
+
Remove image backgrounds using the remove.bg API.
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
python -m devtools removebg input.jpg
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Install
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pip install damon-devtools
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Requires: Python >= 3.10
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
# devtools
|
|
61
|
+
|
|
62
|
+
开发者命令行工具集:portkill、removebg、apkpull。
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 工具
|
|
67
|
+
|
|
68
|
+
### portkill
|
|
69
|
+
|
|
70
|
+
根据端口查找并终止 Node.js 进程,或扫描所有 node 进程。
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
python -m devtools portkill
|
|
74
|
+
python -m devtools portkill --listen-only
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### apkpull
|
|
78
|
+
|
|
79
|
+
通过 ADB 从 Android 设备拉取 APK 安装包。
|
|
80
|
+
|
|
81
|
+
功能特点:
|
|
82
|
+
- 列出和搜索第三方应用
|
|
83
|
+
- 通过 aapt2 快速获取应用名
|
|
84
|
+
- 本地未找到 aapt2 时自动下载
|
|
85
|
+
- 多设备支持
|
|
86
|
+
- 应用名缓存,加速后续运行
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# 交互模式
|
|
90
|
+
python -m devtools apkpull
|
|
91
|
+
|
|
92
|
+
# 指定目标目录
|
|
93
|
+
python -m devtools apkpull /path/to/output
|
|
94
|
+
|
|
95
|
+
# 搜索应用
|
|
96
|
+
python -m devtools apkpull -s wechat
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### removebg
|
|
100
|
+
|
|
101
|
+
使用 remove.bg API 去除图片背景。
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
python -m devtools removebg input.jpg
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## 安装
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
pip install damon-devtools
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
要求:Python >= 3.10
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: damon-devtools
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Developer CLI tools — portkill, removebg, apkpull
|
|
5
|
+
Author: damon
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: cli,devtools,android,apk,adb
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: psutil>=5.9
|
|
11
|
+
|
|
12
|
+
# devtools
|
|
13
|
+
|
|
14
|
+
Developer CLI tools: portkill, removebg, apkpull.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Tools
|
|
19
|
+
|
|
20
|
+
### portkill
|
|
21
|
+
|
|
22
|
+
Kill Node.js processes by port or scan all node processes.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python -m devtools portkill
|
|
26
|
+
python -m devtools portkill --listen-only
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### apkpull
|
|
30
|
+
|
|
31
|
+
Pull APK files from Android device via ADB.
|
|
32
|
+
|
|
33
|
+
Features:
|
|
34
|
+
- List and search third-party apps
|
|
35
|
+
- Fast app name lookup via aapt2
|
|
36
|
+
- Auto-download aapt2 if not found locally
|
|
37
|
+
- Multi-device support
|
|
38
|
+
- Label caching for faster subsequent runs
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# Interactive mode
|
|
42
|
+
python -m devtools apkpull
|
|
43
|
+
|
|
44
|
+
# Specify target directory
|
|
45
|
+
python -m devtools apkpull /path/to/output
|
|
46
|
+
|
|
47
|
+
# Search apps by keyword
|
|
48
|
+
python -m devtools apkpull -s wechat
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### removebg
|
|
52
|
+
|
|
53
|
+
Remove image backgrounds using the remove.bg API.
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
python -m devtools removebg input.jpg
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Install
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
pip install damon-devtools
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Requires: Python >= 3.10
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
# devtools
|
|
72
|
+
|
|
73
|
+
开发者命令行工具集:portkill、removebg、apkpull。
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## 工具
|
|
78
|
+
|
|
79
|
+
### portkill
|
|
80
|
+
|
|
81
|
+
根据端口查找并终止 Node.js 进程,或扫描所有 node 进程。
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
python -m devtools portkill
|
|
85
|
+
python -m devtools portkill --listen-only
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### apkpull
|
|
89
|
+
|
|
90
|
+
通过 ADB 从 Android 设备拉取 APK 安装包。
|
|
91
|
+
|
|
92
|
+
功能特点:
|
|
93
|
+
- 列出和搜索第三方应用
|
|
94
|
+
- 通过 aapt2 快速获取应用名
|
|
95
|
+
- 本地未找到 aapt2 时自动下载
|
|
96
|
+
- 多设备支持
|
|
97
|
+
- 应用名缓存,加速后续运行
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# 交互模式
|
|
101
|
+
python -m devtools apkpull
|
|
102
|
+
|
|
103
|
+
# 指定目标目录
|
|
104
|
+
python -m devtools apkpull /path/to/output
|
|
105
|
+
|
|
106
|
+
# 搜索应用
|
|
107
|
+
python -m devtools apkpull -s wechat
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### removebg
|
|
111
|
+
|
|
112
|
+
使用 remove.bg API 去除图片背景。
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
python -m devtools removebg input.jpg
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 安装
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
pip install damon-devtools
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
要求:Python >= 3.10
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import sys
|
|
2
|
+
import argparse
|
|
2
3
|
from importlib import import_module
|
|
4
|
+
from importlib.metadata import version as get_version
|
|
3
5
|
from devtools.tools import get_tool
|
|
4
6
|
|
|
7
|
+
VERSION = get_version("damon-devtools")
|
|
8
|
+
|
|
5
9
|
|
|
6
10
|
def run_tool(tool_name: str, args: list[str]):
|
|
7
11
|
tool = get_tool(tool_name)
|
|
@@ -41,8 +45,14 @@ def run_tool(tool_name: str, args: list[str]):
|
|
|
41
45
|
|
|
42
46
|
|
|
43
47
|
def main():
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
parser = argparse.ArgumentParser(prog="devtools", description="Developer CLI tools")
|
|
49
|
+
parser.add_argument("-v", "--version", action="version", version=f"%(prog)s {VERSION}")
|
|
50
|
+
parser.add_argument("tool", nargs="?", help="Tool name to run")
|
|
51
|
+
parser.add_argument("args", nargs="*", help="Arguments for the tool")
|
|
52
|
+
parsed = parser.parse_args()
|
|
53
|
+
|
|
54
|
+
if parsed.tool:
|
|
55
|
+
run_tool(parsed.tool, parsed.args)
|
|
46
56
|
else:
|
|
47
57
|
from devtools.launcher import render_launcher
|
|
48
58
|
result = render_launcher()
|
|
@@ -3,6 +3,7 @@ if sys.platform == "win32":
|
|
|
3
3
|
sys.stdout.reconfigure(encoding="utf-8")
|
|
4
4
|
|
|
5
5
|
from devtools.tools import TOOLS
|
|
6
|
+
from devtools.__main__ import VERSION
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
def render_launcher():
|
|
@@ -16,7 +17,7 @@ def render_launcher():
|
|
|
16
17
|
|
|
17
18
|
print()
|
|
18
19
|
print("=" * 50)
|
|
19
|
-
print(" devtools — 开发者工具箱")
|
|
20
|
+
print(f" devtools {VERSION} — 开发者工具箱")
|
|
20
21
|
print("=" * 50)
|
|
21
22
|
print()
|
|
22
23
|
for i, tool in enumerate(TOOLS):
|
damon_devtools-0.2.0/PKG-INFO
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: damon-devtools
|
|
3
|
-
Version: 0.2.0
|
|
4
|
-
Summary: Developer CLI tools — portkill, removebg, apkpull
|
|
5
|
-
Author: damon
|
|
6
|
-
License: MIT
|
|
7
|
-
Keywords: cli,devtools,android,apk,adb
|
|
8
|
-
Requires-Python: >=3.10
|
|
9
|
-
Description-Content-Type: text/markdown
|
|
10
|
-
Requires-Dist: psutil>=5.9
|
|
11
|
-
|
|
12
|
-
# devtools
|
|
13
|
-
|
|
14
|
-
Developer CLI tools: portkill, removebg, apkpull.
|
|
15
|
-
|
|
16
|
-
## Tools
|
|
17
|
-
|
|
18
|
-
### portkill
|
|
19
|
-
Kill Node.js processes by port or scan all node processes.
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
python -m devtools portkill
|
|
23
|
-
python -m devtools portkill --listen-only
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### apkpull
|
|
27
|
-
Pull APK files from Android device via ADB.
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
python -m devtools apkpull [target_dir]
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### removebg
|
|
34
|
-
Remove image backgrounds using the remove.bg API.
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
python -m devtools removebg input.jpg
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Install
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
pip install damon-devtools
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Requires: Python >=3.10
|
damon_devtools-0.2.0/README.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# devtools
|
|
2
|
-
|
|
3
|
-
Developer CLI tools: portkill, removebg, apkpull.
|
|
4
|
-
|
|
5
|
-
## Tools
|
|
6
|
-
|
|
7
|
-
### portkill
|
|
8
|
-
Kill Node.js processes by port or scan all node processes.
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
python -m devtools portkill
|
|
12
|
-
python -m devtools portkill --listen-only
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### apkpull
|
|
16
|
-
Pull APK files from Android device via ADB.
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
python -m devtools apkpull [target_dir]
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
### removebg
|
|
23
|
-
Remove image backgrounds using the remove.bg API.
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
python -m devtools removebg input.jpg
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Install
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
pip install damon-devtools
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Requires: Python >=3.10
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: damon-devtools
|
|
3
|
-
Version: 0.2.0
|
|
4
|
-
Summary: Developer CLI tools — portkill, removebg, apkpull
|
|
5
|
-
Author: damon
|
|
6
|
-
License: MIT
|
|
7
|
-
Keywords: cli,devtools,android,apk,adb
|
|
8
|
-
Requires-Python: >=3.10
|
|
9
|
-
Description-Content-Type: text/markdown
|
|
10
|
-
Requires-Dist: psutil>=5.9
|
|
11
|
-
|
|
12
|
-
# devtools
|
|
13
|
-
|
|
14
|
-
Developer CLI tools: portkill, removebg, apkpull.
|
|
15
|
-
|
|
16
|
-
## Tools
|
|
17
|
-
|
|
18
|
-
### portkill
|
|
19
|
-
Kill Node.js processes by port or scan all node processes.
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
python -m devtools portkill
|
|
23
|
-
python -m devtools portkill --listen-only
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### apkpull
|
|
27
|
-
Pull APK files from Android device via ADB.
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
python -m devtools apkpull [target_dir]
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### removebg
|
|
34
|
-
Remove image backgrounds using the remove.bg API.
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
python -m devtools removebg input.jpg
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Install
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
pip install damon-devtools
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Requires: Python >=3.10
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|