All formats

CBZ libraries for Python

Two good options, depending on how much comic logic you want written for you: