pyutilscripts 0.5.0b0__tar.gz → 0.5.1__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.
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/LICENSE +21 -21
- {pyutilscripts-0.5.0b0/pyutilscripts.egg-info → pyutilscripts-0.5.1}/PKG-INFO +82 -82
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/README.md +52 -52
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyproject.toml +48 -48
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts/__init__.py +11 -11
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts/fcopy.py +602 -600
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts/forward_tcp.py +90 -90
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts/prunedirs.py +54 -54
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts/utils/__init__.py +17 -17
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1/pyutilscripts.egg-info}/PKG-INFO +82 -82
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/setup.cfg +4 -4
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/tests/test_action_parser.py +63 -63
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/tests/test_fcopy.py +107 -107
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/tests/test_fcopy_cli.py +67 -67
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts.egg-info/SOURCES.txt +0 -0
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts.egg-info/dependency_links.txt +0 -0
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts.egg-info/entry_points.txt +0 -0
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts.egg-info/requires.txt +0 -0
- {pyutilscripts-0.5.0b0 → pyutilscripts-0.5.1}/pyutilscripts.egg-info/top_level.txt +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020-2025 Zero <zero.kwok@foxmail.com>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020-2025 Zero <zero.kwok@foxmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: pyutilscripts
|
|
3
|
-
Version: 0.5.
|
|
4
|
-
Summary: PyUtilScripts 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
5
|
-
Author-email: Zero Kwok <zero.kwok@foxmail.com>
|
|
6
|
-
License: MIT License
|
|
7
|
-
Project-URL: Homepage, https://github.com/ZeroKwok/pyutilscripts
|
|
8
|
-
Project-URL: Issues, https://github.com/ZeroKwok/pyutilscripts/issues
|
|
9
|
-
Keywords: tools
|
|
10
|
-
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: Topic :: Software Development :: Build Tools
|
|
12
|
-
Classifier: Programming Language :: Python
|
|
13
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
-
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
-
Requires-Python: >=3.7
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
License-File: LICENSE
|
|
23
|
-
Requires-Dist: click
|
|
24
|
-
Requires-Dist: natsort
|
|
25
|
-
Requires-Dist: termcolor
|
|
26
|
-
Provides-Extra: dev
|
|
27
|
-
Requires-Dist: pytest; extra == "dev"
|
|
28
|
-
Requires-Dist: pytest-cov; extra == "dev"
|
|
29
|
-
Dynamic: license-file
|
|
30
|
-
|
|
31
|
-
# **PyUtilScripts**
|
|
32
|
-
|
|
33
|
-
`PyUtilScripts` 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
34
|
-
|
|
35
|
-
## 📦 安装
|
|
36
|
-
|
|
37
|
-
### 通过 pip 安装
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
pip install pyutilscripts
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### 从源码安装
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
git clone https://github.com/ZeroKwok/PyUtilScripts.git
|
|
47
|
-
cd PyUtilScripts
|
|
48
|
-
pip install .
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## 📝 使用说明
|
|
54
|
-
|
|
55
|
-
- **fcopy**
|
|
56
|
-
- 基于清单文件的复制工具
|
|
57
|
-
- 特点
|
|
58
|
-
- 支持 更新、覆盖写、重命名模式
|
|
59
|
-
- 支持 交互模式,精准把控拷贝细节(拷贝前生成行动列表,在用户编辑或确认后,才具体执行行动列表中记录的动作)
|
|
60
|
-
- 支持 过滤模式,忽略某些文件或目录
|
|
61
|
-
- 示例:
|
|
62
|
-
- 按文件清单拷贝指定目录下的文件
|
|
63
|
-
- 更新模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest`
|
|
64
|
-
- 覆盖模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m o`
|
|
65
|
-
- 重命名模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m r`
|
|
66
|
-
- 通过指定目录下的文件生成文件清单
|
|
67
|
-
- `fcopy -l /path/to/list.txt -s /path/to/src --update-list`
|
|
68
|
-
- 交互模式下拷贝指定目录的文件
|
|
69
|
-
- `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -i`
|
|
70
|
-
- 概念
|
|
71
|
-
- 文件清单(fcopy.list)决定要拷贝的文件
|
|
72
|
-
- 行动清单决定拷贝行为(交互模式下通过编辑器呈现)
|
|
73
|
-
|
|
74
|
-
- **prunedirs**
|
|
75
|
-
- 递归删除空目录
|
|
76
|
-
- 示例:
|
|
77
|
-
- `prunedirs /path/to/dir`
|
|
78
|
-
|
|
79
|
-
- **forward.tcp**
|
|
80
|
-
- TCP 端口转发工具
|
|
81
|
-
- 示例:
|
|
82
|
-
- `forward.tcp -s 0.0.0.0:8081 -d 127.0.0.1:1081`
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyutilscripts
|
|
3
|
+
Version: 0.5.1
|
|
4
|
+
Summary: PyUtilScripts 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
5
|
+
Author-email: Zero Kwok <zero.kwok@foxmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
Project-URL: Homepage, https://github.com/ZeroKwok/pyutilscripts
|
|
8
|
+
Project-URL: Issues, https://github.com/ZeroKwok/pyutilscripts/issues
|
|
9
|
+
Keywords: tools
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
12
|
+
Classifier: Programming Language :: Python
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Requires-Python: >=3.7
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: click
|
|
24
|
+
Requires-Dist: natsort
|
|
25
|
+
Requires-Dist: termcolor
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest; extra == "dev"
|
|
28
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
|
|
31
|
+
# **PyUtilScripts**
|
|
32
|
+
|
|
33
|
+
`PyUtilScripts` 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
34
|
+
|
|
35
|
+
## 📦 安装
|
|
36
|
+
|
|
37
|
+
### 通过 pip 安装
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install pyutilscripts
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 从源码安装
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
git clone https://github.com/ZeroKwok/PyUtilScripts.git
|
|
47
|
+
cd PyUtilScripts
|
|
48
|
+
pip install .
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## 📝 使用说明
|
|
54
|
+
|
|
55
|
+
- **fcopy**
|
|
56
|
+
- 基于清单文件的复制工具
|
|
57
|
+
- 特点
|
|
58
|
+
- 支持 更新、覆盖写、重命名模式
|
|
59
|
+
- 支持 交互模式,精准把控拷贝细节(拷贝前生成行动列表,在用户编辑或确认后,才具体执行行动列表中记录的动作)
|
|
60
|
+
- 支持 过滤模式,忽略某些文件或目录
|
|
61
|
+
- 示例:
|
|
62
|
+
- 按文件清单拷贝指定目录下的文件
|
|
63
|
+
- 更新模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest`
|
|
64
|
+
- 覆盖模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m o`
|
|
65
|
+
- 重命名模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m r`
|
|
66
|
+
- 通过指定目录下的文件生成文件清单
|
|
67
|
+
- `fcopy -l /path/to/list.txt -s /path/to/src --update-list`
|
|
68
|
+
- 交互模式下拷贝指定目录的文件
|
|
69
|
+
- `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -i`
|
|
70
|
+
- 概念
|
|
71
|
+
- 文件清单(fcopy.list)决定要拷贝的文件
|
|
72
|
+
- 行动清单决定拷贝行为(交互模式下通过编辑器呈现)
|
|
73
|
+
|
|
74
|
+
- **prunedirs**
|
|
75
|
+
- 递归删除空目录
|
|
76
|
+
- 示例:
|
|
77
|
+
- `prunedirs /path/to/dir`
|
|
78
|
+
|
|
79
|
+
- **forward.tcp**
|
|
80
|
+
- TCP 端口转发工具
|
|
81
|
+
- 示例:
|
|
82
|
+
- `forward.tcp -s 0.0.0.0:8081 -d 127.0.0.1:1081`
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
# **PyUtilScripts**
|
|
2
|
-
|
|
3
|
-
`PyUtilScripts` 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
4
|
-
|
|
5
|
-
## 📦 安装
|
|
6
|
-
|
|
7
|
-
### 通过 pip 安装
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
pip install pyutilscripts
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### 从源码安装
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
git clone https://github.com/ZeroKwok/PyUtilScripts.git
|
|
17
|
-
cd PyUtilScripts
|
|
18
|
-
pip install .
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## 📝 使用说明
|
|
24
|
-
|
|
25
|
-
- **fcopy**
|
|
26
|
-
- 基于清单文件的复制工具
|
|
27
|
-
- 特点
|
|
28
|
-
- 支持 更新、覆盖写、重命名模式
|
|
29
|
-
- 支持 交互模式,精准把控拷贝细节(拷贝前生成行动列表,在用户编辑或确认后,才具体执行行动列表中记录的动作)
|
|
30
|
-
- 支持 过滤模式,忽略某些文件或目录
|
|
31
|
-
- 示例:
|
|
32
|
-
- 按文件清单拷贝指定目录下的文件
|
|
33
|
-
- 更新模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest`
|
|
34
|
-
- 覆盖模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m o`
|
|
35
|
-
- 重命名模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m r`
|
|
36
|
-
- 通过指定目录下的文件生成文件清单
|
|
37
|
-
- `fcopy -l /path/to/list.txt -s /path/to/src --update-list`
|
|
38
|
-
- 交互模式下拷贝指定目录的文件
|
|
39
|
-
- `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -i`
|
|
40
|
-
- 概念
|
|
41
|
-
- 文件清单(fcopy.list)决定要拷贝的文件
|
|
42
|
-
- 行动清单决定拷贝行为(交互模式下通过编辑器呈现)
|
|
43
|
-
|
|
44
|
-
- **prunedirs**
|
|
45
|
-
- 递归删除空目录
|
|
46
|
-
- 示例:
|
|
47
|
-
- `prunedirs /path/to/dir`
|
|
48
|
-
|
|
49
|
-
- **forward.tcp**
|
|
50
|
-
- TCP 端口转发工具
|
|
51
|
-
- 示例:
|
|
52
|
-
- `forward.tcp -s 0.0.0.0:8081 -d 127.0.0.1:1081`
|
|
1
|
+
# **PyUtilScripts**
|
|
2
|
+
|
|
3
|
+
`PyUtilScripts` 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
4
|
+
|
|
5
|
+
## 📦 安装
|
|
6
|
+
|
|
7
|
+
### 通过 pip 安装
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install pyutilscripts
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### 从源码安装
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
git clone https://github.com/ZeroKwok/PyUtilScripts.git
|
|
17
|
+
cd PyUtilScripts
|
|
18
|
+
pip install .
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 📝 使用说明
|
|
24
|
+
|
|
25
|
+
- **fcopy**
|
|
26
|
+
- 基于清单文件的复制工具
|
|
27
|
+
- 特点
|
|
28
|
+
- 支持 更新、覆盖写、重命名模式
|
|
29
|
+
- 支持 交互模式,精准把控拷贝细节(拷贝前生成行动列表,在用户编辑或确认后,才具体执行行动列表中记录的动作)
|
|
30
|
+
- 支持 过滤模式,忽略某些文件或目录
|
|
31
|
+
- 示例:
|
|
32
|
+
- 按文件清单拷贝指定目录下的文件
|
|
33
|
+
- 更新模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest`
|
|
34
|
+
- 覆盖模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m o`
|
|
35
|
+
- 重命名模式 `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -m r`
|
|
36
|
+
- 通过指定目录下的文件生成文件清单
|
|
37
|
+
- `fcopy -l /path/to/list.txt -s /path/to/src --update-list`
|
|
38
|
+
- 交互模式下拷贝指定目录的文件
|
|
39
|
+
- `fcopy -l /path/to/list.txt -s /path/to/src -t /path/to/dest -i`
|
|
40
|
+
- 概念
|
|
41
|
+
- 文件清单(fcopy.list)决定要拷贝的文件
|
|
42
|
+
- 行动清单决定拷贝行为(交互模式下通过编辑器呈现)
|
|
43
|
+
|
|
44
|
+
- **prunedirs**
|
|
45
|
+
- 递归删除空目录
|
|
46
|
+
- 示例:
|
|
47
|
+
- `prunedirs /path/to/dir`
|
|
48
|
+
|
|
49
|
+
- **forward.tcp**
|
|
50
|
+
- TCP 端口转发工具
|
|
51
|
+
- 示例:
|
|
52
|
+
- `forward.tcp -s 0.0.0.0:8081 -d 127.0.0.1:1081`
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "pyutilscripts"
|
|
7
|
-
authors = [{ name = "Zero Kwok", email = "zero.kwok@foxmail.com" }]
|
|
8
|
-
description = "PyUtilScripts 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。"
|
|
9
|
-
keywords = ["tools"]
|
|
10
|
-
readme = "README.md"
|
|
11
|
-
requires-python = ">=3.7"
|
|
12
|
-
license = {text = "MIT License"}
|
|
13
|
-
dynamic = ["version"]
|
|
14
|
-
classifiers = [
|
|
15
|
-
"Intended Audience :: Developers",
|
|
16
|
-
"Topic :: Software Development :: Build Tools",
|
|
17
|
-
|
|
18
|
-
"Programming Language :: Python",
|
|
19
|
-
"Programming Language :: Python :: 3 :: Only",
|
|
20
|
-
"Programming Language :: Python :: 3",
|
|
21
|
-
"Programming Language :: Python :: 3.7",
|
|
22
|
-
"Programming Language :: Python :: 3.8",
|
|
23
|
-
"Programming Language :: Python :: 3.9",
|
|
24
|
-
"Programming Language :: Python :: 3.10",
|
|
25
|
-
"Programming Language :: Python :: 3.11",
|
|
26
|
-
]
|
|
27
|
-
dependencies = [
|
|
28
|
-
"click",
|
|
29
|
-
"natsort",
|
|
30
|
-
"termcolor",
|
|
31
|
-
]
|
|
32
|
-
|
|
33
|
-
[project.optional-dependencies]
|
|
34
|
-
dev = [
|
|
35
|
-
"pytest",
|
|
36
|
-
"pytest-cov",
|
|
37
|
-
]
|
|
38
|
-
|
|
39
|
-
[tool.setuptools.dynamic]
|
|
40
|
-
version = {attr = "pyutilscripts.projectVersion"}
|
|
41
|
-
|
|
42
|
-
[project.urls]
|
|
43
|
-
Homepage = "https://github.com/ZeroKwok/pyutilscripts"
|
|
44
|
-
Issues = "https://github.com/ZeroKwok/pyutilscripts/issues"
|
|
45
|
-
|
|
46
|
-
[project.scripts]
|
|
47
|
-
"fcopy" = "pyutilscripts.fcopy:main"
|
|
48
|
-
"prunedirs" = "pyutilscripts.prunedirs:main"
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pyutilscripts"
|
|
7
|
+
authors = [{ name = "Zero Kwok", email = "zero.kwok@foxmail.com" }]
|
|
8
|
+
description = "PyUtilScripts 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。"
|
|
9
|
+
keywords = ["tools"]
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
requires-python = ">=3.7"
|
|
12
|
+
license = {text = "MIT License"}
|
|
13
|
+
dynamic = ["version"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Intended Audience :: Developers",
|
|
16
|
+
"Topic :: Software Development :: Build Tools",
|
|
17
|
+
|
|
18
|
+
"Programming Language :: Python",
|
|
19
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.7",
|
|
22
|
+
"Programming Language :: Python :: 3.8",
|
|
23
|
+
"Programming Language :: Python :: 3.9",
|
|
24
|
+
"Programming Language :: Python :: 3.10",
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
|
+
]
|
|
27
|
+
dependencies = [
|
|
28
|
+
"click",
|
|
29
|
+
"natsort",
|
|
30
|
+
"termcolor",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.optional-dependencies]
|
|
34
|
+
dev = [
|
|
35
|
+
"pytest",
|
|
36
|
+
"pytest-cov",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
[tool.setuptools.dynamic]
|
|
40
|
+
version = {attr = "pyutilscripts.projectVersion"}
|
|
41
|
+
|
|
42
|
+
[project.urls]
|
|
43
|
+
Homepage = "https://github.com/ZeroKwok/pyutilscripts"
|
|
44
|
+
Issues = "https://github.com/ZeroKwok/pyutilscripts/issues"
|
|
45
|
+
|
|
46
|
+
[project.scripts]
|
|
47
|
+
"fcopy" = "pyutilscripts.fcopy:main"
|
|
48
|
+
"prunedirs" = "pyutilscripts.prunedirs:main"
|
|
49
49
|
"forward.tcp" = "pyutilscripts.forward_tcp:main"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"""
|
|
2
|
-
PyUtilScripts 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
__version__ = "0.5.
|
|
6
|
-
__status__ = "
|
|
7
|
-
__author__ = "zero <zero.kwok@foxmail.com>"
|
|
8
|
-
|
|
9
|
-
projectName = 'PyUtilScripts'
|
|
10
|
-
projectHome = 'https://github.com/ZeroKwok/pyutilscripts.git'
|
|
11
|
-
projectVersion = f'{__version__} {__status__}'.strip()
|
|
1
|
+
"""
|
|
2
|
+
PyUtilScripts 是一个基于 Python 的通用小工具集合,目标是提供编写通用任务的辅助工具。
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
__version__ = "0.5.1"
|
|
6
|
+
__status__ = ""
|
|
7
|
+
__author__ = "zero <zero.kwok@foxmail.com>"
|
|
8
|
+
|
|
9
|
+
projectName = 'PyUtilScripts'
|
|
10
|
+
projectHome = 'https://github.com/ZeroKwok/pyutilscripts.git'
|
|
11
|
+
projectVersion = f'{__version__} {__status__}'.strip()
|
|
12
12
|
projectAuthor = __author__
|