rsnarsna
feat(phase15): production deployment & operational readiness hardening, TOCTOU defense, and smoke suite
5844be3 Download runtime_environment/__init__.py from Rsnarsna/auto: direct link, hf CLI and curl.
- Browser
- Download file 934 Bytes
-
https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/runtime_environment/__init__.py
- Command line
-
hf download hf://spaces/Rsnarsna/auto/runtime_environment/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/runtime_environment/__init__.py
934 Bytes
| """ | |
| Runtime Environment Module for ALLI-script. | |
| Provides local process and Docker-isolated execution engines with resource caps. | |
| """ | |
| from .runner import ( | |
| RuntimeRunner, | |
| ExecutionResult, | |
| LocalSubprocessRunner, | |
| DockerSandboxRunner, | |
| AirGappedDockerRunner, | |
| kill_process_tree, | |
| get_sanitized_env, | |
| ) | |
| from .k8s_manager import K8sJobManager | |
| from .active_runs import ( | |
| GLOBAL_ACTIVE_RUNS, | |
| ActiveRunsRegistry, | |
| ActiveWorkflowRun, | |
| safe_serialize_to_json, | |
| measure_output_port_quota, | |
| MAX_OUTPUT_QUOTA_BYTES, | |
| ) | |
| __all__ = [ | |
| "RuntimeRunner", | |
| "ExecutionResult", | |
| "LocalSubprocessRunner", | |
| "DockerSandboxRunner", | |
| "AirGappedDockerRunner", | |
| "kill_process_tree", | |
| "get_sanitized_env", | |
| "K8sJobManager", | |
| "GLOBAL_ACTIVE_RUNS", | |
| "ActiveRunsRegistry", | |
| "ActiveWorkflowRun", | |
| "safe_serialize_to_json", | |
| "measure_output_port_quota", | |
| "MAX_OUTPUT_QUOTA_BYTES", | |
| ] | |