blue-sandbox 5.6.1__py3-none-any.whl → 5.27.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,3 +1,5 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
+ alias @damage="blue_sandbox_microsoft_building_damage_assessment"
4
+
3
5
  alias @sandbox=blue_sandbox
@@ -1,7 +1,7 @@
1
1
  #! /usr/bin/env bash
2
2
 
3
3
  function abcli_install_blue_sandbox() {
4
- :
4
+ abcli_git_clone https://github.com/microsoft/building-damage-assessment.git
5
5
  }
6
6
 
7
- # abcli_install_module blue_sandbox 1.1.1
7
+ abcli_install_module blue_sandbox 1.1.1
@@ -6,6 +6,10 @@ function test_blue_sandbox_help() {
6
6
  local module
7
7
  for module in \
8
8
  "@sandbox" \
9
+ \
10
+ "@damage" \
11
+ "@damage ingest" \
12
+ \
9
13
  "blue_sandbox"; do
10
14
  abcli_eval ,$options \
11
15
  abcli_help $module
blue_sandbox/README.py CHANGED
@@ -6,13 +6,22 @@ from blue_sandbox import NAME, VERSION, ICON, REPO_NAME
6
6
 
7
7
 
8
8
  items = [
9
+ "{}[`{}`]({}) [![image]({})]({}) {}".format(
10
+ "🌐",
11
+ "`@damage`",
12
+ "https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md",
13
+ "https://github.com/microsoft/building-damage-assessment/raw/main/figures/damage.png",
14
+ "https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md",
15
+ "Satellite imagery damage assessment workflow",
16
+ )
17
+ ] + [
9
18
  "{}[`{}`](#) [![image]({})](#) {}".format(
10
19
  ICON,
11
20
  f"experiment {index}",
12
21
  "https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true",
13
22
  f"description of experiment {index} ...",
14
23
  )
15
- for index in range(1, 4)
24
+ for index in range(2, 4)
16
25
  ]
17
26
 
18
27
 
@@ -24,4 +33,10 @@ def build():
24
33
  NAME=NAME,
25
34
  VERSION=VERSION,
26
35
  REPO_NAME=REPO_NAME,
36
+ ) and README.build(
37
+ path=os.path.join(file.path(__file__), "microsoft_building_damage_assessment"),
38
+ ICON=ICON,
39
+ NAME=NAME,
40
+ VERSION=VERSION,
41
+ REPO_NAME=REPO_NAME,
27
42
  )
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.6.1"
7
+ VERSION = "5.27.1"
8
8
 
9
9
  REPO_NAME = "blue-sandbox"
10
10
 
@@ -2,5 +2,15 @@ from abcli.help.generic import help_functions as generic_help_functions
2
2
 
3
3
  from blue_sandbox import ALIAS
4
4
 
5
+ from blue_sandbox.help.microsoft_building_damage_assessment import (
6
+ help_functions as help_microsoft_building_damage_assessment,
7
+ )
8
+
5
9
 
6
10
  help_functions = generic_help_functions(plugin_name=ALIAS)
