dekshell 0.2.6__tar.gz → 0.2.7__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.
Files changed (38) hide show
  1. {dekshell-0.2.6 → dekshell-0.2.7}/PKG-INFO +1 -1
  2. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/contexts/methods.py +2 -1
  3. {dekshell-0.2.6 → dekshell-0.2.7}/pyproject.toml +1 -1
  4. {dekshell-0.2.6 → dekshell-0.2.7}/README.md +0 -0
  5. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/__init__.py +0 -0
  6. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/click/__entry__.py +0 -0
  7. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/click/__init__.py +0 -0
  8. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/__init__.py +0 -0
  9. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/contexts/__init__.py +0 -0
  10. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/contexts/properties.py +0 -0
  11. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/__init__.py +0 -0
  12. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/base/__init__.py +0 -0
  13. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/base/core.py +0 -0
  14. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/commands.py +0 -0
  15. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/comment.py +0 -0
  16. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/define.py +0 -0
  17. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/echo.py +0 -0
  18. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/empty.py +0 -0
  19. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/env.py +0 -0
  20. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/exec.py +0 -0
  21. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/for_.py +0 -0
  22. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/function.py +0 -0
  23. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/if_.py +0 -0
  24. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/input.py +0 -0
  25. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/invoke.py +0 -0
  26. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/pip_.py +0 -0
  27. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/redirect.py +0 -0
  28. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/shell.py +0 -0
  29. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/var.py +0 -0
  30. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/markers/while_.py +0 -0
  31. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/plugin/__init__.py +0 -0
  32. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/core/redirect.py +0 -0
  33. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/utils/__init__.py +0 -0
  34. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/utils/beep.py +0 -0
  35. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/utils/cmd.py +0 -0
  36. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/utils/pkg.py +0 -0
  37. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/utils/serializer.py +0 -0
  38. {dekshell-0.2.6 → dekshell-0.2.7}/dekshell/utils/shell.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dekshell
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Author-Email: sanzenwin <sanzenwin@gmail.com>
5
5
  License: MIT
6
6
  Requires-Python: >=3.8
@@ -7,7 +7,7 @@ from functools import reduce
7
7
  from itertools import chain
8
8
  from pathlib import Path
9
9
  from dektools.file import sure_dir, write_file, read_text, remove_path, sure_parent_dir, normal_path, \
10
- format_path_desc, read_file, split_ext, path_ext, clear_dir, copy_recurse_ignore, \
10
+ format_path_desc, read_file, split_ext, path_ext, clear_dir, copy_recurse_ignore, path_is_empty,\
11
11
  split_file, combine_split_files, remove_split_files, meta_split_file, tree, iglob, \
12
12
  where, where_list, which, which_list
13
13
  from dektools.hash import hash_file
@@ -156,6 +156,7 @@ default_methods = {
156
156
  **path_common_methods,
157
157
  'tree': _tree,
158
158
  'exists': os.path.exists,
159
+ 'empty': path_is_empty,
159
160
  'parent': _parent_dir,
160
161
  'abs': normal_path,
161
162
  'rel': os.path.relpath,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dekshell"
3
- version = "0.2.6"
3
+ version = "0.2.7"
4
4
  description = ""
5
5
  authors = [
6
6
  { name = "sanzenwin", email = "sanzenwin@gmail.com" },
File without changes
File without changes
File without changes
File without changes