blue-sandbox 5.143.1__tar.gz → 5.172.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. {blue_sandbox-5.143.1/blue_sandbox.egg-info → blue_sandbox-5.172.1}/PKG-INFO +4 -3
  2. blue_sandbox-5.172.1/README.md +19 -0
  3. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/alias.sh +2 -0
  4. blue_sandbox-5.172.1/blue_sandbox/.abcli/palisades/ingest.sh +51 -0
  5. blue_sandbox-5.172.1/blue_sandbox/.abcli/palisades.sh +15 -0
  6. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/help.sh +3 -0
  7. blue_sandbox-5.172.1/blue_sandbox/.abcli/tests/palisades_ingest.sh +37 -0
  8. blue_sandbox-5.172.1/blue_sandbox/README.py +69 -0
  9. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/__init__.py +1 -1
  10. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/config.env +4 -1
  11. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/env.py +10 -0
  12. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/help/functions.py +2 -0
  13. blue_sandbox-5.172.1/blue_sandbox/help/palisades.py +50 -0
  14. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/list.py +7 -0
  15. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1/blue_sandbox.egg-info}/PKG-INFO +4 -3
  16. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox.egg-info/SOURCES.txt +4 -0
  17. blue_sandbox-5.143.1/README.md +0 -18
  18. blue_sandbox-5.143.1/blue_sandbox/README.py +0 -63
  19. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/LICENSE +0 -0
  20. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/MANIFEST.in +0 -0
  21. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/abcli.sh +0 -0
  22. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/actions.sh +0 -0
  23. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/aka.sh +0 -0
  24. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/blue_sandbox.sh +0 -0
  25. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/browse.sh +0 -0
  26. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/cemetery/inference/cloudwatch.sh +0 -0
  27. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/cemetery/inference/inference.sh +0 -0
  28. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/install.sh +0 -0
  29. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest/list.sh +0 -0
  30. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest.sh +0 -0
  31. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/microsoft_building_damage_assessment/install.sh +0 -0
  32. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/microsoft_building_damage_assessment/label.sh +0 -0
  33. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/microsoft_building_damage_assessment/tensorboard.sh +0 -0
  34. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/microsoft_building_damage_assessment/train.sh +0 -0
  35. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/microsoft_building_damage_assessment.sh +0 -0
  36. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/sagesemseg/cache_dataset.sh +0 -0
  37. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/sagesemseg/consts.sh +0 -0
  38. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/sagesemseg/train.sh +0 -0
  39. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/sagesemseg/upload_dataset.sh +0 -0
  40. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/README.sh +0 -0
  41. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest.sh +0 -0
  42. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest_list.sh +0 -0
  43. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_label.sh +0 -0
  44. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_train.sh +0 -0
  45. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/sagesemseg_train.sh +0 -0
  46. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/.abcli/tests/version.sh +0 -0
  47. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/__main__.py +0 -0
  48. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/functions.py +0 -0
  49. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/help/__init__.py +0 -0
  50. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/help/__main__.py +0 -0
  51. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/host.py +0 -0
  52. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/logger.py +0 -0
  53. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/microsoft_building_damage_assessment/README.py +0 -0
  54. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/microsoft_building_damage_assessment/__init__.py +0 -0
  55. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/microsoft_building_damage_assessment/__main__.py +0 -0
  56. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/microsoft_building_damage_assessment/ingest.py +0 -0
  57. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/microsoft_building_damage_assessment/label.py +0 -0
  58. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/microsoft_building_damage_assessment/sas_token.py +0 -0
  59. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/microsoft_building_damage_assessment/train.py +0 -0
  60. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/sample.env +0 -0
  61. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox/urls.py +0 -0
  62. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox.egg-info/dependency_links.txt +0 -0
  63. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox.egg-info/requires.txt +0 -0
  64. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/blue_sandbox.egg-info/top_level.txt +0 -0
  65. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/pyproject.toml +0 -0
  66. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/requirements.txt +0 -0
  67. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/setup.cfg +0 -0
  68. {blue_sandbox-5.143.1 → blue_sandbox-5.172.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: blue_sandbox
3
- Version: 5.143.1
3
+ Version: 5.172.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,11 +56,12 @@ pip install blue-sandbox
56
56
 
57
57
  | | | |
58
58
  | --- | --- | --- |
59
- | 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) ⏸️ [![image](https://github.com/kamangir/assets/blob/main/blue-sandbox/sagesemseg-predict.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker. | 🌐[``@damages``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) ⏸️ [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJqhm.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow | 🪦[`cemetery`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) 🪦 [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) An AI cemetery. |
59
+ | 🧑🏽‍🚒[`palisades`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/palisades/README.md) 🔥 [![image](https://github.com/kamangir/assets/raw/main/blue-geo/Maxar-Open-Datacube.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/palisades/README.md) Post-disaster Land Cover Classification. | 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) ⏸️ [![image](https://github.com/kamangir/assets/blob/main/blue-sandbox/sagesemseg-predict.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker. | 🌐[``@damages``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) ⏸️ [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJqhm.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow |
60
+ | 🪦[`cemetery`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) 🪦 [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) An AI cemetery. | | |
60
61
 
61
62
  ---
62
63
 
63
64
 
64
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)
65
66
 
66
- built by 🌀 [`blue_options-4.185.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.143.1`](https://github.com/kamangir/blue-sandbox).
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).
@@ -0,0 +1,19 @@
1
+ # 🌀 blue-sandbox
2
+
3
+ 🌀 A sandbox for ideas and experiments.
4
+
5
+ ```bash
6
+ pip install blue-sandbox
7
+ ```
8
+
9
+ | | | |
10
+ | --- | --- | --- |
11
+ | 🧑🏽‍🚒[`palisades`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/palisades/README.md) 🔥 [![image](https://github.com/kamangir/assets/raw/main/blue-geo/Maxar-Open-Datacube.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/palisades/README.md) Post-disaster Land Cover Classification. | 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) ⏸️ [![image](https://github.com/kamangir/assets/blob/main/blue-sandbox/sagesemseg-predict.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker. | 🌐[``@damages``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) ⏸️ [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJqhm.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow |
12
+ | 🪦[`cemetery`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) 🪦 [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) An AI cemetery. | | |
13
+
14
+ ---
15
+
16
+
17
+ [![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)
18
+
19
+ 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).
@@ -2,6 +2,8 @@
2
2
 
3
3
  alias @damages=blue_sandbox_microsoft_building_damage_assessment
4
4
 
5
+ alias palisades=blue_sandbox_palisades
6
+
5
7
  alias sagesemseg=blue_sandbox_sagesemseg
6
8
 
7
9
  alias @sandbox=blue_sandbox
@@ -0,0 +1,51 @@
1
+ #! /usr/bin/env bash
2
+
3
+ function blue_sandbox_palisades_ingest() {
4
+ local options=$1
5
+ local target_options=$2
6
+ local datacube_ingest_options=$3
7
+
8
+ blue_geo_watch_targets_download
9
+
10
+ local do_dryrun=$(abcli_option_int "$options" dryrun 0)
11
+ local do_download=$(abcli_option_int "$options" download $(abcli_not $do_dryrun))
12
+ local do_upload=$(abcli_option_int "$options" upload 0)
13
+
14
+ local target=$(abcli_option "$target_options" target)
15
+ local query_object_name
16
+ if [[ -z "$target" ]]; then
17
+ query_object_name=$target_options
18
+
19
+ abcli_download - $query_object_name
20
+ else
21
+ query_object_name=palisades-$target-query-$(abcli_string_timestamp_short)
22
+
23
+ blue_geo_watch_query \
24
+ $target_options \
25
+ $query_object_name
26
+ [[ $? -ne 0 ]] && return 1
27
+ fi
28
+
29
+ local ingest_object_name=$(abcli_clarify_object $4 $query_object_name-ingest-$(abcli_string_timestamp))
30
+
31
+ local list_of_datacubes=$(blue_geo_catalog_query_read all \
32
+ $query_object_name \
33
+ --log 0 \
34
+ --delim +)
35
+ @log_list "$list_of_datacubes" \
36
+ --before ingesting \
37
+ --after "datacube(s)" \
38
+ --delim +
39
+
40
+ local datacube_id
41
+ local do_ingest_datacubes=$(abcli_option_int "$datacube_ingest_options" ingest_datacubes 0)
42
+ if [[ "$do_ingest_datacubes" == 1 ]]; then
43
+ for datacube_id in $(echo $list_of_datacubes | tr + " "); do
44
+ blue_geo_datacube_ingest \
45
+ ,$datacube_ingest_options \
46
+ $datacube_id
47
+ done
48
+ fi
49
+
50
+ abcli_log "🪄"
51
+ }
@@ -0,0 +1,15 @@
1
+ #! /usr/bin/env bash
2
+
3
+ function blue_sandbox_palisades() {
4
+ local task=$(abcli_unpack_keyword $1 help)
5
+
6
+ local function_name=blue_sandbox_palisades_$task
7
+ if [[ $(type -t $function_name) == "function" ]]; then
8
+ $function_name "${@:2}"
9
+ return
10
+ fi
11
+
12
+ python3 -m blue_sandbox.palisades "$@"
13
+ }
14
+
15
+ abcli_source_caller_suffix_path /palisades
@@ -15,6 +15,9 @@ function test_blue_sandbox_help() {
15
15
  "@damages tensorboard" \
16
16
  "@damages train" \
17
17
  \
18
+ "palisades" \
19
+ "palisades ingest" \
20
+ \
18
21
  "blue_sandbox"; do
19
22
  abcli_eval ,$options \
20
23
  abcli_help $module
@@ -0,0 +1,37 @@
1
+ #! /usr/bin/env bash
2
+
3
+ function test_blue_sandbox_palisades_ingest_target() {
4
+ local options=$1
5
+
6
+ abcli_eval ,$options \
7
+ blue_sandbox_palisades \
8
+ ingest \
9
+ ~upload \
10
+ target=Palisades-Maxar \
11
+ - \
12
+ -
13
+ }
14
+
15
+ function test_blue_sandbox_palisades_ingest_query() {
16
+ local options=$1
17
+
18
+ abcli_eval ,$options \
19
+ blue_sandbox_palisades \
20
+ ingest \
21
+ ~upload \
22
+ $PALISADES_TEST_QUERY_OBJECT_NAME \
23
+ - \
24
+ -
25
+ }
26
+
27
+ function test_blue_sandbox_palisades_ingest_target_ingest_datacubes() {
28
+ local options=$1
29
+
30
+ abcli_eval ,$options \
31
+ blue_sandbox_palisades \
32
+ ingest \
33
+ ~upload \
34
+ target=Palisades-Maxar-test \
35
+ ingest_datacubes,scope=rgb \
36
+ -
37
+ }
@@ -0,0 +1,69 @@
1
+ import os
2
+
3
+ from blue_objects import file, README
4
+ from blue_options.help.functions import get_help
5
+
6
+ from blue_sandbox import NAME, VERSION, ICON, REPO_NAME
7
+ from blue_sandbox.microsoft_building_damage_assessment import (
8
+ README as microsoft_building_damage_assessment_README,
9
+ )
10
+ from blue_sandbox.help.palisades import help_functions as help_palisades
11
+ from blue_sandbox.list import list_of_experiments
12
+
13
+ items = [
14
+ "{}[`{}`]({}) {} [![image]({})]({}) {}".format(
15
+ experiment["ICON"],
16
+ experiment_name,
17
+ experiment["url"],
18
+ experiment["status"],
19
+ experiment["marquee"],
20
+ experiment["url"],
21
+ experiment["title"],
22
+ )
23
+ for experiment_name, experiment in list_of_experiments.items()
24
+ if experiment_name != "template"
25
+ ]
26
+
27
+
28
+ def build():
29
+ return all(
30
+ README.build(
31
+ items=thing.get("items", []),
32
+ cols=thing.get("cols", 3),
33
+ path=os.path.join(file.path(__file__), thing["path"]),
34
+ help_function=thing.get("help_function", None),
35
+ ICON=ICON,
36
+ NAME=NAME,
37
+ VERSION=VERSION,
38
+ REPO_NAME=REPO_NAME,
39
+ )
40
+ for thing in (
41
+ [
42
+ {
43
+ "items": items,
44
+ "path": "..",
45
+ },
46
+ {
47
+ "items": microsoft_building_damage_assessment_README.items,
48
+ "cols": len(
49
+ microsoft_building_damage_assessment_README.list_of_steps
50
+ ),
51
+ "path": "microsoft_building_damage_assessment",
52
+ },
53
+ {
54
+ "path": "cemetery",
55
+ },
56
+ {
57
+ "path": "palisades",
58
+ "help_function": lambda tokens: get_help(
59
+ tokens,
60
+ help_palisades,
61
+ mono=True,
62
+ ),
63
+ },
64
+ {
65
+ "path": "sagesemseg",
66
+ },
67
+ ]
68
+ )
69
+ )
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} A sandbox for ideas and experiments."
6
6
 
7
- VERSION = "5.143.1"
7
+ VERSION = "5.172.1"
8
8
 
9
9
  REPO_NAME = "blue-sandbox"
10
10
 
@@ -2,4 +2,7 @@ DAMAGES_TEST_DATASET_OBJECT_NAME=Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJq
2
2
 
3
3
  SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_debug_v2=sagesemseg-model-2025-01-11-22-00-08-bW-2025-01-12-06-00-08-928
4
4
 
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
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
+
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
@@ -21,3 +21,13 @@ SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_full_v2 = os.getenv(
21
21
  "SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_full_v2",
22
22
  "",
23
23
  )
24
+
25
+ PALISADES_TEST_QUERY_OBJECT_NAME = os.getenv(
26
+ "PALISADES_TEST_QUERY_OBJECT_NAME",
27
+ "",
28
+ )
29
+
30
+ PALISADES_TEST_QUERY_OBJECT_NAME_2D = os.getenv(
31
+ "PALISADES_TEST_QUERY_OBJECT_NAME_2D",
32
+ "",
33
+ )
@@ -5,6 +5,7 @@ from blue_sandbox import ALIAS
5
5
  from blue_sandbox.help.microsoft_building_damage_assessment import (
6
6
  help_functions as help_microsoft_building_damage_assessment,
7
7
  )
8
+ from blue_sandbox.help.palisades import help_functions as help_palisades
8
9
 
9
10
 
10
11
  help_functions = generic_help_functions(plugin_name=ALIAS)
@@ -12,5 +13,6 @@ help_functions = generic_help_functions(plugin_name=ALIAS)
12
13
  help_functions.update(
13
14
  {
14
15
  "microsoft_building_damage_assessment": help_microsoft_building_damage_assessment,
16
+ "palisades": help_palisades,
15
17
  }
16
18
  )
@@ -0,0 +1,50 @@
1
+ from typing import List
2
+
3
+ from blue_options.terminal import show_usage, xtra
4
+
5
+ from blue_geo.watch.targets.target_list import TargetList
6
+ from blue_geo.help.datacube import ingest_options, scope_details
7
+
8
+
9
+ target_list = TargetList(catalog="maxar_open_data")
10
+
11
+
12
+ def help_ingest(
13
+ tokens: List[str],
14
+ mono: bool,
15
+ ) -> str:
16
+ options = "".join(
17
+ [
18
+ xtra("~download,dryrun,", mono=mono),
19
+ "upload",
20
+ ]
21
+ )
22
+
23
+ target_options = "".join(
24
+ [
25
+ "target=<target>",
26
+ xtra(" | <query-object-name>", mono),
27
+ ]
28
+ )
29
+
30
+ return show_usage(
31
+ [
32
+ "palisades",
33
+ "ingest",
34
+ f"[{options}]",
35
+ f"[{target_options}]",
36
+ f"[ingest_datacubes,{ingest_options(mono=mono)}]",
37
+ "[-|<ingest-object-name>]",
38
+ ],
39
+ "ingest <target>.",
40
+ {
41
+ "target: {}".format(" | ".join(target_list.get_list())): [],
42
+ **scope_details,
43
+ },
44
+ mono=mono,
45
+ )
46
+
47
+
48
+ help_functions = {
49
+ "ingest": help_ingest,
50
+ }
@@ -1,4 +1,11 @@
1
1
  list_of_experiments = {
2
+ "palisades": {
3
+ "ICON": "🧑🏽‍🚒",
4
+ "title": "Post-disaster Land Cover Classification.",
5
+ "url": "https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/palisades/README.md",
6
+ "marquee": "https://github.com/kamangir/assets/raw/main/blue-geo/Maxar-Open-Datacube.png?raw=true",
7
+ "status": "🔥",
8
+ },
2
9
  "sagesemseg": {
3
10
  "ICON": "🌀",
4
11
  "title": "A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker.",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: blue_sandbox
3
- Version: 5.143.1
3
+ Version: 5.172.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,11 +56,12 @@ pip install blue-sandbox
56
56
 
57
57
  | | | |
58
58
  | --- | --- | --- |
59
- | 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) ⏸️ [![image](https://github.com/kamangir/assets/blob/main/blue-sandbox/sagesemseg-predict.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker. | 🌐[``@damages``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) ⏸️ [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJqhm.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow | 🪦[`cemetery`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) 🪦 [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) An AI cemetery. |
59
+ | 🧑🏽‍🚒[`palisades`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/palisades/README.md) 🔥 [![image](https://github.com/kamangir/assets/raw/main/blue-geo/Maxar-Open-Datacube.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/palisades/README.md) Post-disaster Land Cover Classification. | 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) ⏸️ [![image](https://github.com/kamangir/assets/blob/main/blue-sandbox/sagesemseg-predict.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker. | 🌐[``@damages``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) ⏸️ [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJqhm.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow |
60
+ | 🪦[`cemetery`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) 🪦 [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) An AI cemetery. | | |
60
61
 
61
62
  ---
62
63
 
63
64
 
64
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)
65
66
 
66
- built by 🌀 [`blue_options-4.185.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.143.1`](https://github.com/kamangir/blue-sandbox).
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).
@@ -28,6 +28,7 @@ blue_sandbox/.abcli/blue_sandbox.sh
28
28
  blue_sandbox/.abcli/browse.sh
29
29
  blue_sandbox/.abcli/install.sh
30
30
  blue_sandbox/.abcli/microsoft_building_damage_assessment.sh
31
+ blue_sandbox/.abcli/palisades.sh
31
32
  blue_sandbox/.abcli/cemetery/inference/cloudwatch.sh
32
33
  blue_sandbox/.abcli/cemetery/inference/inference.sh
33
34
  blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest.sh
@@ -36,6 +37,7 @@ blue_sandbox/.abcli/microsoft_building_damage_assessment/label.sh
36
37
  blue_sandbox/.abcli/microsoft_building_damage_assessment/tensorboard.sh
37
38
  blue_sandbox/.abcli/microsoft_building_damage_assessment/train.sh
38
39
  blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest/list.sh
40
+ blue_sandbox/.abcli/palisades/ingest.sh
39
41
  blue_sandbox/.abcli/sagesemseg/cache_dataset.sh
40
42
  blue_sandbox/.abcli/sagesemseg/consts.sh
41
43
  blue_sandbox/.abcli/sagesemseg/train.sh
@@ -46,11 +48,13 @@ blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest.sh
46
48
  blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest_list.sh
47
49
  blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_label.sh
48
50
  blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_train.sh
51
+ blue_sandbox/.abcli/tests/palisades_ingest.sh
49
52
  blue_sandbox/.abcli/tests/sagesemseg_train.sh
50
53
  blue_sandbox/.abcli/tests/version.sh
51
54
  blue_sandbox/help/__init__.py
52
55
  blue_sandbox/help/__main__.py
53
56
  blue_sandbox/help/functions.py
57
+ blue_sandbox/help/palisades.py
54
58
  blue_sandbox/microsoft_building_damage_assessment/README.py
55
59
  blue_sandbox/microsoft_building_damage_assessment/__init__.py
56
60
  blue_sandbox/microsoft_building_damage_assessment/__main__.py
@@ -1,18 +0,0 @@
1
- # 🌀 blue-sandbox
2
-
3
- 🌀 A sandbox for ideas and experiments.
4
-
5
- ```bash
6
- pip install blue-sandbox
7
- ```
8
-
9
- | | | |
10
- | --- | --- | --- |
11
- | 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) ⏸️ [![image](https://github.com/kamangir/assets/blob/main/blue-sandbox/sagesemseg-predict.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker. | 🌐[``@damages``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) ⏸️ [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJqhm.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow | 🪦[`cemetery`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) 🪦 [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/cemetery/README.md) An AI cemetery. |
12
-
13
- ---
14
-
15
-
16
- [![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)
17
-
18
- built by 🌀 [`blue_options-4.185.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.143.1`](https://github.com/kamangir/blue-sandbox).
@@ -1,63 +0,0 @@
1
- import os
2
-
3
- from blue_objects import file, README
4
-
5
- from blue_sandbox import NAME, VERSION, ICON, REPO_NAME
6
- from blue_sandbox.microsoft_building_damage_assessment import (
7
- README as microsoft_building_damage_assessment_README,
8
- )
9
- from blue_sandbox.list import list_of_experiments
10
-
11
- items = [
12
- "{}[`{}`]({}) {} [![image]({})]({}) {}".format(
13
- experiment["ICON"],
14
- experiment_name,
15
- experiment["url"],
16
- experiment["status"],
17
- experiment["marquee"],
18
- experiment["url"],
19
- experiment["title"],
20
- )
21
- for experiment_name, experiment in list_of_experiments.items()
22
- if experiment_name != "template"
23
- ]
24
-
25
-
26
- def build():
27
- return all(
28
- [
29
- README.build(
30
- items=items,
31
- path=os.path.join(file.path(__file__), ".."),
32
- ICON=ICON,
33
- NAME=NAME,
34
- VERSION=VERSION,
35
- REPO_NAME=REPO_NAME,
36
- ),
37
- README.build(
38
- path=os.path.join(file.path(__file__), "cemetery"),
39
- ICON=ICON,
40
- NAME=NAME,
41
- VERSION=VERSION,
42
- REPO_NAME=REPO_NAME,
43
- ),
44
- README.build(
45
- items=microsoft_building_damage_assessment_README.items,
46
- cols=len(microsoft_building_damage_assessment_README.list_of_steps),
47
- path=os.path.join(
48
- file.path(__file__), "microsoft_building_damage_assessment"
49
- ),
50
- ICON=ICON,
51
- NAME=NAME,
52
- VERSION=VERSION,
53
- REPO_NAME=REPO_NAME,
54
- ),
55
- README.build(
56
- path=os.path.join(file.path(__file__), "sagesemseg"),
57
- ICON=ICON,
58
- NAME=NAME,
59
- VERSION=VERSION,
60
- REPO_NAME=REPO_NAME,
61
- ),
62
- ]
63
- )
File without changes
File without changes
File without changes