cache_cli#

CLI subcommands for managing the pipeline database cache.

Provides psnc cache list, psnc cache info, psnc cache rm, and psnc cache path commands.

Attributes#

Functions#

cache_group(→ None)

Manage cached pipeline databases.

cache_info_cmd(→ None)

Show detailed info for a cached pipeline database.

cache_list_cmd(→ None)

List all cached pipeline databases with metadata.

cache_path_cmd(→ None)

Print the resolved cache directory path.

cache_rm_cmd(→ None)

Remove cached pipeline databases.

Module Contents#

physicsnemo_curator.wiz.cache_cli.cache_group() None#

Manage cached pipeline databases.

physicsnemo_curator.wiz.cache_cli.cache_info_cmd(hash_prefix: str) None#

Show detailed info for a cached pipeline database.

HASH_PREFIX is the beginning of the database hash (at least 4 chars).

physicsnemo_curator.wiz.cache_cli.cache_list_cmd() None#

List all cached pipeline databases with metadata.

physicsnemo_curator.wiz.cache_cli.cache_path_cmd() None#

Print the resolved cache directory path.

physicsnemo_curator.wiz.cache_cli.cache_rm_cmd(
hash_prefixes: tuple[str, Ellipsis],
older_than: str | None,
remove_all: bool,
yes: bool,
) None#

Remove cached pipeline databases.

Provide HASH_PREFIXES to remove specific databases, or use –older-than or –all for bulk removal.

physicsnemo_curator.wiz.cache_cli.console#