blue-sandbox 5.320.1__tar.gz → 5.322.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.
Files changed (41) hide show
  1. {blue_sandbox-5.320.1/blue_sandbox.egg-info → blue_sandbox-5.322.1}/PKG-INFO +2 -2
  2. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/README.md +1 -1
  3. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/__init__.py +1 -1
  4. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/assets/__main__.py +6 -0
  5. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/assets/functions.py +4 -2
  6. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1/blue_sandbox.egg-info}/PKG-INFO +2 -2
  7. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/LICENSE +0 -0
  8. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/MANIFEST.in +0 -0
  9. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/abcli.sh +0 -0
  10. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/actions.sh +0 -0
  11. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/aka.sh +0 -0
  12. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/alias.sh +0 -0
  13. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/assets/publish.sh +0 -0
  14. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/assets.sh +0 -0
  15. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/blue_sandbox.sh +0 -0
  16. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/browse.sh +0 -0
  17. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/install.sh +0 -0
  18. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/tests/README.sh +0 -0
  19. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/tests/help.sh +0 -0
  20. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/.abcli/tests/version.sh +0 -0
  21. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/README.py +0 -0
  22. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/__main__.py +0 -0
  23. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/assets/__init__.py +0 -0
  24. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/config.env +0 -0
  25. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/env.py +0 -0
  26. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/functions.py +0 -0
  27. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/help/__init__.py +0 -0
  28. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/help/__main__.py +0 -0
  29. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/help/functions.py +0 -0
  30. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/host.py +0 -0
  31. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/logger.py +0 -0
  32. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/sample.env +0 -0
  33. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox/urls.py +0 -0
  34. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox.egg-info/SOURCES.txt +0 -0
  35. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox.egg-info/dependency_links.txt +0 -0
  36. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox.egg-info/requires.txt +0 -0
  37. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/blue_sandbox.egg-info/top_level.txt +0 -0
  38. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/pyproject.toml +0 -0
  39. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/requirements.txt +0 -0
  40. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/setup.cfg +0 -0
  41. {blue_sandbox-5.320.1 → blue_sandbox-5.322.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: blue_sandbox
3
- Version: 5.320.1
3
+ Version: 5.322.1
4
4
  Summary: 🌀 A sandbox for ideas and experiments.
5
5
  Home-page: https://github.com/kamangir/blue-sandbox
6
6
  Author: Arash Abadpour (Kamangir)
@@ -56,4 +56,4 @@ pip install blue-sandbox
56
56
 
57
57
  [![pylint](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/blue-sandbox.svg)](https://pypi.org/project/blue-sandbox/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/blue-sandbox)](https://pypistats.org/packages/blue-sandbox)
58
58
 
59
- built by 🌀 [`blue_options-4.215.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.320.1`](https://github.com/kamangir/blue-sandbox).
59
+ built by 🌀 [`blue_options-4.223.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.322.1`](https://github.com/kamangir/blue-sandbox).
@@ -12,4 +12,4 @@ pip install blue-sandbox
12
12
 
13
13
  [![pylint](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/blue-sandbox.svg)](https://pypi.org/project/blue-sandbox/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/blue-sandbox)](https://pypistats.org/packages/blue-sandbox)
14
14
 
15
- built by 🌀 [`blue_options-4.215.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.320.1`](https://github.com/kamangir/blue-sandbox).
15
+ built by 🌀 [`blue_options-4.223.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.322.1`](https://github.com/kamangir/blue-sandbox).
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} A sandbox for ideas and experiments."
6
6
 
7
- VERSION = "5.320.1"
7
+ VERSION = "5.322.1"
8
8
 
9
9
  REPO_NAME = "blue-sandbox"
10
10
 
@@ -31,6 +31,11 @@ parser.add_argument(
31
31
  default="png+geojson",
32
32
  help="png+geojson",
33
33
  )
34
+ parser.add_argument(
35
+ "--prefix",
36
+ type=str,
37
+ default="",
38
+ )
34
39
  args = parser.parse_args()
35
40
 
36
41
  success = False
@@ -38,6 +43,7 @@ if args.task == "publish":
38
43
  success = publish(
39
44
  object_name=args.object_name,
40
45
  list_of_extensions=args.extensions.split("+"),
46
+ prefix=args.prefix,
41
47
  )
42
48
  else:
43
49
  success = None
@@ -19,12 +19,14 @@ NAME = module.name(__file__, NAME)
19
19
  def publish(
20
20
  object_name: str,
21
21
  list_of_extensions: List[str],
22
+ prefix: str = "",
22
23
  log: bool = True,
23
24
  ) -> bool:
24
25
  logger.info(
25
- "{}.publish {} / {}".format(
26
+ "{}.publish: {}/{}.* for {}".format(
26
27
  NAME,
27
28
  object_name,
29
+ prefix,
28
30
  ", ".join(list_of_extensions),
29
31
  )
30
32
  )
@@ -32,7 +34,7 @@ def publish(
32
34
  for extension in tqdm(list_of_extensions):
33
35
  for filename in glob.glob(
34
36
  objects.path_of(
35
- filename=f"*.{extension}",
37
+ filename=f"{prefix}*.{extension}",
36
38
  object_name=object_name,
37
39
  )
38
40
  ):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: blue_sandbox
3
- Version: 5.320.1
3
+ Version: 5.322.1
4
4
  Summary: 🌀 A sandbox for ideas and experiments.
5
5
  Home-page: https://github.com/kamangir/blue-sandbox
6
6
  Author: Arash Abadpour (Kamangir)
@@ -56,4 +56,4 @@ pip install blue-sandbox
56
56
 
57
57
  [![pylint](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/blue-sandbox.svg)](https://pypi.org/project/blue-sandbox/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/blue-sandbox)](https://pypistats.org/packages/blue-sandbox)
58
58
 
59
- built by 🌀 [`blue_options-4.215.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.320.1`](https://github.com/kamangir/blue-sandbox).
59
+ built by 🌀 [`blue_options-4.223.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.322.1`](https://github.com/kamangir/blue-sandbox).
File without changes
File without changes
File without changes