11
+
12
+ help_functions.update(
13
+ {
14
+ "microsoft_building_damage_assessment": help_microsoft_building_damage_assessment,
15
+ }
16
+ )
@@ -0,0 +1,31 @@
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
+ }
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.2
2
+ Name: blue_sandbox
3
+ Version: 5.27.1
4
+ Summary: 🌀 A sandbox for ideas and experiments.
5
+ Home-page: https://github.com/kamangir/blue-sandbox
6
+ Author: Arash Abadpour (Kamangir)
7
+ Author-email: arash@kamangir.net
8
+ License: Public Domain
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Unix Shell
11
+ Classifier: License :: Public Domain
12
+ Classifier: Operating System :: OS Independent
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Requires-Dist: blueness
16
+ Requires-Dist: blue-options
17
+ Requires-Dist: abcli
18
+ Requires-Dist: boto3
19
+ Requires-Dist: geojson
20
+ Requires-Dist: geopandas
21
+ Requires-Dist: matplotlib
22
+ Requires-Dist: numpy
23
+ Requires-Dist: opencv-python
24
+ Requires-Dist: pymysql
25
+ Requires-Dist: pyyaml
26
+ Requires-Dist: pylint
27
+ Requires-Dist: pytest
28
+ Requires-Dist: python-dotenv[cli]
29
+ Requires-Dist: tqdm
30
+ Dynamic: author
31
+ Dynamic: author-email
32
+ Dynamic: classifier
33
+ Dynamic: description
34
+ Dynamic: description-content-type
35
+ Dynamic: home-page
36
+ Dynamic: license
37
+ Dynamic: requires-dist
38
+ Dynamic: summary
39
+
40
+ # 🌀 blue-sandbox
41
+
42
+ 🌀 A sandbox for ideas and experiments.
43
+
44
+ ```bash
45
+ pip install blue-sandbox
46
+ ```
47
+
48
+ | | | |
49
+ | --- | --- | --- |
50
+ | 🌐[``@damage``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) [![image](https://github.com/microsoft/building-damage-assessment/raw/main/figures/damage.png)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow | 🌀[`experiment 2`](#) [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](#) description of experiment 2 ... | 🌀[`experiment 3`](#) [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](#) description of experiment 3 ... |
51
+
52
+ ---
53
+
54
+
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
+
57
+ built by 🌀 [`blue_options-4.177.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.27.1`](https://github.com/kamangir/blue-sandbox).
@@ -1,5 +1,5 @@
1
- blue_sandbox/README.py,sha256=SgLxRHMaFxtB8u90QQVaCw9x93qUIFjUGXcHrVHUJQI,598
2
- blue_sandbox/__init__.py,sha256=B5IGBbMnlatMLGG5uwGUDOS0OS40_fSUXqIQWWKMY4w,321
1
+ blue_sandbox/README.py,sha256=L3WYBjMK8BGjfdumjgK54fbPrKjuKyOMl-PzIMRa6P4,1295
2
+ blue_sandbox/__init__.py,sha256=b5BBC1dNc5cD99i_6w_VV4VePW-VlE55trTdlYLD4NM,322
3
3
  blue_sandbox/__main__.py,sha256=aPRHSpGpk-bDbzhHpfLNsd3y1gGEHpnhoTF-RBweNwc,361
4
4
  blue_sandbox/config.env,sha256=89ao50sGXYWiU-NMV_fUVXAXdTHKKfWV03BY3_p6EOE,25
5
5
  blue_sandbox/env.py,sha256=ljEErQJNy0cdSvPpJ_ziMNvXK6Qlvi_8VBgTqjSm2uk,173
@@ -11,18 +11,19 @@ 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=R1dhdw3KalMeD4hZ7nGbqDsecsSoQYa6InnQD0CCj2E,50
14
+ blue_sandbox/.abcli/alias.sh,sha256=A2Q2VBfKuAiWc0yRXeDj95lL70elSdDKZTKWPTK-590,117
15
15
  blue_sandbox/.abcli/blue_sandbox.sh,sha256=PGRJOgNGlC3XL5cw4ecZH40LDuc_6NVazTKhCWtZ-3g,233
16
16
  blue_sandbox/.abcli/browse.sh,sha256=f8qa4qDVts2Am6_ldDwNeJXzhBQTk9PUKl0-a9wW1ww,287
17
- blue_sandbox/.abcli/install.sh,sha256=dOY6YyorhLGjAoGpPeu4WAEPYUXRiHG4Mqxv_V-aj5s,113
17
+ blue_sandbox/.abcli/install.sh,sha256=6JWSnXjbNPmEEFUsZrvZEb8VVRiJ_xMzDgu_YBPOAyo,185
18
18
  blue_sandbox/.abcli/tests/README.sh,sha256=rmJM-BPnTcmpPbJ5GXsF8vd_a84JKryeKkZyVScUing,145
19
- blue_sandbox/.abcli/tests/help.sh,sha256=KGgts9-3OJsJCufIN2cGzPrNjgl714HV86lT69BoaEM,305
19
+ blue_sandbox/.abcli/tests/help.sh,sha256=uDJRh3G8LghgFZC_1L5fuRChudpVDDxRLZbovHbyqjY,372
20
20
  blue_sandbox/.abcli/tests/version.sh,sha256=jF8zoJN1eKE3LfDeRVG9uHEosmEVJX6RtKfdioyeN-o,150
21
21
  blue_sandbox/help/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
22
22
  blue_sandbox/help/__main__.py,sha256=3Cqp5oISrZCOUApmwoQoCj_0sQgtkiEkm_ob3LFKzRE,234
23
- blue_sandbox/help/functions.py,sha256=6pqjFj4iQYWuRyhmEKe-ErPCZW963n-Q1AdfNbfeQos,165
24
- blue_sandbox-5.6.1.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
25
- blue_sandbox-5.6.1.dist-info/METADATA,sha256=ElTccE0wvSP0z2u1bVuq2IbS3rjEnU4Pawcj6DYJy7U,1629
26
- blue_sandbox-5.6.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
27
- blue_sandbox-5.6.1.dist-info/top_level.txt,sha256=4D9Cb9QUCaqdYAmBiCwvtlaYBtUYVVxv0Sxcr_pzgS8,13
28
- blue_sandbox-5.6.1.dist-info/RECORD,,
23
+ blue_sandbox/help/functions.py,sha256=Ki0nUGyHKDo2t0WnIVzBwxEVJHyRmHh-hIRv3ohJK3c,431
24
+ blue_sandbox/help/microsoft_building_damage_assessment.py,sha256=ebpXrq4SNUx-6h8QNLpmCVMMvQH93L18baapf2OCzcQ,513
25
+ blue_sandbox-5.27.1.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
26
+ blue_sandbox-5.27.1.dist-info/METADATA,sha256=xyt-ZXYkKIOwvQi1BH7jxQSzGSrfsKoJY3oK2YKR67A,2756
27
+ blue_sandbox-5.27.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
28
+ blue_sandbox-5.27.1.dist-info/top_level.txt,sha256=4D9Cb9QUCaqdYAmBiCwvtlaYBtUYVVxv0Sxcr_pzgS8,13
29
+ blue_sandbox-5.27.1.dist-info/RECORD,,
@@ -1,50 +0,0 @@
1
- Metadata-Version: 2.2
2
- Name: blue_sandbox
3
- Version: 5.6.1
4
- Summary: 🌀 A sandbox for ideas and experiments.
5
- Home-page: https://github.com/kamangir/blue-sandbox
6
- Author: Arash Abadpour (Kamangir)
7
- Author-email: arash@kamangir.net
8
- License: Public Domain
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Unix Shell
11
- Classifier: License :: Public Domain
12
- Classifier: Operating System :: OS Independent
13
- Description-Content-Type: text/markdown
14
- License-File: LICENSE
15
- Requires-Dist: blueness
16
- Requires-Dist: blue-options
17
- Requires-Dist: abcli
18
- Requires-Dist: boto3
19
- Requires-Dist: geojson
20
- Requires-Dist: geopandas
21
- Requires-Dist: matplotlib
22
- Requires-Dist: numpy
23
- Requires-Dist: opencv-python
24
- Requires-Dist: pymysql
25
- Requires-Dist: pyyaml
26
- Requires-Dist: pylint
27
- Requires-Dist: pytest
28
- Requires-Dist: python-dotenv[cli]
29
- Requires-Dist: tqdm
30
- Dynamic: author
31
- Dynamic: author-email
32
- Dynamic: classifier
33
- Dynamic: description
34
- Dynamic: description-content-type
35
- Dynamic: home-page
36
- Dynamic: license
37
- Dynamic: requires-dist
38
- Dynamic: summary
39
-
40
- # 🌀 blue-sandbox
41
-
42
- 🌀 A sandbox for ideas and experiments.
43
-
44
- ```bash
45
- pip install blue-sandbox
46
- ```
47
-
48
- | | | |
49
- | --- | --- | --- |
50
- | 🌀[`experiment 1`](#) [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](#) description of experiment 1 ... | 🌀[`experiment 2`](#) [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](#) description of experiment 2 ... | 🌀[`experiment 3`](#) [![image](https://github.com/kamangir/assets/raw/main/blue-plugin/marquee.png?raw=true)](#) description of experiment 3 ... |