zrb 0.0.45__py3-none-any.whl → 0.0.47__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.
- zrb/__init__.py +1 -1
- zrb/action/runner.py +2 -3
- zrb/builtin/__init__.py +2 -0
- zrb/builtin/_group.py +1 -1
- zrb/builtin/env.py +0 -2
- zrb/builtin/generator/_common.py +15 -16
- zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/docker-compose.yml +7 -1
- zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/image/Dockerfile +3 -1
- zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/image/main.py +0 -5
- zrb/builtin/generator/fastapp/add.py +3 -3
- zrb/builtin/generator/fastapp/template/_automate/snake_app_name/_common.py +17 -7
- zrb/builtin/generator/fastapp/template/_automate/snake_app_name/config/docker-compose.env +3 -0
- zrb/builtin/generator/fastapp/template/_automate/snake_app_name/container.py +14 -5
- zrb/builtin/generator/fastapp/template/_automate/snake_app_name/image.py +1 -1
- zrb/builtin/generator/fastapp/template/_automate/snake_app_name/local.py +1 -2
- zrb/builtin/generator/fastapp/template/src/kebab-app-name/docker-compose.yml +24 -6
- zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/Dockerfile +3 -1
- zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/template.env +1 -1
- zrb/builtin/generator/fastapp_module/add.py +266 -83
- zrb/builtin/generator/project/template/README.md +19 -3
- zrb/builtin/generator/project_task/add.py +12 -13
- zrb/builtin/generator/project_task/task_factory.py +12 -14
- zrb/builtin/generator/simple_python_app/add.py +3 -3
- zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/docker-compose.yml +7 -1
- zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/Dockerfile +3 -1
- zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/main.py +0 -5
- zrb/builtin/md5.py +5 -4
- zrb/builtin/project.py +32 -0
- zrb/helper/docker_compose/file.py +22 -0
- zrb/helper/env_map/fetch.py +68 -0
- zrb/helper/file/copy_tree.py +6 -7
- zrb/helper/file/text.py +20 -0
- zrb/helper/string/jinja.py +11 -0
- zrb/task/base_task.py +457 -4
- zrb/task/cmd_task.py +1 -2
- zrb/task/decorator.py +1 -1
- zrb/task/docker_compose_task.py +3 -4
- zrb/task/http_checker.py +1 -2
- zrb/task/installer/factory.py +6 -4
- zrb/task/path_checker.py +3 -4
- zrb/task/port_checker.py +1 -2
- zrb/task/resource_maker.py +2 -3
- zrb/task_env/env.py +4 -3
- {zrb-0.0.45.dist-info → zrb-0.0.47.dist-info}/METADATA +3 -1
- {zrb-0.0.45.dist-info → zrb-0.0.47.dist-info}/RECORD +52 -51
- zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/module_disabled.env +0 -0
- zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/module_enabled.env +0 -0
- zrb/helper/dockercompose/read.py +0 -9
- zrb/task/base_model.py +0 -456
- zrb/task_group/group.py +0 -36
- /zrb/builtin/generator/fastapp/template/{_automate/snake_app_name/config/module_disabled.env → src/kebab-app-name/all-module-disabled.env} +0 -0
- /zrb/builtin/generator/fastapp/template/{_automate/snake_app_name/config/module_enabled.env → src/kebab-app-name/all-module-enabled.env} +0 -0
- /zrb/helper/{dockercompose → docker_compose}/fetch_external_env.py +0 -0
- /zrb/{task_group → helper/env_map}/__init__.py +0 -0
- {zrb-0.0.45.dist-info → zrb-0.0.47.dist-info}/LICENSE +0 -0
- {zrb-0.0.45.dist-info → zrb-0.0.47.dist-info}/WHEEL +0 -0
- {zrb-0.0.45.dist-info → zrb-0.0.47.dist-info}/entry_points.txt +0 -0
zrb/task/installer/factory.py
CHANGED
@@ -4,6 +4,7 @@ from ..cmd_task import CmdTask
|
|
4
4
|
from ..task import Task
|
5
5
|
from ...task_input.base_input import BaseInput
|
6
6
|
from ...task_input.str_input import StrInput
|
7
|
+
from ...helper.file.text import read_text_file_async, write_text_file_async
|
7
8
|
|
8
9
|
import os
|
9
10
|
|
@@ -13,7 +14,7 @@ dir_path = os.path.dirname(__file__)
|
|
13
14
|
def _get_append_config(
|
14
15
|
source_path: str, destination_path: str
|
15
16
|
) -> Callable[..., Any]:
|
16
|
-
def _append_config(*args: Any, **kwargs: Any):
|
17
|
+
async def _append_config(*args: Any, **kwargs: Any):
|
17
18
|
task: Task = kwargs.get('_task')
|
18
19
|
if not source_path or not os.path.exists(source_path):
|
19
20
|
task.print_out('Nothing to configure')
|
@@ -24,9 +25,10 @@ def _get_append_config(
|
|
24
25
|
)
|
25
26
|
)
|
26
27
|
task.print_out(f'Add configuration to {destination}')
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
additional_content = await read_text_file_async(source_path)
|
29
|
+
content = await read_text_file_async(destination)
|
30
|
+
new_content = content + '\n' + additional_content
|
31
|
+
await write_text_file_async(destination, new_content)
|
30
32
|
task.print_out('👌')
|
31
33
|
return _append_config
|
32
34
|
|
zrb/task/path_checker.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
from typing import Any, Callable, Iterable, Optional, Union
|
2
2
|
from typeguard import typechecked
|
3
|
-
from .base_task import BaseTask
|
3
|
+
from .base_task import BaseTask, Group
|
4
4
|
from ..task_env.env import Env
|
5
5
|
from ..task_env.env_file import EnvFile
|
6
|
-
from ..task_group.group import Group
|
7
6
|
from ..task_input.base_input import BaseInput
|
8
7
|
|
9
8
|
import asyncio
|
@@ -73,10 +72,10 @@ class PathChecker(BaseTask):
|
|
73
72
|
label = self._get_label(path)
|
74
73
|
try:
|
75
74
|
if os.path.exists(path):
|
76
|
-
self.print_out(f'{label} (
|
75
|
+
self.print_out(f'{label} (Exist)')
|
77
76
|
return True
|
78
77
|
self._debug_and_print_error(
|
79
|
-
f'{label} (Not
|
78
|
+
f'{label} (Not Exist)', should_print_error
|
80
79
|
)
|
81
80
|
except Exception:
|
82
81
|
self._debug_and_print_error(
|
zrb/task/port_checker.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
from typing import Any, Callable, Iterable, Optional, Union
|
2
2
|
from typeguard import typechecked
|
3
|
-
from .base_task import BaseTask
|
3
|
+
from .base_task import BaseTask, Group
|
4
4
|
from ..task_env.env import Env
|
5
5
|
from ..task_env.env_file import EnvFile
|
6
|
-
from ..task_group.group import Group
|
7
6
|
from ..task_input.base_input import BaseInput
|
8
7
|
|
9
8
|
import socket
|
zrb/task/resource_maker.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
from typing import Any, Callable, Iterable, Mapping, Optional
|
2
2
|
from typeguard import typechecked
|
3
|
-
from .base_task import BaseTask
|
3
|
+
from .base_task import BaseTask, Group
|
4
4
|
from ..task_env.env import Env
|
5
5
|
from ..task_env.env_file import EnvFile
|
6
|
-
from ..task_group.group import Group
|
7
6
|
from ..task_input.base_input import BaseInput
|
8
7
|
from ..helper.file.copy_tree import copy_tree
|
9
8
|
from ..helper.middlewares.replacement import Replacement, ReplacementMiddleware
|
@@ -98,7 +97,7 @@ class ResourceMaker(BaseTask):
|
|
98
97
|
self.print_out_dark(f'Destination: {destination_path}')
|
99
98
|
self.print_out_dark(f'Replacements: {replacements}')
|
100
99
|
self.print_out_dark(f'Excludes: {excludes}')
|
101
|
-
copy_tree(
|
100
|
+
await copy_tree(
|
102
101
|
src=template_path,
|
103
102
|
dst=destination_path,
|
104
103
|
replacements=replacements,
|
zrb/task_env/env.py
CHANGED
@@ -10,7 +10,8 @@ class Env():
|
|
10
10
|
'''
|
11
11
|
|
12
12
|
def __init__(
|
13
|
-
self,
|
13
|
+
self,
|
14
|
+
name: str,
|
14
15
|
os_name: Optional[str] = None,
|
15
16
|
default: str = ''
|
16
17
|
):
|
@@ -38,9 +39,9 @@ class Env():
|
|
38
39
|
if self.os_name == '':
|
39
40
|
return self.default
|
40
41
|
prefixed_name = self._get_prefixed_name(self.os_name, prefix)
|
41
|
-
if prefixed_name in os.environ:
|
42
|
+
if prefixed_name in os.environ and os.environ[prefixed_name] != '':
|
42
43
|
return os.environ[prefixed_name]
|
43
|
-
if self.os_name in os.environ:
|
44
|
+
if self.os_name in os.environ and os.environ[self.os_name] != '':
|
44
45
|
return os.environ[self.os_name]
|
45
46
|
return self.default
|
46
47
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: zrb
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.47
|
4
4
|
Summary: Your faithful companion
|
5
5
|
Author-email: Go Frendi Gunawan <gofrendiasgard@gmail.com>
|
6
6
|
Requires-Python: >=3.8
|
@@ -9,11 +9,13 @@ Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
10
10
|
Classifier: Operating System :: OS Independent
|
11
11
|
Requires-Dist: click==8.1.3
|
12
|
+
Requires-Dist: aiofiles==23.1.0
|
12
13
|
Requires-Dist: typeguard==2.13.3
|
13
14
|
Requires-Dist: termcolor==2.2.0
|
14
15
|
Requires-Dist: Jinja2==3.1.2
|
15
16
|
Requires-Dist: libcst==0.4.9
|
16
17
|
Requires-Dist: python-dotenv==0.21.1
|
18
|
+
Requires-Dist: jsons==1.6.3
|
17
19
|
Requires-Dist: ruamel.yaml==0.17.21
|
18
20
|
Requires-Dist: setuptools==49.2.1
|
19
21
|
Requires-Dist: autopep8==2.0.1
|
@@ -1,18 +1,19 @@
|
|
1
|
-
zrb/__init__.py,sha256=
|
1
|
+
zrb/__init__.py,sha256=Ea-uvzdDq9Yv73cab3SPiOESYkanlt2aGACHrQvihIM,1314
|
2
2
|
zrb/__main__.py,sha256=BsYu2EazceBVYatl1bjL2P-Imra9dU0H6iXRHQcUhNQ,302
|
3
3
|
zrb/advertisement.py,sha256=S8aqJBUqNHY1JvwZOPvKPu4gN2bVDpdCQPjj3s7KWzA,504
|
4
4
|
zrb/config.toml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
zrb/runner.py,sha256=Sb01DwORh9mCWU3D6isNS6k3RxxU1qEhCIT9YgJHl_0,112
|
6
6
|
zrb/action/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
zrb/action/base_action.py,sha256=gW_E8yFgIfu76XmNMzQngC0LSApctCHrXNRObNkxZVI,279
|
8
|
-
zrb/action/runner.py,sha256=
|
9
|
-
zrb/builtin/__init__.py,sha256=
|
10
|
-
zrb/builtin/_group.py,sha256=
|
8
|
+
zrb/action/runner.py,sha256=M0aErKCBfn_Fs9tyyloTixlrLa5Xh1TTnaqWi0C-brk,3566
|
9
|
+
zrb/builtin/__init__.py,sha256=dLGHynwpnJvTviwFmbh2fP8IXaKP8qCwLl0z_p5ERLU,1028
|
10
|
+
zrb/builtin/_group.py,sha256=ITOOiL75lTiXjjMSlxYkp7FlZesc0OgJgDqQEqk2F5Q,1039
|
11
11
|
zrb/builtin/base64.py,sha256=fqs2Nf2c3tqK5AWfWNEpySO5PHrp_7oGAOQecIQl7fc,952
|
12
|
-
zrb/builtin/env.py,sha256=
|
12
|
+
zrb/builtin/env.py,sha256=1mvJCuldysDy5capx8fnng6kVbmDyGw1aIuNW7Uykf4,1039
|
13
13
|
zrb/builtin/eval.py,sha256=NovA5uJX7MTRTPAOTKPfYr7ZlAfWojppfmCP8iamrmg,570
|
14
|
-
zrb/builtin/md5.py,sha256
|
14
|
+
zrb/builtin/md5.py,sha256=tqO8ps7dx8gq8WourIvCAdqfLkEOz02NBQParjnj46I,1191
|
15
15
|
zrb/builtin/principle.py,sha256=-UNcZfFILjEyzWg5o4P5BUSCAfkzC7eMGsvL0tNJipE,1689
|
16
|
+
zrb/builtin/project.py,sha256=x-rEHiJOWoiVS6_8LoIb0voIFKb55-Yij0RmtqUtIYs,998
|
16
17
|
zrb/builtin/ubuntu.py,sha256=K_JvmXF51XHjui8pRGP4mAjiuDTtIm3DmGkgNbvKMFA,1410
|
17
18
|
zrb/builtin/update.py,sha256=BgjeHdw2RfTs3B2cvf6VfdnmIB6a_GDohOEk146Un8k,229
|
18
19
|
zrb/builtin/version.py,sha256=BhNXhf5AmZBGUhu32upPH7N8nnzPzpOzM2rmpYTi4u4,295
|
@@ -48,35 +49,36 @@ zrb/builtin/devtool/tmux/setup.sh,sha256=mCbDNoe099aDoJD9EnjAv52QcbW3VenQAERnsYp
|
|
48
49
|
zrb/builtin/devtool/zsh/config.sh,sha256=gAFefVd_hmPhcQf-pnYrCsXvfAEckX1-zPL5_Hnn5xM,4736
|
49
50
|
zrb/builtin/devtool/zsh/setup.sh,sha256=h0KAlDcA0NjHM2IFHFCJ2JG5LgsnE8-1VQjAcGArUN0,420
|
50
51
|
zrb/builtin/generator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
51
|
-
zrb/builtin/generator/_common.py,sha256=
|
52
|
+
zrb/builtin/generator/_common.py,sha256=QfGnzcXZRATxAc3p4LABXqOKMxqCDHkBHziptWF0I5c,7801
|
52
53
|
zrb/builtin/generator/cmd_task/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
53
54
|
zrb/builtin/generator/cmd_task/add.py,sha256=CgnBJLdWKltVMvJ76LRawrnmCg3iu8rqsC1HjqHoies,1713
|
54
55
|
zrb/builtin/generator/cmd_task/template/_automate/snake_task_name.py,sha256=eV30viCTMZrNm6u_IuoSqG5sNOefTo5yvgzcaSYnFlk,473
|
55
56
|
zrb/builtin/generator/docker_compose_task/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
56
57
|
zrb/builtin/generator/docker_compose_task/add.py,sha256=ksVindnmUhQUc0lBoNkDohKcbU7D29fQr4JFabkt5Z4,2588
|
57
58
|
zrb/builtin/generator/docker_compose_task/template/_automate/snake_task_name.py,sha256=Evec-KTZPyQgxq8Av0hHoSKA0ITVhmx_WYaxZX_U7Ys,1441
|
58
|
-
zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/docker-compose.yml,sha256=
|
59
|
-
zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/image/Dockerfile,sha256=
|
60
|
-
zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/image/main.py,sha256=
|
59
|
+
zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/docker-compose.yml,sha256=goqDsI2J7FhHb6AUM9ZJxCv-Z0FwLUF_sDkWTeK3uYw,492
|
60
|
+
zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/image/Dockerfile,sha256=FP1hy9jhwKmjmQHBZ-MsXwnYMKWIYUYj_jD1fn79L88,188
|
61
|
+
zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/image/main.py,sha256=UpJoBSo4zNKFSa8-0pdJwCymjJDxVZicdoENshogtjE,447
|
61
62
|
zrb/builtin/generator/docker_compose_task/template/src/kebab-task-name/image/requirements.txt,sha256=HX56Al9bOoM8Mq1Yc44UE2cfT3XrTZGmHI6T3q7xn50,15
|
62
63
|
zrb/builtin/generator/fastapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
63
|
-
zrb/builtin/generator/fastapp/add.py,sha256=
|
64
|
+
zrb/builtin/generator/fastapp/add.py,sha256=hoxOJZ5jBjjBVNDlAf6p8rjoEydicVLSxO43Z1B6orE,4166
|
64
65
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
65
|
-
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/_common.py,sha256=
|
66
|
-
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/container.py,sha256=
|
66
|
+
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/_common.py,sha256=hg3-yByGjNHS11Gn4TB9wrhofcpkB6bD5sgUV5fPdmA,8396
|
67
|
+
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/container.py,sha256=s5P6v_OOPfL37NR_39kCk_t277pB0pbDP7U1zVF4jKI,3422
|
67
68
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/deployment.py,sha256=qxY9n4aAhCFoDr6gl74OAcSQtr471b-1q9xf6tU1o8U,1766
|
68
69
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/frontend.py,sha256=oYrkee70GLf2agwI42yoXIuzbRPm-054JStr3FfWDhE,834
|
69
|
-
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/image.py,sha256=
|
70
|
-
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/local.py,sha256=
|
70
|
+
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/image.py,sha256=dEHZWQZI1KrHwU5DaTpvO08NU2yoVMTrpQgkGuAW4oA,1381
|
71
|
+
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/local.py,sha256=e931e8GdO5q2zOUloh55Rxd5F3nMUCJzL0yyv-Xg5g8,4658
|
71
72
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/cmd/build-frontend.sh,sha256=fHsSUE7a6dve2WiWYi3VPpyWyQK5YMbzdeQlCP8VdM4,115
|
72
73
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/cmd/prepare-backend.sh,sha256=c91I2LEUJgl3klN_d_yRAFjqws7QP2WWFFJ5aGpPPEk,190
|
73
74
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/cmd/pulumi-destroy.sh,sha256=u94XbUokbd9gzW0b-UZ9aOyK8niK-Y3U_QDZHRI0CNw,148
|
74
75
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/cmd/pulumi-up.sh,sha256=hv36V-g8y2IqjUwqFkC6Vi27xfJbTEm0sn4iQxmAerc,143
|
75
76
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/cmd/start.sh,sha256=XGxRLciTOI9xIe9kfWfyoR8Q5p-UL0dxY190td_8gAQ,256
|
76
|
-
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/config/
|
77
|
-
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/config/module_enabled.env,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
|
+
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/config/docker-compose.env,sha256=V-IoTPQHlM-ijYGPtAMcA2VCD-3TO2N4WTp45wSi2OQ,79
|
78
78
|
zrb/builtin/generator/fastapp/template/_automate/snake_app_name/config/modules.json,sha256=T1PNoYwrqgwDVLtfmj7L5e0Sq02OEbqHPC8RFhICuUU,2
|
79
|
-
zrb/builtin/generator/fastapp/template/src/kebab-app-name/
|
79
|
+
zrb/builtin/generator/fastapp/template/src/kebab-app-name/all-module-disabled.env,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
80
|
+
zrb/builtin/generator/fastapp/template/src/kebab-app-name/all-module-enabled.env,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
81
|
+
zrb/builtin/generator/fastapp/template/src/kebab-app-name/docker-compose.yml,sha256=hZhmEUp9Eh90TM42rMEc-CypBGrN9YUdbAxc7l2LUHc,3567
|
80
82
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/deployment/.gitignore,sha256=zF-r8EJ_RaTVRxFpy1mapsxVQV6UAnNcK9q57ynRfig,12
|
81
83
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/deployment/Pulumi.yaml,sha256=1CV-idg-xnFf253l4KTd0PmEoJymLK6meRS6W-pbwnM,133
|
82
84
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/deployment/__main__.py,sha256=q9UW0z3JIqWWA381daxA-MWTLdZSn-YpbuKSc5mL_FM,2870
|
@@ -84,15 +86,13 @@ zrb/builtin/generator/fastapp/template/src/kebab-app-name/deployment/requirement
|
|
84
86
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/deployment/state/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
85
87
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/.dockerignore,sha256=NJZTsJz5Imm-i1oUu2Yn0JYQOTRSQKq-c8YKaC_uZPE,134
|
86
88
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/.gitignore,sha256=oPsLRzweETyqd5y5dbqUsPZjz67PjL29Ci4Snuuipyg,37
|
87
|
-
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/Dockerfile,sha256=
|
89
|
+
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/Dockerfile,sha256=1CKZG7Bm9r58Gsz2EGS3RytoEPTtMnFCuksqkCh9USs,468
|
88
90
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/README.md,sha256=HRNI1dnXoomKBVV5Lq1DC46CnC6SgBcX6xSxQXivAnY,2008
|
89
91
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
90
92
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/config.py,sha256=jAHlkPJaz_kTzVdCp0MibFFtRNTpOh_MeGVggsbAvG0,1695
|
91
93
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/main.py,sha256=B7ipLHYgMYsId6sZFd5ZP8BqN1fSNScy6Bzh_U3r4IY,141
|
92
|
-
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/module_disabled.env,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
93
|
-
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/module_enabled.env,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
94
94
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/requirements.txt,sha256=eb6WMS95-lPZ5gXz2roPYyVGEcvxpHgSOSrLUykQORM,120
|
95
|
-
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/template.env,sha256=
|
95
|
+
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/template.env,sha256=G4mYpyTIbiP7ZfIycoPxahpDbh6TYtu9AaXCrxDMZa0,514
|
96
96
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/component/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
97
97
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/component/app.py,sha256=GltNfKQJlV4B_SheVTYGqW83HRHfDGczWmcL_UI0ULA,1848
|
98
98
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/component/app_lifespan.py,sha256=V6DplWYbIlGqCUdwDB91spFuX5wBsTaH_KJngTmef0c,1173
|
@@ -147,7 +147,7 @@ zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/helper/__init__.py
|
|
147
147
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/helper/async_task.py,sha256=xoBJz_4XApjT7MZwRYPs2EF1IMEjaOJJX5WuGtAS8ug,499
|
148
148
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/helper/conversion.py,sha256=di80BqsFjkFgIY9v7Yxvr07kfEjQKGdW2Knvt0uWNqM,763
|
149
149
|
zrb/builtin/generator/fastapp/template/src/kebab-app-name/src/module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
150
|
-
zrb/builtin/generator/fastapp_module/add.py,sha256=
|
150
|
+
zrb/builtin/generator/fastapp_module/add.py,sha256=Z__5YeB_LglZUQSW0sK1fozPMeTNKRHDp1kmTYRiosc,13230
|
151
151
|
zrb/builtin/generator/fastapp_module/template/src/kebab-app-name/src/module/snake_module_name/__init__.py,sha256=AyAutp7oGozEoq-DzwnS6ctxS4-lfKmn9VJtTo9k8P8,1186
|
152
152
|
zrb/builtin/generator/fastapp_module/template/src/kebab-app-name/src/module/snake_module_name/api.py,sha256=XH-BAE1hqc3j0DPK7ejWXYj8fwc0GM7B-2MScSMq62E,702
|
153
153
|
zrb/builtin/generator/fastapp_module/template/src/kebab-app-name/src/module/snake_module_name/event.py,sha256=bUAG_yiKGawdez7cGal-4OBiUiFBSqbfgrNEXD19GfA,468
|
@@ -155,7 +155,7 @@ zrb/builtin/generator/fastapp_module/template/src/kebab-app-name/src/module/snak
|
|
155
155
|
zrb/builtin/generator/project/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
156
156
|
zrb/builtin/generator/project/create.py,sha256=nYDuidxw3WhjL7qZzc5Bh_1jx2aENtLERv--2Bz58FU,1662
|
157
157
|
zrb/builtin/generator/project/template/.gitignore,sha256=DIByeKJ8nyQj4z5mWbOL_UPzVsJhtREqMaP8RLaznpc,21
|
158
|
-
zrb/builtin/generator/project/template/README.md,sha256=
|
158
|
+
zrb/builtin/generator/project/template/README.md,sha256=pNGAZkZIhSEmiAyKdP3cVYmBNQ756hlLZpgJtCtLOVw,1832
|
159
159
|
zrb/builtin/generator/project/template/project.sh,sha256=_CBmghiMHSLbQzmAcydUhQFOK0KVZ6eLl4XFwx93CXA,1317
|
160
160
|
zrb/builtin/generator/project/template/requirements.txt,sha256=X6wrfgHOG6KaaMpDJEsXUp2Eyb-1oLY4e7QnMQqcq68,16
|
161
161
|
zrb/builtin/generator/project/template/template.env,sha256=KvexMT4w4UMnrEJJtbTBrRZckTXK08cfhoUYWZT48_0,178
|
@@ -163,8 +163,8 @@ zrb/builtin/generator/project/template/zrb_init.py,sha256=47DEQpj8HBSa-_TImW-5JC
|
|
163
163
|
zrb/builtin/generator/project/template/_automate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
164
164
|
zrb/builtin/generator/project/template/src/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
165
165
|
zrb/builtin/generator/project_task/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
166
|
-
zrb/builtin/generator/project_task/add.py,sha256=
|
167
|
-
zrb/builtin/generator/project_task/task_factory.py,sha256=
|
166
|
+
zrb/builtin/generator/project_task/add.py,sha256=pfrB0RjANuMkUTlLFrFz8xKXoYl_w0pd60_FKzs2aFw,1018
|
167
|
+
zrb/builtin/generator/project_task/task_factory.py,sha256=KZ6ch_hDY65Tkx2_wgMWZkZ4dXFR4pF0gjUXksIKhrg,7063
|
168
168
|
zrb/builtin/generator/project_task/task_factory_helper.py,sha256=Ted9wG3cRev5pjguwaun-agm-VEkBd-79jzqBa9jRT8,1565
|
169
169
|
zrb/builtin/generator/project_task/template/_automate/_project/__init__.py,sha256=BtMKxpLBRc-UBvNZdtQfHYzkMJRXXjnup_NJuAmltG4,644
|
170
170
|
zrb/builtin/generator/project_task/template/_automate/_project/build_project_images.py,sha256=EDRU1AKYtTU9iouUU1YMtePFF2DHPEYWfPSP8_OvUMs,322
|
@@ -179,7 +179,7 @@ zrb/builtin/generator/python_task/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
|
|
179
179
|
zrb/builtin/generator/python_task/add.py,sha256=tqxf1391xZKhRroUFc_9e_F1KZI1h5pXhXpv4Fg1TA8,1719
|
180
180
|
zrb/builtin/generator/python_task/template/_automate/snake_task_name.py,sha256=WcfOEmz_EhrywH7jikgGhqkQZNKP-KZGACVd406MCiU,742
|
181
181
|
zrb/builtin/generator/simple_python_app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
182
|
-
zrb/builtin/generator/simple_python_app/add.py,sha256=
|
182
|
+
zrb/builtin/generator/simple_python_app/add.py,sha256=WRxLribaeeL--1-cDcxqPbVJnRH9y1gBf8rxiUnyIEk,4033
|
183
183
|
zrb/builtin/generator/simple_python_app/template/_automate/snake_app_name/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
184
184
|
zrb/builtin/generator/simple_python_app/template/_automate/snake_app_name/_common.py,sha256=UHt9KK3VqiJOg2DXSJByAezN93JRZCyJSox6YZxMdsA,2606
|
185
185
|
zrb/builtin/generator/simple_python_app/template/_automate/snake_app_name/container.py,sha256=7Z3tFM-sgzNhmOdXAJYGKfLc--uW3-h0N4ePc-m3BM4,2209
|
@@ -189,7 +189,7 @@ zrb/builtin/generator/simple_python_app/template/_automate/snake_app_name/local.
|
|
189
189
|
zrb/builtin/generator/simple_python_app/template/_automate/snake_app_name/cmd/pulumi-destroy.sh,sha256=u94XbUokbd9gzW0b-UZ9aOyK8niK-Y3U_QDZHRI0CNw,148
|
190
190
|
zrb/builtin/generator/simple_python_app/template/_automate/snake_app_name/cmd/pulumi-up.sh,sha256=hv36V-g8y2IqjUwqFkC6Vi27xfJbTEm0sn4iQxmAerc,143
|
191
191
|
zrb/builtin/generator/simple_python_app/template/_automate/snake_app_name/cmd/start.sh,sha256=jD7VGN73rpc20AB3TrsYqBII4_XehSWhnfPOZH6dMzM,305
|
192
|
-
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/docker-compose.yml,sha256=
|
192
|
+
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/docker-compose.yml,sha256=X9a5upK-vdFZ1VsPRYbOytK7pBXZH5I_auyQQ6vMCp8,480
|
193
193
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/deployment/.gitignore,sha256=zF-r8EJ_RaTVRxFpy1mapsxVQV6UAnNcK9q57ynRfig,12
|
194
194
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/deployment/Pulumi.yaml,sha256=1CV-idg-xnFf253l4KTd0PmEoJymLK6meRS6W-pbwnM,133
|
195
195
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/deployment/__main__.py,sha256=q9UW0z3JIqWWA381daxA-MWTLdZSn-YpbuKSc5mL_FM,2870
|
@@ -197,8 +197,8 @@ zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/deployment/r
|
|
197
197
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/deployment/state/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
198
198
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/.dockerignore,sha256=Adno7oEVeo0HrAX3s4RzQvgRSxeu0VqDbrdK4g-okX4,21
|
199
199
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/.gitignore,sha256=Q63GDlt-GxDtkQ84tg70v5wXqE7dYTKOrhBuaojUxeM,22
|
200
|
-
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/Dockerfile,sha256=
|
201
|
-
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/main.py,sha256=
|
200
|
+
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/Dockerfile,sha256=Yl5euBK6oKwoo3r4KhiLNMR8PwCkn7uziXOZe1zBewY,187
|
201
|
+
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/main.py,sha256=UpJoBSo4zNKFSa8-0pdJwCymjJDxVZicdoENshogtjE,447
|
202
202
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/requirements.txt,sha256=HX56Al9bOoM8Mq1Yc44UE2cfT3XrTZGmHI6T3q7xn50,15
|
203
203
|
zrb/builtin/generator/simple_python_app/template/src/kebab-app-name/src/template.env,sha256=xhEabjiF3vehNElqWXr-E_4Gi5kxDlUfrU2qoDiAuIU,81
|
204
204
|
zrb/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -220,10 +220,13 @@ zrb/helper/codemod/add_function_call.py,sha256=Jt_1VpFW9B28dGXokUevdsbnGkBXOKZyo
|
|
220
220
|
zrb/helper/codemod/add_import_module.py,sha256=ruqXHUs3_T3UCiZVewTuuY7UTF_DuyiKkURLzOnbst4,3277
|
221
221
|
zrb/helper/codemod/add_upstream_to_task.py,sha256=hiZB3Xe4wjvKzEN4DUxcOnl4NST1a8atovkS2fOmX6w,3480
|
222
222
|
zrb/helper/codemod/format_code.py,sha256=X6ZWzhhfIMmeFWO9um2aLF3lVBwtUvqseWnzUSU4Nl8,88
|
223
|
-
zrb/helper/
|
224
|
-
zrb/helper/
|
223
|
+
zrb/helper/docker_compose/fetch_external_env.py,sha256=YJ6rZzg_oP5L0U0fbJWCZsMOyjteSHAIKi6QFSBU_Bg,1936
|
224
|
+
zrb/helper/docker_compose/file.py,sha256=_UFFZ7ExE46PvFX9q6qbP1dT-ntC7l9lfST3beb58p0,687
|
225
|
+
zrb/helper/env_map/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
226
|
+
zrb/helper/env_map/fetch.py,sha256=2ZBggukoc2QtX4p3-k9zzLbs9sBXHi-LkvOjW0n2n2U,1955
|
225
227
|
zrb/helper/file/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
226
|
-
zrb/helper/file/copy_tree.py,sha256=
|
228
|
+
zrb/helper/file/copy_tree.py,sha256=fYmAWupTVhgylPWiRtT0lJnfo02_qJMwyBMnWrMaEL0,1441
|
229
|
+
zrb/helper/file/text.py,sha256=4JhIj0I3XXZUITQ2NI5GjbqYUN3x55dY33BTDP6e0e4,654
|
227
230
|
zrb/helper/keyval/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
228
231
|
zrb/helper/list/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
229
232
|
zrb/helper/list/ensure_uniqueness.py,sha256=EXHsGBZ3d9oQGzk2mft4PDSyyO1kVWCgnGhWmCZmZyM,622
|
@@ -233,29 +236,27 @@ zrb/helper/middlewares/replacement.py,sha256=qkDQzm2zHTVgNq9RspXa2nw8RwQzJM4Jfb9
|
|
233
236
|
zrb/helper/string/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
234
237
|
zrb/helper/string/conversion.py,sha256=Q9pwmaB0GehCACF_c8Ph0jA9C3xvWM-xHIYayfI9UVU,1325
|
235
238
|
zrb/helper/string/double_quote.py,sha256=uYIdgotgVvMWxffJhrgb1TQI5v1-QdA0UByE2xGLqjA,66
|
239
|
+
zrb/helper/string/jinja.py,sha256=yXX79mYJ-s1wRqGJpms1xKTrZE6Ts_OE_YDLIazrBvI,261
|
236
240
|
zrb/helper/string/parse_replacement.py,sha256=g4GHaZqncBIZyyZrcZJtylz6gySEU18A27S4XPTEDEI,222
|
237
241
|
zrb/task/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
238
|
-
zrb/task/
|
239
|
-
zrb/task/
|
240
|
-
zrb/task/
|
241
|
-
zrb/task/
|
242
|
-
zrb/task/
|
243
|
-
zrb/task/
|
244
|
-
zrb/task/
|
245
|
-
zrb/task/
|
246
|
-
zrb/task/resource_maker.py,sha256=2hkM9hPDGegGN4k8etIHvrvpvtT1Uc47QAgpxTa17IU,4016
|
242
|
+
zrb/task/base_task.py,sha256=3gk28rwBVFyDpuWPCfK5OMK-C2FvFpnke90YnpvFhJI,27621
|
243
|
+
zrb/task/cmd_task.py,sha256=DXQi-8wU0iZJopIYUIQjNyXBKUEwWQErY78MYnd-Qsw,8027
|
244
|
+
zrb/task/decorator.py,sha256=Nez3CI63K-vBM0HbTU8dXjbJYVGSZZ27i_N5uO4rPK4,1569
|
245
|
+
zrb/task/docker_compose_task.py,sha256=Lrfgamt8Tkokfjcq2nU63cU9uarSJyCyifCeI97KI9k,4955
|
246
|
+
zrb/task/http_checker.py,sha256=qVeDtuntDNQWyQ3JWCOCOzfy15sD22CjvWM_mh_Rto4,4413
|
247
|
+
zrb/task/path_checker.py,sha256=snqnuCg6RFAdUg2kt7fLlqrvdnqL-aeVBsBAJzlr_FU,2847
|
248
|
+
zrb/task/port_checker.py,sha256=OxUE0e-hIE7MYJ-PIBwSU_FA8iue__9xrBaPDEPHkJg,3362
|
249
|
+
zrb/task/resource_maker.py,sha256=YNo77pcdDQ07XxVBOytWiZB5xtpFm7cjBCWzOuRz6d0,3992
|
247
250
|
zrb/task/task.py,sha256=WsyV6YtllFa4EIAE0t_k-8wrkUwgybAktOp-zYRVOF8,178
|
248
|
-
zrb/task/installer/factory.py,sha256=
|
251
|
+
zrb/task/installer/factory.py,sha256=u8pIDZrUU2TUcS_4lb_jm93-vwK4D4I03yicCzlDuV4,4152
|
249
252
|
zrb/task/installer/_default/backup-config.sh,sha256=HzonUEVWLiE_4YjXWjx7zw-n917sHMgV8Tq8v_KP3ng,285
|
250
253
|
zrb/task/installer/_default/check.sh,sha256=2t15ELcPJWnWJmBHJTP6_BHGAPc5EkCgwN7iyYXb3tk,24
|
251
254
|
zrb/task/installer/_default/download.sh,sha256=rInEP9h2T74WE1v7Yl12b99RMwCbBRzIpNuORPPJqus,34
|
252
255
|
zrb/task/installer/_default/finalize.sh,sha256=AftPNSgSMin2K59vqfHQungkpgPsf60z1JnDZY2eQe8,35
|
253
256
|
zrb/task/installer/_default/remove-config.sh,sha256=ccXzP3TYSxopfaHFx0eoz7871nnWq4CjHkOaUAlGfRI,228
|
254
257
|
zrb/task/installer/_default/setup.sh,sha256=J9hEoG9ChHuREzpAw4FYsmgPH-Dp_7klNPRVtk9bUi4,25
|
255
|
-
zrb/task_env/env.py,sha256=
|
258
|
+
zrb/task_env/env.py,sha256=udgStTjCqa-ZABwn1__ZUhBXYJcOqHUi9vuFciwWcoY,1701
|
256
259
|
zrb/task_env/env_file.py,sha256=eul7HsvqVAHWwU4x0oJJPwpUjQFb2XU9uFJbstt4oZQ,727
|
257
|
-
zrb/task_group/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
258
|
-
zrb/task_group/group.py,sha256=MVD4OW-M9cyaytohyhr_Uf8Fo13wJtfmyXYZESi68TI,972
|
259
260
|
zrb/task_input/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
260
261
|
zrb/task_input/_constant.py,sha256=yvYY-Cc5eRAUQbe5aJcVVy846yyQYYg7v1hgiFyNikg,42
|
261
262
|
zrb/task_input/base_input.py,sha256=OF2wemIRR_EdVA5izWrTDrsDIkp4V7dXomxCR1IOQ6k,2894
|
@@ -266,8 +267,8 @@ zrb/task_input/input.py,sha256=I4KrdJR3muxAWgd8zX6CErogHYcFM80Si0DmC5-YJGE,69
|
|
266
267
|
zrb/task_input/int_input.py,sha256=YTxeRvHGe60hUto3vGtjA3GVLsR2zPtlIca20XO_94A,1568
|
267
268
|
zrb/task_input/password_input.py,sha256=-ygMqy3JoHtZB5aA7uwlwgntFBJKBasfP3eX9iaOxKE,1521
|
268
269
|
zrb/task_input/str_input.py,sha256=RUw5zTUDAo1kyl5kcUpXyk073xh09N04D41PmH76RVk,1568
|
269
|
-
zrb-0.0.
|
270
|
-
zrb-0.0.
|
271
|
-
zrb-0.0.
|
272
|
-
zrb-0.0.
|
273
|
-
zrb-0.0.
|
270
|
+
zrb-0.0.47.dist-info/entry_points.txt,sha256=xTgXc1kBKYhJHEujdaSPHUcJT3-hbyP1mLgwkv-5sSk,40
|
271
|
+
zrb-0.0.47.dist-info/LICENSE,sha256=hVM_U_SOdNZ9mLpaAZ5qn3HRXQXucGX9rliGPEifzVs,1073
|
272
|
+
zrb-0.0.47.dist-info/WHEEL,sha256=rSgq_JpHF9fHR1lx53qwg_1-2LypZE_qmcuXbVUq948,81
|
273
|
+
zrb-0.0.47.dist-info/METADATA,sha256=venXW3Au1Ozz01IMWkCV5GtmgOPQGoDXszcFUJLpv7k,12395
|
274
|
+
zrb-0.0.47.dist-info/RECORD,,
|
File without changes
|
File without changes
|