blue-sandbox 5.320.1__py3-none-any.whl → 5.327.1__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.
@@ -1,9 +1,3 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
- alias @damages=blue_sandbox_microsoft_building_damage_assessment
4
-
5
- alias sagesemseg=blue_sandbox_sagesemseg
6
-
7
3
  alias @sandbox=blue_sandbox
8
-
9
- alias gpt=openai_commands_gpt
blue_sandbox/__init__.py CHANGED
@@ -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.327.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.327.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.327.1`](https://github.com/kamangir/blue-sandbox).
@@ -1,5 +1,5 @@
1
1
  blue_sandbox/README.py,sha256=0-5yDVr9YjmE-PfwJUiwzm2vU_t6CPMg81lK-08Ti_8,298
2
- blue_sandbox/__init__.py,sha256=S87nD46n4cC9z1bgE7Flp7NnvYBlRt5kPt9qhJnp4rc,323
2
+ blue_sandbox/__init__.py,sha256=m_Oh7-P_hxn2zVI2b1FRz_Qqnv8QFcKqrEHjsqZNaA0,323
3
3
  blue_sandbox/__main__.py,sha256=aPRHSpGpk-bDbzhHpfLNsd3y1gGEHpnhoTF-RBweNwc,361
4
4
  blue_sandbox/config.env,sha256=TMUch2y2XZcLEonfpb-VXFFCuFdyD_6TTgtOrBAqqs0,329
5
5
  blue_sandbox/env.py,sha256=jXFVGqvLPXeapU6ziawXYfvtsT4ervHnUq2MhPtLsuU,626
@@ -11,7 +11,7 @@ blue_sandbox/urls.py,sha256=tIZ36ONJEoUBM-tFhOpkVhLwb1OgLegUeEaBDqW4USM,24
11
11
  blue_sandbox/.abcli/abcli.sh,sha256=xsJ4IzuQsvLZog6U8VTBFVXsEi6ADe13L8rn47XtlbU,196
12
12
  blue_sandbox/.abcli/actions.sh,sha256=vImEUI105GRcxs2mAKGMqcvoErtmOPZZ-7dfSmUUxvE,230
13
13
  blue_sandbox/.abcli/aka.sh,sha256=RHDU_JbEEL2B0vvvRJ3NVSsRSEjSu09jNY85n7DLe-k,21
14
- blue_sandbox/.abcli/alias.sh,sha256=iO0wZPVClb6I_zRUJijXwtpVqJFIJSJ6E-sKlDEUsdE,189
14
+ blue_sandbox/.abcli/alias.sh,sha256=R1dhdw3KalMeD4hZ7nGbqDsecsSoQYa6InnQD0CCj2E,50
15
15
  blue_sandbox/.abcli/assets.sh,sha256=wSpbb2MWqBUcLBqSyOgtXUSZ9iertL3je8W_rXIwDO4,336
16
16
  blue_sandbox/.abcli/blue_sandbox.sh,sha256=PGRJOgNGlC3XL5cw4ecZH40LDuc_6NVazTKhCWtZ-3g,233
17
17
  blue_sandbox/.abcli/browse.sh,sha256=f8qa4qDVts2Am6_ldDwNeJXzhBQTk9PUKl0-a9wW1ww,287
@@ -21,13 +21,13 @@ blue_sandbox/.abcli/tests/README.sh,sha256=rmJM-BPnTcmpPbJ5GXsF8vd_a84JKryeKkZyV
21
21
  blue_sandbox/.abcli/tests/help.sh,sha256=Di6Bp4oL3le3qJ0EkL-jeBDU50GWwrcoHgEAZiT6is0,315
22
22
  blue_sandbox/.abcli/tests/version.sh,sha256=jF8zoJN1eKE3LfDeRVG9uHEosmEVJX6RtKfdioyeN-o,150
23
23
  blue_sandbox/assets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- blue_sandbox/assets/__main__.py,sha256=ktEHcucFJHH9-Ap_ZPiospA9a91vHP5TnTrHE9n40LU,867
25
- blue_sandbox/assets/functions.py,sha256=Vr5U2jWusN9hBUL379so0y7nuZ-SQnvSn32Iz85kqM8,1716
24
+ blue_sandbox/assets/__main__.py,sha256=jYzzDEIEkhOZey_0WaD5Z_hGRWnyl7eXxOoLX97Hz7Y,964
25
+ blue_sandbox/assets/functions.py,sha256=2qMOPAL_49WfdP-NZ-g7dYsfempMOIOL8gDvKQkTVt4,1774
26
26
  blue_sandbox/help/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
27
27
  blue_sandbox/help/__main__.py,sha256=3Cqp5oISrZCOUApmwoQoCj_0sQgtkiEkm_ob3LFKzRE,234
28
28
  blue_sandbox/help/functions.py,sha256=6pqjFj4iQYWuRyhmEKe-ErPCZW963n-Q1AdfNbfeQos,165
29
- blue_sandbox-5.320.1.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
30
- blue_sandbox-5.320.1.dist-info/METADATA,sha256=vgB_tCPRPCmoMxPDVN2OiV8FWa3zXE0ui1-OGpIKAdU,2162
31
- blue_sandbox-5.320.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
32
- blue_sandbox-5.320.1.dist-info/top_level.txt,sha256=4D9Cb9QUCaqdYAmBiCwvtlaYBtUYVVxv0Sxcr_pzgS8,13
33
- blue_sandbox-5.320.1.dist-info/RECORD,,
29
+ blue_sandbox-5.327.1.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
30
+ blue_sandbox-5.327.1.dist-info/METADATA,sha256=A_rHOuEnsWExO6w4ik1_OVBjxtnI_kg8yCa0ZYvdM7s,2162
31
+ blue_sandbox-5.327.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
32
+ blue_sandbox-5.327.1.dist-info/top_level.txt,sha256=4D9Cb9QUCaqdYAmBiCwvtlaYBtUYVVxv0Sxcr_pzgS8,13
33
+ blue_sandbox-5.327.1.dist-info/RECORD,,