48 lines
987 B
Python
48 lines
987 B
Python
"""Core building blocks shared by Copienator scripts and interfaces."""
|
|
|
|
from .cli import (
|
|
CliError,
|
|
ExitCode,
|
|
evaluation_parser,
|
|
evaluation_workspace,
|
|
execute,
|
|
standard_parser,
|
|
target_parser,
|
|
workspace_from_args,
|
|
workspace_from_target,
|
|
)
|
|
from .json_io import (
|
|
JsonLockTimeout,
|
|
atomic_update_json,
|
|
atomic_write_bytes,
|
|
atomic_write_json,
|
|
atomic_write_text,
|
|
read_json,
|
|
)
|
|
from .workspace import (
|
|
EvaluationWorkspace,
|
|
WorkspaceNotFoundError,
|
|
WorkspaceValidationError,
|
|
)
|
|
|
|
__all__ = [
|
|
"CliError",
|
|
"EvaluationWorkspace",
|
|
"ExitCode",
|
|
"JsonLockTimeout",
|
|
"WorkspaceNotFoundError",
|
|
"WorkspaceValidationError",
|
|
"atomic_update_json",
|
|
"atomic_write_bytes",
|
|
"atomic_write_json",
|
|
"atomic_write_text",
|
|
"evaluation_parser",
|
|
"evaluation_workspace",
|
|
"execute",
|
|
"read_json",
|
|
"standard_parser",
|
|
"target_parser",
|
|
"workspace_from_args",
|
|
"workspace_from_target",
|
|
]
|