dekshell 0.1.99__py3-none-any.whl → 0.2.0__py3-none-any.whl
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.
- dekshell/core/contexts/methods.py +6 -0
- {dekshell-0.1.99.dist-info → dekshell-0.2.0.dist-info}/METADATA +2 -2
- {dekshell-0.1.99.dist-info → dekshell-0.2.0.dist-info}/RECORD +5 -5
- {dekshell-0.1.99.dist-info → dekshell-0.2.0.dist-info}/WHEEL +0 -0
- {dekshell-0.1.99.dist-info → dekshell-0.2.0.dist-info}/entry_points.txt +0 -0
|
@@ -14,6 +14,7 @@ from dektools.net import get_available_port
|
|
|
14
14
|
from dektools.func import FuncAnyArgs
|
|
15
15
|
from dektools.fetch import download_file
|
|
16
16
|
from dektools.download import download_from_http
|
|
17
|
+
from dektools.ps.process import process_detail, process_kill, process_list_all
|
|
17
18
|
from dektools.time import now
|
|
18
19
|
from dektools.str import shlex_split, shlex_quote
|
|
19
20
|
from ...utils.beep import sound_notify
|
|
@@ -158,6 +159,11 @@ default_methods = {
|
|
|
158
159
|
'hash': lambda x, name='sha256', args=None: hash_file(name, x, args=args),
|
|
159
160
|
},
|
|
160
161
|
**path_common_methods,
|
|
162
|
+
'pu': {
|
|
163
|
+
'ps': process_list_all,
|
|
164
|
+
'kill': process_kill,
|
|
165
|
+
'pi': process_detail,
|
|
166
|
+
},
|
|
161
167
|
|
|
162
168
|
'compress': compress_files,
|
|
163
169
|
'decompress': decompress_files,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dekshell
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Author-Email: sanzenwin <sanzenwin@gmail.com>
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.8
|
|
7
7
|
Requires-Dist: packaging<=23.1
|
|
8
|
-
Requires-Dist: dektools[date,fetch]<1.0.0
|
|
8
|
+
Requires-Dist: dektools[date,fetch,ps,tab]<1.0.0
|
|
9
9
|
Requires-Dist: dekmedia[audio]<1.0.0
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
dekshell-0.
|
|
2
|
-
dekshell-0.
|
|
3
|
-
dekshell-0.
|
|
1
|
+
dekshell-0.2.0.dist-info/METADATA,sha256=UNL_okQfODZUDKq426dmTCFXn9Th_HHFPXun-j0hUKo,527
|
|
2
|
+
dekshell-0.2.0.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
|
3
|
+
dekshell-0.2.0.dist-info/entry_points.txt,sha256=d-kbfULiUTZWIBBsrQF3J_-wESncF-4K2rwHT08grlI,75
|
|
4
4
|
dekshell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
dekshell/click/__entry__.py,sha256=CMuxUzXoEe4TcHFZwv-MNFwHnu1HSZCDpXFpqQ814uM,42
|
|
6
6
|
dekshell/click/__init__.py,sha256=rFzB_exzPQaIcbbms5PdHAU3NGdl2MBaYbq9v7g7BOI,1870
|
|
7
7
|
dekshell/core/__init__.py,sha256=Cp--1j2jpJzchXR98HiRp2QAiOHz8HXm8iy6ZChIWmc,5207
|
|
8
8
|
dekshell/core/contexts/__init__.py,sha256=ynsfv37azOKfI2UKd0iPl2M6iBW-k5cb1BqSLOWuJpI,482
|
|
9
|
-
dekshell/core/contexts/methods.py,sha256=
|
|
9
|
+
dekshell/core/contexts/methods.py,sha256=UNJ20SFGeAhnso7ACc0whOVMB9DAFfz6LeV7s7bLcpc,5684
|
|
10
10
|
dekshell/core/contexts/properties.py,sha256=aLHtyUWedbFPQw33V5vQZTc4TeLMTC-AO6e7PhBZKbk,1570
|
|
11
11
|
dekshell/core/markers/__init__.py,sha256=bmGMbZRqsOohMKjH0AReFxZ-nIPFF6YgPJMFT6gTJEw,1725
|
|
12
12
|
dekshell/core/markers/base/__init__.py,sha256=AQYr7H0F06izu5jhu8EgLYJ2ERzJh0eS38h9gtl6OZs,13067
|
|
@@ -36,4 +36,4 @@ dekshell/utils/cmd.py,sha256=_WG7K-CO-WQkI9ERyrhI2d4yT-DX3OjjJWbNzhmsPus,1197
|
|
|
36
36
|
dekshell/utils/pkg.py,sha256=TgYqRqawoJfjkxt6UAHnp9ttmpjuHiWRFbqxADOS1VE,1337
|
|
37
37
|
dekshell/utils/serializer.py,sha256=aIdF2Wzo-qHmIshv46jn1XD0X66vQ1JFdU-g3ZFbH2w,386
|
|
38
38
|
dekshell/utils/shell.py,sha256=0NoA2-SOOMinbmZZipwzL-npBbzPOdWEfdPVYqq5G5g,92
|
|
39
|
-
dekshell-0.
|
|
39
|
+
dekshell-0.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|