blue-sandbox 5.172.1__py3-none-any.whl → 5.184.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,8 +26,6 @@ function blue_sandbox_palisades_ingest() {
26
26
  [[ $? -ne 0 ]] && return 1
27
27
  fi
28
28
 
29
- local ingest_object_name=$(abcli_clarify_object $4 $query_object_name-ingest-$(abcli_string_timestamp))
30
-
31
29
  local list_of_datacubes=$(blue_geo_catalog_query_read all \
32
30
  $query_object_name \
33
31
  --log 0 \
@@ -38,7 +36,7 @@ function blue_sandbox_palisades_ingest() {
38
36
  --delim +
39
37
 
40
38
  local datacube_id
41
- local do_ingest_datacubes=$(abcli_option_int "$datacube_ingest_options" ingest_datacubes 0)
39
+ local do_ingest_datacubes=$(abcli_option_int "$datacube_ingest_options" ingest_datacubes 1)
42
40
  if [[ "$do_ingest_datacubes" == 1 ]]; then
43
41
  for datacube_id in $(echo $list_of_datacubes | tr + " "); do
44
42
  blue_geo_datacube_ingest \
@@ -46,6 +44,4 @@ function blue_sandbox_palisades_ingest() {
46
44
  $datacube_id
47
45
  done
48
46
  fi
49
-
50
- abcli_log "🪄"
51
47
  }
@@ -8,8 +8,8 @@ function test_blue_sandbox_palisades_ingest_target() {
8
8
  ingest \
9
9
  ~upload \
10
10
  target=Palisades-Maxar \
11
- - \
12
- -
11
+ ~ingest_datacubes
12
+
13
13
  }
14
14
 
15
15
  function test_blue_sandbox_palisades_ingest_query() {
@@ -19,9 +19,8 @@ function test_blue_sandbox_palisades_ingest_query() {
19
19
  blue_sandbox_palisades \
20
20
  ingest \
21
21
  ~upload \
22
- $PALISADES_TEST_QUERY_OBJECT_NAME \
23
- - \
24
- -
22
+ $PALISADES_QUERY_OBJECT_PALISADES_MAXAR \
23
+ ~ingest_datacubes
25
24
  }
26
25
 
27
26
  function test_blue_sandbox_palisades_ingest_target_ingest_datacubes() {
@@ -32,6 +31,5 @@ function test_blue_sandbox_palisades_ingest_target_ingest_datacubes() {
32
31
  ingest \
33
32
  ~upload \
34
33
  target=Palisades-Maxar-test \
35
- ingest_datacubes,scope=rgb \
36
- -
34
+ scope=rgb
37
35
  }
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.172.1"
7
+ VERSION = "5.184.1"
8
8
 
9
9
  REPO_NAME = "blue-sandbox"
10
10
 
blue_sandbox/config.env CHANGED
@@ -4,5 +4,5 @@ SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_debug_v2=sagesemseg-model-2025-01-11-22-0
4
4
 
5
5
  SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_full_v2=sagesemseg-model-2025-01-12-15-52-20-ly-2025-01-12-23-52-20-582
6
6
 
7
- PALISADES_TEST_QUERY_OBJECT_NAME=palisades-Palisades-Maxar-query-2025-01-16-181ejb
8
- PALISADES_TEST_QUERY_OBJECT_NAME_2D=palisades-Palisades-Maxar-test-query-2025-01-16-a2iuxu
7
+ PALISADES_QUERY_OBJECT_PALISADES_MAXAR=palisades-Palisades-Maxar-query-2025-01-16-181ejb
8
+ PALISADES_QUERY_OBJECT_PALISADES_MAXAR_TEST=palisades-Palisades-Maxar-test-query-2025-01-16-a2iuxu
blue_sandbox/env.py CHANGED
@@ -22,12 +22,12 @@ SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_full_v2 = os.getenv(
22
22
  "",
23
23
  )
24
24
 
25
- PALISADES_TEST_QUERY_OBJECT_NAME = os.getenv(
26
- "PALISADES_TEST_QUERY_OBJECT_NAME",
25
+ PALISADES_QUERY_OBJECT_PALISADES_MAXAR = os.getenv(
26
+ "PALISADES_QUERY_OBJECT_PALISADES_MAXAR",
27
27
  "",
28
28
  )
29
29
 
30
- PALISADES_TEST_QUERY_OBJECT_NAME_2D = os.getenv(
31
- "PALISADES_TEST_QUERY_OBJECT_NAME_2D",
30
+ PALISADES_QUERY_OBJECT_PALISADES_MAXAR_TEST = os.getenv(
31
+ "PALISADES_QUERY_OBJECT_PALISADES_MAXAR_TEST",
32
32
  "",
33
33
  )
@@ -3,7 +3,8 @@ from typing import List
3
3
  from blue_options.terminal import show_usage, xtra
4
4
 
5
5
  from blue_geo.watch.targets.target_list import TargetList
6
- from blue_geo.help.datacube import ingest_options, scope_details
6
+ from blue_geo.help.datacube import scope_details
7
+ from blue_geo.help.datacube import ingest_options as datacube_ingest_options
7
8
 
8
9
 
9
10
  target_list = TargetList(catalog="maxar_open_data")
@@ -27,14 +28,20 @@ def help_ingest(
27
28
  ]
28
29
  )
29
30
 
31
+ ingest_options = "".join(
32
+ [
33
+ xtra("~ingest_datacubes | ", mono=mono),
34
+ datacube_ingest_options(mono=mono),
35
+ ]
36
+ )
37
+
30
38
  return show_usage(
31
39
  [
32
40
  "palisades",
33
41
  "ingest",
34
42
  f"[{options}]",
35
43
  f"[{target_options}]",
36
- f"[ingest_datacubes,{ingest_options(mono=mono)}]",
37
- "[-|<ingest-object-name>]",
44
+ f"[{ingest_options}]",
38
45
  ],
39
46
  "ingest <target>.",
40
47
  {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: blue_sandbox
3
- Version: 5.172.1
3
+ Version: 5.184.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)
@@ -64,4 +64,4 @@ pip install blue-sandbox
64
64
 
65
65
  [![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)
66
66
 
67
- built by 🌀 [`blue_options-4.189.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.172.1`](https://github.com/kamangir/blue-sandbox).
67
+ built by 🌀 [`blue_options-4.190.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.184.1`](https://github.com/kamangir/blue-sandbox).
@@ -1,8 +1,8 @@
1
1
  blue_sandbox/README.py,sha256=wy5C7hkd-_RB9HZAmyt75Uevjpxg6Ok7t9SkET3QKHI,2077
2
- blue_sandbox/__init__.py,sha256=O3ZKfPWN-Zn3r_GD5g3RimS1c5h6sde56c7ZrjN89pA,323
2
+ blue_sandbox/__init__.py,sha256=9AtjSN3Dhwx8zspUGt5HFWH7VKKSUfqzgFqhzP6wU6k,323
3
3
  blue_sandbox/__main__.py,sha256=aPRHSpGpk-bDbzhHpfLNsd3y1gGEHpnhoTF-RBweNwc,361
4
- blue_sandbox/config.env,sha256=hJ6hXH8vy5Az-XHQTcl879w9QWNkJJ4dKKgCVNPYYes,482
5
- blue_sandbox/env.py,sha256=NwDIBFyCbcHFd0_1DXpgbCPj7k964p4CzE4jbeeZ1fU,719
4
+ blue_sandbox/config.env,sha256=jTPIS1Tpbkj1b28ynqB1atEtkjQfJ04SJC56bLWGnAs,496
5
+ blue_sandbox/env.py,sha256=gMeUa11uAiiIPPqcXVsELkpxmEbqU0qVoSjwQpH-vw0,747
6
6
  blue_sandbox/functions.py,sha256=U41kQFNPpfYV6KJpMnkqgqLkozqXiG4tgV6rj8IW1BU,7
7
7
  blue_sandbox/host.py,sha256=uJpiM105rnm6ySF16zA7waWekGBdec-dlpoRRU_QqwU,210
8
8
  blue_sandbox/list.py,sha256=yGXV1QyibW4TYdsXQIt4zlErtMvII6X9yJYidsGy7GI,1703
@@ -26,7 +26,7 @@ blue_sandbox/.abcli/microsoft_building_damage_assessment/label.sh,sha256=RROjENj
26
26
  blue_sandbox/.abcli/microsoft_building_damage_assessment/tensorboard.sh,sha256=BHdnOvorV9gjO1ET64tbLOqSGviNFR96S67XHmJz2hs,746
27
27
  blue_sandbox/.abcli/microsoft_building_damage_assessment/train.sh,sha256=XyTTFB2AD7p8XT0x1vvQLwndyscGN23QEDA80wS3cjk,1970
28
28
  blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest/list.sh,sha256=9bEjpbwO7Heqd-E2RTM-ck4Q39Eqsv4ged6e0WmxmSs,452
29
- blue_sandbox/.abcli/palisades/ingest.sh,sha256=6ounVUfyAU4t299U3aN4opuziLSoWFW3yivApqX9pvU,1574
29
+ blue_sandbox/.abcli/palisades/ingest.sh,sha256=_-QiAK89MEMDSb4QFeQxxLt9T3nt0Qka0wliO0UqrS4,1443
30
30
  blue_sandbox/.abcli/sagesemseg/cache_dataset.sh,sha256=oAXW1AGer6tuLBQrdNqz7VyMIQtubMXDeUg4crkQiqM,1335
31
31
  blue_sandbox/.abcli/sagesemseg/consts.sh,sha256=xKVE1hAzVPqz0SkY_0h7Fpgy1OEQOFsf3sQHfLHgnQ4,95
32
32
  blue_sandbox/.abcli/sagesemseg/train.sh,sha256=FtI9ccqivAefOjHADRpHJpbiw8ewrje_q_MBezSN0TM,1598
@@ -37,13 +37,13 @@ blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest.sh,sha256=
37
37
  blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest_list.sh,sha256=5P0H-FHV7YKt1fenXAs_0cSFhJYWZ9u3LzRpfSRSptw,577
38
38
  blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_label.sh,sha256=Envac5i9eGa5usDCO8MYfGFfyAZAT-f0KrrsAkaR91U,311
39
39
  blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_train.sh,sha256=0FlwyR1drn6wAKX9IHU_ma7WTmH1Iv8DoTNsdsyj3PA,533
40
- blue_sandbox/.abcli/tests/palisades_ingest.sh,sha256=iv5vxCRAZPQBDF5yea0fux-5FIIN4FSeqqm5qX9RoSc,768
40
+ blue_sandbox/.abcli/tests/palisades_ingest.sh,sha256=10bxd7U7T3VeFuA6yS5Wl1oZ3dnfahu_b9pkHDlPU8E,754
41
41
  blue_sandbox/.abcli/tests/sagesemseg_train.sh,sha256=GQmZscd2507sy3Kz3LPN_O7Dso_wQB3d6SzNwB7bXeE,863
42
42
  blue_sandbox/.abcli/tests/version.sh,sha256=jF8zoJN1eKE3LfDeRVG9uHEosmEVJX6RtKfdioyeN-o,150
43
43
  blue_sandbox/help/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
44
44
  blue_sandbox/help/__main__.py,sha256=3Cqp5oISrZCOUApmwoQoCj_0sQgtkiEkm_ob3LFKzRE,234
45
45
  blue_sandbox/help/functions.py,sha256=-AOhYAowmqulhAjrr5B6-AwIDuhZoS0I45flDbt_XRA,541
46
- blue_sandbox/help/palisades.py,sha256=bprEU1qQmAYEwD97JgwmPQZs4HrO9abq9CkWg4700gk,1065
46
+ blue_sandbox/help/palisades.py,sha256=hPfVN7603tRe791au8Nz1MYyZcsDBVFQSuPUsobCStA,1216
47
47
  blue_sandbox/microsoft_building_damage_assessment/README.py,sha256=qqe1wXoc4TjKS4o3gskwNCBuX8PTVduQEAaVHeovsrE,1275
48
48
  blue_sandbox/microsoft_building_damage_assessment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  blue_sandbox/microsoft_building_damage_assessment/__main__.py,sha256=RnyXyJdLmzLzccVmb6VZvD17Dwx-g1wByDugIisoPmQ,1995
@@ -51,8 +51,8 @@ blue_sandbox/microsoft_building_damage_assessment/ingest.py,sha256=tBchn4dWPIqAr
51
51
  blue_sandbox/microsoft_building_damage_assessment/label.py,sha256=mpRNOsF8ChxSLwOyvwGmXiD7aO2xfivJPZTC5qwnLaw,823
52
52
  blue_sandbox/microsoft_building_damage_assessment/sas_token.py,sha256=t6oTXc6C52CH3tFbQo2H9YUB_7upAsfUwws43Iu9pHI,214
53
53
  blue_sandbox/microsoft_building_damage_assessment/train.py,sha256=8DUt0S4LuKkRIi9XpASOg5skPaM3D2VaSBg5FEn8qog,2778
54
- blue_sandbox-5.172.1.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
55
- blue_sandbox-5.172.1.dist-info/METADATA,sha256=tl-89W6I5h7CaTwpV4HGzLruRaijwPBsPHu0RTmpUt4,3761
56
- blue_sandbox-5.172.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
57
- blue_sandbox-5.172.1.dist-info/top_level.txt,sha256=4D9Cb9QUCaqdYAmBiCwvtlaYBtUYVVxv0Sxcr_pzgS8,13
58
- blue_sandbox-5.172.1.dist-info/RECORD,,
54
+ blue_sandbox-5.184.1.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
55
+ blue_sandbox-5.184.1.dist-info/METADATA,sha256=dTUqRsf2VkWLiaeLj4ZA3girTUUim3YyLbYFY6b2srQ,3761
56
+ blue_sandbox-5.184.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
57
+ blue_sandbox-5.184.1.dist-info/top_level.txt,sha256=4D9Cb9QUCaqdYAmBiCwvtlaYBtUYVVxv0Sxcr_pzgS8,13
58
+ blue_sandbox-5.184.1.dist-info/RECORD,,