blue-sandbox 5.27.1__tar.gz → 5.47.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {blue_sandbox-5.27.1/blue_sandbox.egg-info → blue_sandbox-5.47.1}/PKG-INFO +2 -2
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/README.md +1 -1
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/install.sh +5 -0
- blue_sandbox-5.47.1/blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest/list.sh +21 -0
- blue_sandbox-5.47.1/blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest.sh +78 -0
- blue_sandbox-5.47.1/blue_sandbox/.abcli/microsoft_building_damage_assessment.sh +15 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/tests/help.sh +1 -0
- blue_sandbox-5.47.1/blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest.sh +13 -0
- blue_sandbox-5.47.1/blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest_list.sh +19 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/README.py +5 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/__init__.py +1 -1
- blue_sandbox-5.47.1/blue_sandbox/microsoft_building_damage_assessment/README.py +34 -0
- blue_sandbox-5.47.1/blue_sandbox/microsoft_building_damage_assessment/__main__.py +47 -0
- blue_sandbox-5.47.1/blue_sandbox/microsoft_building_damage_assessment/ingest.py +19 -0
- blue_sandbox-5.47.1/blue_sandbox/sample.env +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1/blue_sandbox.egg-info}/PKG-INFO +2 -2
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox.egg-info/SOURCES.txt +9 -1
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/setup.py +1 -0
- blue_sandbox-5.27.1/blue_sandbox/help/microsoft_building_damage_assessment.py +0 -31
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/LICENSE +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/MANIFEST.in +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/abcli.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/actions.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/aka.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/alias.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/blue_sandbox.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/browse.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/tests/README.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/.abcli/tests/version.sh +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/__main__.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/config.env +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/env.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/functions.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/help/__init__.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/help/__main__.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/help/functions.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/host.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/logger.py +0 -0
- /blue_sandbox-5.27.1/blue_sandbox/sample.env → /blue_sandbox-5.47.1/blue_sandbox/microsoft_building_damage_assessment/__init__.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox/urls.py +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox.egg-info/dependency_links.txt +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox.egg-info/requires.txt +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/blue_sandbox.egg-info/top_level.txt +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/pyproject.toml +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/requirements.txt +0 -0
- {blue_sandbox-5.27.1 → blue_sandbox-5.47.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: blue_sandbox
|
3
|
-
Version: 5.
|
3
|
+
Version: 5.47.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)
|
@@ -54,4 +54,4 @@ pip install blue-sandbox
|
|
54
54
|
|
55
55
|
[![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)
|
56
56
|
|
57
|
-
built by 🌀 [`blue_options-4.177.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.
|
57
|
+
built by 🌀 [`blue_options-4.177.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.47.1`](https://github.com/kamangir/blue-sandbox).
|
@@ -15,4 +15,4 @@ pip install blue-sandbox
|
|
15
15
|
|
16
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
17
|
|
18
|
-
built by 🌀 [`blue_options-4.177.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.
|
18
|
+
built by 🌀 [`blue_options-4.177.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.47.1`](https://github.com/kamangir/blue-sandbox).
|
@@ -0,0 +1,21 @@
|
|
1
|
+
#! /usr/bin/env bash
|
2
|
+
|
3
|
+
function blue_sandbox_microsoft_building_damage_assessment_ingest_list() {
|
4
|
+
local options=$1
|
5
|
+
local event_name=$(abcli_option "$options" event all)
|
6
|
+
|
7
|
+
local suffix=$2
|
8
|
+
|
9
|
+
local url="s3://maxar-opendata/events/"
|
10
|
+
|
11
|
+
[[ "$event_name" != all ]] &&
|
12
|
+
url="$url$event_name/ard/"
|
13
|
+
|
14
|
+
[[ ! -z "$suffix" ]] &&
|
15
|
+
url="$url$suffix"
|
16
|
+
|
17
|
+
abcli_eval ,$options \
|
18
|
+
aws s3 ls --no-sign-request $url
|
19
|
+
|
20
|
+
return 0
|
21
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
#! /usr/bin/env bash
|
2
|
+
|
3
|
+
function blue_sandbox_microsoft_building_damage_assessment_ingest() {
|
4
|
+
local options=$1
|
5
|
+
|
6
|
+
local show_list=$(abcli_option_int "$options" list 0)
|
7
|
+
if [[ "$show_list" == 1 ]]; then
|
8
|
+
blue_sandbox_microsoft_building_damage_assessment_ingest_list "${@:2}"
|
9
|
+
return
|
10
|
+
fi
|
11
|
+
|
12
|
+
local do_dryrun=$(abcli_option_int "$options" dryrun 0)
|
13
|
+
local do_download=$(abcli_option_int "$options" download $(abcli_not $do_dryrun))
|
14
|
+
local do_gdal=$(abcli_option_int "$options" gdal 1)
|
15
|
+
local do_rm=$(abcli_option_int "$options" rm 1)
|
16
|
+
local do_upload=$(abcli_option_int "$options" upload $(abcli_not $do_dryrun))
|
17
|
+
local event_name=$(abcli_option "$options" event default)
|
18
|
+
|
19
|
+
local object_name=$(abcli_clarify_object $2 $event_name-ingest-$(abcli_string_timestamp_short))
|
20
|
+
|
21
|
+
abcli_log "ingesting $event_name -> $object_name ..."
|
22
|
+
|
23
|
+
local object_path=$ABCLI_OBJECT_ROOT/$object_name
|
24
|
+
mkdir -pv $object_path
|
25
|
+
|
26
|
+
pushd $object_path >/dev/null
|
27
|
+
|
28
|
+
# https://github.com/microsoft/building-damage-assessment/blob/main/SATELLITE_WORKFLOW.md#1-image-acquisition-and-label-generation
|
29
|
+
mkdir -pv data/demo/raw/
|
30
|
+
cd data/demo/raw/
|
31
|
+
|
32
|
+
if [[ "$do_download" == 1 ]]; then
|
33
|
+
# TODO: use $event_name and $count (options +=)
|
34
|
+
|
35
|
+
abcli_eval ,$options \
|
36
|
+
wget https://maxar-opendata.s3.amazonaws.com/events/Maui-Hawaii-fires-Aug-23/ard/04/122000330002/2023-08-12/10300100EB15FF00-visual.tif
|
37
|
+
[[ $? -ne 0 ]] && return 1
|
38
|
+
|
39
|
+
abcli_eval ,$options \
|
40
|
+
wget https://maxar-opendata.s3.amazonaws.com/events/Maui-Hawaii-fires-Aug-23/ard/04/122000330020/2023-08-12/10300100EB15FF00-visual.tif
|
41
|
+
[[ $? -ne 0 ]] && return 1
|
42
|
+
fi
|
43
|
+
|
44
|
+
if [[ "$do_gdal" == 1 ]]; then
|
45
|
+
abcli_eval ,$options \
|
46
|
+
gdalbuildvrt maxar_lahaina_8_12_2023-visual.vrt *.tif*
|
47
|
+
[[ $? -ne 0 ]] && return 1
|
48
|
+
|
49
|
+
abcli_eval ,$options \
|
50
|
+
gdalwarp -co BIGTIFF=YES -co NUM_THREADS=ALL_CPUS -co COMPRESS=LZW -co PREDICTOR=2 -of COG maxar_lahaina_8_12_2023-visual.vrt maxar_lahaina_8_12_2023-visual.tif
|
51
|
+
[[ $? -ne 0 ]] && return 1
|
52
|
+
fi
|
53
|
+
|
54
|
+
if [[ "$do_rm" == 1 ]]; then
|
55
|
+
abcli_log "removing raw data ..."
|
56
|
+
rm -v 10300100EB15FF00-visual.tif*
|
57
|
+
rm -v maxar_lahaina_8_12_2023-visual.vrt
|
58
|
+
fi
|
59
|
+
|
60
|
+
cd ../../..
|
61
|
+
|
62
|
+
popd >/dev/null
|
63
|
+
|
64
|
+
abcli_eval dryrun=$do_dryrun \
|
65
|
+
python3 -m blue_sandbox.microsoft_building_damage_assessment \
|
66
|
+
ingest \
|
67
|
+
--event_name $event_name \
|
68
|
+
--object_name $object_name \
|
69
|
+
"${@:3}"
|
70
|
+
local status="$?"
|
71
|
+
|
72
|
+
[[ "$do_upload" == 1 ]] &&
|
73
|
+
abcli_upload - $object_name
|
74
|
+
|
75
|
+
return $status
|
76
|
+
}
|
77
|
+
|
78
|
+
abcli_source_caller_suffix_path /ingest
|
@@ -0,0 +1,15 @@
|
|
1
|
+
#! /usr/bin/env bash
|
2
|
+
|
3
|
+
function blue_sandbox_microsoft_building_damage_assessment() {
|
4
|
+
local task=$(abcli_unpack_keyword $1 help)
|
5
|
+
|
6
|
+
local function_name=blue_sandbox_microsoft_building_damage_assessment_$task
|
7
|
+
if [[ $(type -t $function_name) == "function" ]]; then
|
8
|
+
$function_name "${@:2}"
|
9
|
+
return
|
10
|
+
fi
|
11
|
+
|
12
|
+
python3 -m blue_sandbox.microsoft_building_damage_assessment "$@"
|
13
|
+
}
|
14
|
+
|
15
|
+
abcli_source_caller_suffix_path /microsoft_building_damage_assessment
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#! /usr/bin/env bash
|
2
|
+
|
3
|
+
function test_blue_sandbox_microsoft_building_damage_assessment_ingest() {
|
4
|
+
local options=$1
|
5
|
+
|
6
|
+
abcli_eval ,$options \
|
7
|
+
blue_sandbox_microsoft_building_damage_assessment \
|
8
|
+
ingest \
|
9
|
+
event=Maui-Hawaii-fires-Aug-23,~upload,$options \
|
10
|
+
test_blue_sandbox_microsoft_building_damage_assessment_ingest-$(abcli_string_timestamp_short) \
|
11
|
+
--verbose 1 \
|
12
|
+
"${@:2}"
|
13
|
+
}
|
blue_sandbox-5.47.1/blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest_list.sh
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
#! /usr/bin/env bash
|
2
|
+
|
3
|
+
function test_blue_sandbox_microsoft_building_damage_assessment_ingest_list() {
|
4
|
+
local options=$1
|
5
|
+
|
6
|
+
abcli_eval ,$options \
|
7
|
+
blue_sandbox_microsoft_building_damage_assessment_ingest list
|
8
|
+
[[ $? -ne 0 ]] && return 1
|
9
|
+
|
10
|
+
abcli_eval ,$options \
|
11
|
+
blue_sandbox_microsoft_building_damage_assessment_ingest list \
|
12
|
+
event=Maui-Hawaii-fires-Aug-23
|
13
|
+
[[ $? -ne 0 ]] && return 1
|
14
|
+
|
15
|
+
abcli_eval ,$options \
|
16
|
+
blue_sandbox_microsoft_building_damage_assessment_ingest list \
|
17
|
+
event=Maui-Hawaii-fires-Aug-23 \
|
18
|
+
04/
|
19
|
+
}
|
@@ -3,6 +3,9 @@ import os
|
|
3
3
|
from blue_objects import file, README
|
4
4
|
|
5
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
|
+
)
|
6
9
|
|
7
10
|
|
8
11
|
items = [
|
@@ -34,6 +37,8 @@ def build():
|
|
34
37
|
VERSION=VERSION,
|
35
38
|
REPO_NAME=REPO_NAME,
|
36
39
|
) and README.build(
|
40
|
+
items=microsoft_building_damage_assessment_README.items,
|
41
|
+
cols=len(microsoft_building_damage_assessment_README.list_of_steps),
|
37
42
|
path=os.path.join(file.path(__file__), "microsoft_building_damage_assessment"),
|
38
43
|
ICON=ICON,
|
39
44
|
NAME=NAME,
|
@@ -0,0 +1,34 @@
|
|
1
|
+
from typing import Dict
|
2
|
+
|
3
|
+
list_of_steps: Dict[str, Dict] = {
|
4
|
+
"ingest": "Maui-Hawaii-fires-Aug-23-damage-2025-01-09-GgnjQC",
|
5
|
+
"label": "",
|
6
|
+
"train": "",
|
7
|
+
"predict": "",
|
8
|
+
"summarize": "",
|
9
|
+
}
|
10
|
+
|
11
|
+
items = (
|
12
|
+
[f"`{step}`" for step in list_of_steps]
|
13
|
+
+ [
|
14
|
+
(
|
15
|
+
"[`{}`](https://kamangir-public.s3.ca-central-1.amazonaws.com/{}.tar.gz)".format(
|
16
|
+
object_name,
|
17
|
+
object_name,
|
18
|
+
)
|
19
|
+
if object_name
|
20
|
+
else ""
|
21
|
+
)
|
22
|
+
for object_name in list_of_steps.values()
|
23
|
+
]
|
24
|
+
+ [
|
25
|
+
(
|
26
|
+
"[![image](https://github.com/kamangir/assets/blob/main/blue-sandbox/{}.png?raw=true)](#)".format(
|
27
|
+
object_name,
|
28
|
+
)
|
29
|
+
if object_name
|
30
|
+
else ""
|
31
|
+
)
|
32
|
+
for object_name in list_of_steps.values()
|
33
|
+
]
|
34
|
+
)
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import argparse
|
2
|
+
|
3
|
+
from blueness import module
|
4
|
+
from blueness.argparse.generic import sys_exit
|
5
|
+
|
6
|
+
from blue_sandbox import NAME
|
7
|
+
from blue_sandbox.microsoft_building_damage_assessment.ingest import ingest
|
8
|
+
from blue_sandbox.help.microsoft_building_damage_assessment import list_of_events
|
9
|
+
from blue_sandbox.logger import logger
|
10
|
+
|
11
|
+
NAME = module.name(__file__, NAME)
|
12
|
+
|
13
|
+
parser = argparse.ArgumentParser(NAME)
|
14
|
+
parser.add_argument(
|
15
|
+
"task",
|
16
|
+
type=str,
|
17
|
+
help="ingest",
|
18
|
+
)
|
19
|
+
parser.add_argument(
|
20
|
+
"--object_name",
|
21
|
+
type=str,
|
22
|
+
)
|
23
|
+
parser.add_argument(
|
24
|
+
"--event_name",
|
25
|
+
type=str,
|
26
|
+
default=list_of_events[0],
|
27
|
+
help=" | ".join(list_of_events),
|
28
|
+
)
|
29
|
+
parser.add_argument(
|
30
|
+
"--verbose",
|
31
|
+
type=bool,
|
32
|
+
default=0,
|
33
|
+
help="0|1",
|
34
|
+
)
|
35
|
+
args = parser.parse_args()
|
36
|
+
|
37
|
+
success = False
|
38
|
+
if args.task == "ingest":
|
39
|
+
success = ingest(
|
40
|
+
object_name=args.object_name,
|
41
|
+
event_name=args.event_name,
|
42
|
+
verbose=args.verbose == 1,
|
43
|
+
)
|
44
|
+
else:
|
45
|
+
success = None
|
46
|
+
|
47
|
+
sys_exit(logger, NAME, args.task, success)
|
@@ -0,0 +1,19 @@
|
|
1
|
+
from blueness import module
|
2
|
+
|
3
|
+
from blue_sandbox import NAME
|
4
|
+
from blue_sandbox.logger import logger
|
5
|
+
|
6
|
+
|
7
|
+
NAME = module.name(__file__, NAME)
|
8
|
+
|
9
|
+
|
10
|
+
def ingest(
|
11
|
+
event_name: str,
|
12
|
+
object_name: str,
|
13
|
+
verbose: bool = False,
|
14
|
+
) -> bool:
|
15
|
+
logger.info(f"{NAME}.ingest({event_name}) -> {object_name}")
|
16
|
+
|
17
|
+
logger.info("🪄")
|
18
|
+
|
19
|
+
return True
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: blue_sandbox
|
3
|
-
Version: 5.
|
3
|
+
Version: 5.47.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)
|
@@ -54,4 +54,4 @@ pip install blue-sandbox
|
|
54
54
|
|
55
55
|
[![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)
|
56
56
|
|
57
|
-
built by 🌀 [`blue_options-4.177.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.
|
57
|
+
built by 🌀 [`blue_options-4.177.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.47.1`](https://github.com/kamangir/blue-sandbox).
|
@@ -26,10 +26,18 @@ blue_sandbox/.abcli/alias.sh
|
|
26
26
|
blue_sandbox/.abcli/blue_sandbox.sh
|
27
27
|
blue_sandbox/.abcli/browse.sh
|
28
28
|
blue_sandbox/.abcli/install.sh
|
29
|
+
blue_sandbox/.abcli/microsoft_building_damage_assessment.sh
|
30
|
+
blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest.sh
|
31
|
+
blue_sandbox/.abcli/microsoft_building_damage_assessment/ingest/list.sh
|
29
32
|
blue_sandbox/.abcli/tests/README.sh
|
30
33
|
blue_sandbox/.abcli/tests/help.sh
|
34
|
+
blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest.sh
|
35
|
+
blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest_list.sh
|
31
36
|
blue_sandbox/.abcli/tests/version.sh
|
32
37
|
blue_sandbox/help/__init__.py
|
33
38
|
blue_sandbox/help/__main__.py
|
34
39
|
blue_sandbox/help/functions.py
|
35
|
-
blue_sandbox/
|
40
|
+
blue_sandbox/microsoft_building_damage_assessment/README.py
|
41
|
+
blue_sandbox/microsoft_building_damage_assessment/__init__.py
|
42
|
+
blue_sandbox/microsoft_building_damage_assessment/__main__.py
|
43
|
+
blue_sandbox/microsoft_building_damage_assessment/ingest.py
|
@@ -1,31 +0,0 @@
|
|
1
|
-
from typing import List
|
2
|
-
|
3
|
-
from blue_options.terminal import show_usage, xtra
|
4
|
-
|
5
|
-
|
6
|
-
def help_ingest(
|
7
|
-
tokens: List[str],
|
8
|
-
mono: bool,
|
9
|
-
) -> str:
|
10
|
-
options = xtra("~download,~upload", mono=mono)
|
11
|
-
|
12
|
-
args = [
|
13
|
-
"[--verbose 1]",
|
14
|
-
]
|
15
|
-
|
16
|
-
return show_usage(
|
17
|
-
[
|
18
|
-
"@damage",
|
19
|
-
"ingest",
|
20
|
-
f"[{options}]",
|
21
|
-
"[-|<object-name>]",
|
22
|
-
]
|
23
|
-
+ args,
|
24
|
-
"ingest @damage data.",
|
25
|
-
mono=mono,
|
26
|
-
)
|
27
|
-
|
28
|
-
|
29
|
-
help_functions = {
|
30
|
-
"ingest": help_ingest,
|
31
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|