cloud-submit 0.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.
- cloud_submit/__init__.py +30 -0
- cloud_submit/cli.py +1014 -0
- cloud_submit/config.py +164 -0
- cloud_submit/controller.py +375 -0
- cloud_submit/environment_handler.py +398 -0
- cloud_submit/envs/aws/__init__.py +2 -0
- cloud_submit/envs/aws/local_environment_handler.py +478 -0
- cloud_submit/envs/aws/local_execution_handler.py +5 -0
- cloud_submit/envs/aws/remote_environment_handler.py +401 -0
- cloud_submit/envs/aws/remote_execution_handler.py +87 -0
- cloud_submit/envs/aws/s3_tools.py +46 -0
- cloud_submit/envs/local/environment_handler.py +121 -0
- cloud_submit/envs/local/execution_handler.py +5 -0
- cloud_submit/execution/base_execution_handler.py +49 -0
- cloud_submit/execution/config.py +248 -0
- cloud_submit/execution/execute.py +108 -0
- cloud_submit/execution/utils.py +98 -0
- cloud_submit/images.py +58 -0
- cloud_submit/utils.py +67 -0
- cloud_submit-0.1.dist-info/METADATA +12 -0
- cloud_submit-0.1.dist-info/RECORD +24 -0
- cloud_submit-0.1.dist-info/WHEEL +4 -0
- cloud_submit-0.1.dist-info/entry_points.txt +2 -0
- cloud_submit-0.1.dist-info/licenses/LICENSE +19 -0
cloud_submit/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import importlib.metadata
|
|
2
|
+
__version__ = importlib.metadata.version('cloud-submit')
|
|
3
|
+
|
|
4
|
+
from .controller import Controller
|
|
5
|
+
from .config import Config
|
|
6
|
+
from .execution.config import (
|
|
7
|
+
ConfigError,
|
|
8
|
+
Artifact,
|
|
9
|
+
ArtifactLocation,
|
|
10
|
+
Spec,
|
|
11
|
+
Step,
|
|
12
|
+
Pipeline,
|
|
13
|
+
local,
|
|
14
|
+
remote,
|
|
15
|
+
)
|
|
16
|
+
from .execution.utils import (
|
|
17
|
+
CloudSubmitError,
|
|
18
|
+
clear_path,
|
|
19
|
+
ensure_path,
|
|
20
|
+
read_json,
|
|
21
|
+
write_json,
|
|
22
|
+
run_command,
|
|
23
|
+
)
|
|
24
|
+
from .images import Image, BaseImage, ExecutionImage
|
|
25
|
+
from .environment_handler import EnvironmentHandler
|
|
26
|
+
from .envs.local.environment_handler import LocalEnv
|
|
27
|
+
from .utils import (
|
|
28
|
+
build_docker_mount_option,
|
|
29
|
+
parse_image_ref,
|
|
30
|
+
)
|