solidipes.loaders.file_sequence module

class solidipes.loaders.file_sequence.FileSequence(pattern, paths)[source]

Bases: Sequence, CachedMetadata, Group

Sequence of files

_abc_impl = <_abc._abc_data object>
static _find_groups(is_dir_path_dict: dict[str, bool]) dict[str, list[str]][source]

Find groups of file and directory names.

From a list of file and directory names (on a single level), return a dictionary with - key: pattern, - value: list of file and directory names that belong to the group.

_load_element(n)[source]

Must raise KeyError if element does not exist

Override this method in subclasses.

_set_total_size()[source]
property modified_time
property paths
select_file(n)[source]