comicbox.transforms.filename

source module comicbox.transforms.filename

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.

Classes

source class FilenameTransform()

Bases : BaseTransform

File name schema.