PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
 
Loading...
Searching...
No Matches
storage/__init__.py
Go to the documentation of this file.
1"""!
2@file picurv_cli/storage/__init__.py
3@brief PICurv run, study, and workspace storage lifecycle.
4
5The package is split by responsibility - models, transport, safety, inventory,
6packaging, compatibility, catalog, operations - and re-exports the whole surface,
7so importers and tests address `picurv_cli.storage` exactly as before.
8"""
9
10from .models import * # noqa: F401,F403
11from .transport import * # noqa: F401,F403
12from .safety import * # noqa: F401,F403
13from .inventory import * # noqa: F401,F403
14from .packaging import * # noqa: F401,F403
15from .compatibility import * # noqa: F401,F403
16from .catalog import * # noqa: F401,F403
17from .operations import * # noqa: F401,F403
18
19from . import models # noqa: F401
20from . import transport # noqa: F401
21from . import safety # noqa: F401
22from . import inventory # noqa: F401
23from . import packaging # noqa: F401
24from . import compatibility # noqa: F401
25from . import catalog # noqa: F401
26from . import operations # noqa: F401
27
28# Private helpers the conductor and the test suite address directly.
29from .models import (
30 _PARALLEL_GZIP_VALUES,
31 _atomic_write_json,
32 _find_upwards,
33 _human_bytes,
34 _parse_tags,
35 _read_json,
36 _sha256_file,
37 _state_path,
38 _utc_now,
39)
40from .transport import (
41 _blob_remote,
42 _chunk_remote_path,
43 _load_remote_manifest,
44 _object_remote,
45 _read_remote_bytes,
46 _remote_blob_present,
47 _remote_join,
48 _remote_sha256,
49 _run_rclone,
50 _upload_verified,
51)
52from .safety import (
53 _assert_archive_safe,
54 _collect_job_ids,
55 _lock_owner_active,
56 _require_free_space,
57 _slurm_activity,
58)
59from .inventory import (
60 _artifact_runtime_roots,
61 _checkpoint_step_from_bundle,
62 _artifact_component_layout,
63 _checkpoint_steps,
64 _classify_component,
65 _classify_workspace_component,
66 _completed_study_members,
67 _discover_dependencies,
68 _discover_external_paths,
69 _find_incomplete_checkpoints,
70 _inventory_fingerprint,
71 _path_is_within,
72 _resolve_configured_path,
73 _select_completed_case_ids,
74 _validate_case_id,
75 _walk_archive_entries,
76)
77from .packaging import (
78 _build_chunk_specs,
79 _chunk_extension,
80 _compression_size_range,
81 _entry_retained_by_policy,
82 _extract_chunk,
83 _merge_tree,
84 _resolve_offload_policy,
85 _safe_component_name,
86 _select_compression,
87 _validate_tar_members,
88 _write_tar_chunk,
89)
90from .compatibility import (
91 _capture_parameter_summary,
92 _capture_run_assets,
93 _capture_study_context,
94 _capture_workspace_assets,
95 _config_fingerprints,
96 _git_provenance,
97 _rebase_restored_text_paths,
98 _restore_study_context,
99)
100from .catalog import (
101 _find_reusable_archive,
102)
103from .operations import (
104 _download_archive_components,
105 _expand_checkpoint_selection,
106 _prune_archived_payload,
107 _register_existing_archive,
108 _render_plan,
109 _render_status,
110 _resolve_archive_id_from_args,
111)