← Về thư mục
skills/scientific-visualization/scripts/_common.py
- CliError · class · L17-L18 — class CliError(ValueError)
- checked_input_file · function · L21-L40 — def checked_input_file( value: str | os.PathLike[str], *, max_bytes: int = MAX_INPUT_BYTES, ) -> Path
- checked_output_file · function · L43-L69 — def checked_output_file( value: str | os.PathLike[str], *, force: bool = False, mkdir: bool = False, ) -> Path
- atomic_write_bytes · function · L72-L94 — def atomic_write_bytes(path: Path, payload: bytes, *, force: bool = False) -> None
- emit_json · function · L97-L114 — def emit_json( document: dict[str, Any], *, output: str | os.PathLike[str] | None = None, force: bool = False, ) -> None
- positive_int · function · L117-L125 — def positive_int(value: str) -> int
- positive_float · function · L128-L136 — def positive_float(value: str) -> float