epicsarchiver.mgmt.archive_files
Handle parsing files of lists of PVs to submit for archiver operations.
Attributes
Functions
|
Parses an archive file. |
|
|
|
Parses a file with a list of pv as old_pv_name new_pv_name. |
|
Return a list of PV (as dict) from a list of files. |
|
Return a list of (current, new) PV names from a list of files. |
Module Contents
- epicsarchiver.mgmt.archive_files.LOG: logging.Logger[source]
- epicsarchiver.mgmt.archive_files.parse_archive_file(filename: pathlib.Path, appliance: str | None = None) collections.abc.Generator[dict[str, str], None, None][source]
Parses an archive file.
Archive file is a list of PVs with an archive policy name as optional arguement.
- epicsarchiver.mgmt.archive_files.parse_rename_file(filename: pathlib.Path) collections.abc.Generator[tuple[str, str], None, None][source]
Parses a file with a list of pv as old_pv_name new_pv_name.
- Parameters:
filename (str) – filename of rename file
- Yields:
Generator[tuple[str, str], None, None] – produces a pair old_pv_name, new_pv_name