dekshell 0.2.19__py3-none-any.whl → 0.2.20__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.
@@ -11,7 +11,7 @@ from pathlib import Path
11
11
  from io import BytesIO, StringIO
12
12
  from dektools.file import sure_dir, write_file, read_text, remove_path, sure_parent_dir, normal_path, \
13
13
  format_path_desc, read_file, split_ext, path_ext, clear_dir, copy_recurse_ignore, path_is_empty, \
14
- read_lines, seek_py_module_path, come_real_path, status_of_dir, diff_of_dir,\
14
+ read_lines, seek_py_module_path, come_real_path, status_of_dir, diff_of_dir, \
15
15
  split_file, combine_split_files, remove_split_files, meta_split_file, tree, iglob, \
16
16
  where, where_list, which, which_list
17
17
  from dektools.hash import hash_file
@@ -19,7 +19,7 @@ from dektools.zip import compress_files, decompress_files
19
19
  from dektools.output import pprint, obj2str
20
20
  from dektools.net import get_available_port
21
21
  from dektools.func import FuncAnyArgs
22
- from dektools.fetch import download_file
22
+ from dektools.fetch import download_file, download_content
23
23
  from dektools.download import download_from_http
24
24
  from dektools.ps.process import process_detail, process_kill, process_list_all
25
25
  from dektools.time import now
@@ -320,6 +320,7 @@ default_methods = {
320
320
  'port': get_available_port,
321
321
  'fetch': download_file,
322
322
  'download': download_from_http,
323
+ 'content': download_content,
323
324
  },
324
325
 
325
326
  'git': {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dekshell
3
- Version: 0.2.19
3
+ Version: 0.2.20
4
4
  Author-Email: sanzenwin <sanzenwin@gmail.com>
5
5
  License: MIT
6
6
  Requires-Python: >=3.8
@@ -1,12 +1,12 @@
1
- dekshell-0.2.19.dist-info/METADATA,sha256=E2XaLJLl7csW7i1yvCpJ9_b9obavP9s7ZLrMVDNAV0U,573
2
- dekshell-0.2.19.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
- dekshell-0.2.19.dist-info/entry_points.txt,sha256=d-kbfULiUTZWIBBsrQF3J_-wESncF-4K2rwHT08grlI,75
1
+ dekshell-0.2.20.dist-info/METADATA,sha256=lyoJSBMq5T-98xmkXenuqb022cFzmAD7B9OA35SJBRQ,573
2
+ dekshell-0.2.20.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
+ dekshell-0.2.20.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=w-IeR-tO61Mv4ubZyw9LvyagudyD8SXH0YD3yKApNXk,5405
8
8
  dekshell/core/contexts/__init__.py,sha256=ynsfv37azOKfI2UKd0iPl2M6iBW-k5cb1BqSLOWuJpI,482
9
- dekshell/core/contexts/methods.py,sha256=t90h2XCJkIloE6VIFZqpT3FRUX1T2gkgjMzQ3_MzT90,9288
9
+ dekshell/core/contexts/methods.py,sha256=6THhB6X6VqpHKLQIW3bOrd3J9yxHems2PRt8dR6xiT0,9344
10
10
  dekshell/core/contexts/properties.py,sha256=esr51c6wDTDsuFXF2uj7WfyIGSq9H0dzqDqWzeMTNQE,2382
11
11
  dekshell/core/markers/__init__.py,sha256=FyVfsvt1c8hFWoTgHuMriSJvrJg1XulK636Kt1TczjQ,1867
12
12
  dekshell/core/markers/base/__init__.py,sha256=To25RVX3h1MluV3OmktVMw2bigex79GjWHUPWtIlczI,13433
@@ -36,4 +36,4 @@ dekshell/utils/cmd.py,sha256=FfWNRRRdiiTs3xoXvaAyZ-3OzsWFRnd3m5k6sIexrhc,1209
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.2.19.dist-info/RECORD,,
39
+ dekshell-0.2.20.dist-info/RECORD,,