028b728d82
Moves to Python format strings for renaming, handles directory structures, moving of files to a destination directory, sanitizes file paths with pathvalidate and takes a different approach to smart filename cleanup using the Python string.Formatter class Moving to Python format strings means we can point to python documentation for syntax and all we have to do is document the properties and types that are attached to the GenericMetadata class. Switching to pathvalidate allows comictagger to more simply handle both directories and symbols in filenames. The only changes to the string.Formatter class is: 1. format_field returns an empty string if the value is none or an empty string regardless of the format specifier. 2. _vformat drops the previous literal text if the field value is an empty string and lstrips the following literal text of closing special characters.
8 lines
94 B
Plaintext
8 lines
94 B
Plaintext
beautifulsoup4 >= 4.1
|
|
natsort>=8.1.0
|
|
pillow>=4.3.0
|
|
requests==2.*
|
|
pathvalidate
|
|
pycountry
|
|
py7zr
|