API reference

namefiles

namefiles.disassemble_filename(target_path)

Disassembles a file’s name into the parts defined by a file naming convention.

namefiles.construct_filename([…])

Constructs a filename using a filename convention.

namefiles.construct_filepath([…])

Constructs a filepath using a file naming convention.

namefiles.extract_filename_parts(…[, …])

Extracts filename parts from a dictionary based by a file naming convention.

namefiles.get_filename_convention([…])

Gets the currently defined file naming convention.

namefiles.get_filename_validator([…])

Returns a filename validator for applying the file naming convention.

namefiles.is_a_filename_part(part_name[, …])

Returns if the part name is within the file naming convention.

namefiles.register_filename_validator(…)

Registers file naming convention.