Move common utility functions, such as md5sum calculation and file name sanitizing, into a separate utils.py module. This will improve code organization and reusability.
Tasks:
Create a utils.py file in the project.
Refactor existing logic for md5sum calculation and file name sanitizing into this new module.
Update all references in the codebase to use the new utility functions.
Ensure that all unit tests are updated and passing.
Description:
Move common utility functions, such as
md5sum
calculation and file name sanitizing, into a separateutils.py
module. This will improve code organization and reusability.Tasks:
utils.py
file in the project.md5sum
calculation and file name sanitizing into this new module.