dekshell 0.2.37__py3-none-any.whl → 0.2.38__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 -1
- dekshell/core/contexts/properties.py +2 -0
- {dekshell-0.2.37.dist-info → dekshell-0.2.38.dist-info}/METADATA +1 -1
- {dekshell-0.2.37.dist-info → dekshell-0.2.38.dist-info}/RECORD +6 -6
- {dekshell-0.2.37.dist-info → dekshell-0.2.38.dist-info}/WHEEL +0 -0
- {dekshell-0.2.37.dist-info → dekshell-0.2.38.dist-info}/entry_points.txt +0 -0
|
@@ -14,8 +14,9 @@ from dektools.file import sure_dir, write_file, read_text, remove_path, sure_par
|
|
|
14
14
|
format_path_desc, read_file, split_ext, path_ext, clear_dir, copy_recurse_ignore, path_is_empty, \
|
|
15
15
|
read_lines, seek_py_module_path, come_real_path, status_of_dir, diff_of_dir, path_parent, \
|
|
16
16
|
split_file, combine_split_files, remove_split_files, meta_split_file, tree, iglob, \
|
|
17
|
-
iter_dir_type, iter_dir_type_one, \
|
|
17
|
+
iter_dir_type, iter_dir_type_one, rc4_file, \
|
|
18
18
|
where, which, those
|
|
19
|
+
from dektools.crypto.rc4 import rc4
|
|
19
20
|
from dektools.hash import hash_file
|
|
20
21
|
from dektools.zip import compress_files, decompress_files
|
|
21
22
|
from dektools.output import pprint, obj2str
|
|
@@ -307,6 +308,7 @@ default_methods = {
|
|
|
307
308
|
'ps': process_print_all,
|
|
308
309
|
'pd': process_print_detail,
|
|
309
310
|
'detail': process_detail,
|
|
311
|
+
'username': process_username,
|
|
310
312
|
'query': lambda x: list(process_query(x)),
|
|
311
313
|
},
|
|
312
314
|
|
|
@@ -334,6 +336,9 @@ default_methods = {
|
|
|
334
336
|
'is_': lambda x, y: x is y,
|
|
335
337
|
'nis': lambda x, y: x is not y,
|
|
336
338
|
|
|
339
|
+
'rc4': rc4,
|
|
340
|
+
'rc4file': rc4_file,
|
|
341
|
+
|
|
337
342
|
'beep': lambda x=True: sound_notify(x),
|
|
338
343
|
|
|
339
344
|
'invoke': lambda __placeholder__filepath, *args, **kwargs: InvokeMarker.execute_file(
|
|
@@ -15,6 +15,7 @@ from dektools.file import read_text
|
|
|
15
15
|
from dektools.env import is_on_cicd
|
|
16
16
|
from dektools.ps.process import process_attrs
|
|
17
17
|
from dektools.context.utils import Method, MethodSimple, AttrProxy
|
|
18
|
+
from dektools.web.url import Url
|
|
18
19
|
from ...utils.serializer import serializer
|
|
19
20
|
from ..redirect import shell_name
|
|
20
21
|
from ..markers.base.core import get_inner_vars
|
|
@@ -107,6 +108,7 @@ default_properties = {
|
|
|
107
108
|
'pu': {
|
|
108
109
|
'attrs': process_attrs
|
|
109
110
|
},
|
|
111
|
+
'Url': Url,
|
|
110
112
|
'obj': serializer,
|
|
111
113
|
'mp': ModuleProxy(),
|
|
112
114
|
'date': DateTime(),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
dekshell-0.2.
|
|
2
|
-
dekshell-0.2.
|
|
3
|
-
dekshell-0.2.
|
|
1
|
+
dekshell-0.2.38.dist-info/METADATA,sha256=doO8XiIfbnZcJEN4zy0MCPROVULDEh--kSILkDE7NWo,573
|
|
2
|
+
dekshell-0.2.38.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
|
3
|
+
dekshell-0.2.38.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=r-AHdO9CEEVvTN20-8Jozr6Zh8XSv_BnktYRwrlhtrE,2046
|
|
7
7
|
dekshell/core/__init__.py,sha256=isDEKwk1odLdvTQNCILCtVNBuXp1uFVPz_uTDNihkVU,5547
|
|
8
8
|
dekshell/core/contexts/__init__.py,sha256=ynsfv37azOKfI2UKd0iPl2M6iBW-k5cb1BqSLOWuJpI,482
|
|
9
|
-
dekshell/core/contexts/methods.py,sha256=
|
|
10
|
-
dekshell/core/contexts/properties.py,sha256=
|
|
9
|
+
dekshell/core/contexts/methods.py,sha256=B8lfdJQ7hIk-InoXtI0g1JQJ6tWkzggapHFRz1D1b3c,10674
|
|
10
|
+
dekshell/core/contexts/properties.py,sha256=yilnRe2I6FTIui4kXUBCWvH2ymvpEfc_13on8pAZwnY,3456
|
|
11
11
|
dekshell/core/markers/__init__.py,sha256=yRQazZ1dxMltFao_RQnDnawSnQcjN_4B930MjJhaZ40,1968
|
|
12
12
|
dekshell/core/markers/base/__init__.py,sha256=CsbNYGQ2Od3XdekR9RFMJ7mo9Roj-LlXS62SY50fiAY,16826
|
|
13
13
|
dekshell/core/markers/base/core.py,sha256=InsUA3md2gC6GyXQsvARfeNTrfbVD3gGOYxTM8VqqPA,11679
|
|
@@ -37,4 +37,4 @@ dekshell/utils/cmd.py,sha256=K9FbXgHcGFchHA58xI0_t4YK4yb8XkWbxsNoztYRx3Y,518
|
|
|
37
37
|
dekshell/utils/pkg.py,sha256=TgYqRqawoJfjkxt6UAHnp9ttmpjuHiWRFbqxADOS1VE,1337
|
|
38
38
|
dekshell/utils/serializer.py,sha256=aIdF2Wzo-qHmIshv46jn1XD0X66vQ1JFdU-g3ZFbH2w,386
|
|
39
39
|
dekshell/utils/shell.py,sha256=0NoA2-SOOMinbmZZipwzL-npBbzPOdWEfdPVYqq5G5g,92
|
|
40
|
-
dekshell-0.2.
|
|
40
|
+
dekshell-0.2.38.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|