comicbox.formats.filename.transform ยถ
Parse comic book archive names using the simple โparseโ parser.
A more sophisticaed library like pyparsing or rebulk might be able to build a faster, more powerful matching engine with fewer parsers with optional fields. But this brute force method with the parse library is effective, simple and easy to read and to contribute to.
FilenameTransform ยถ
Bases: BaseTransform
File name schema.
Source code in comicbox/formats/filename/transform.py
64 65 66 67 68 69 70 71 72 73 74 75 | |