Python utility for build comics
Project description
comic-parser
Python utility for building comic PDFs from .zip and .cbz archives.
Installation
pip install comic-parser
Usage
comic-parser <folder> "<comic name>" "<author>"
python -m comic_parser <folder> "<comic name>" "<author>"
Optional metadata arguments:
comic-parser <folder> "<comic name>" "<author>" \
--subject "<subject>" \
--keywords "<k1,k2>" \
--publisher "<publisher>" \
--series "<series>"
Arguments:
folder: directory containing the.zipor.cbzfiles to parse.comic name: base name used for the generated PDF files.author: author name included in the generated PDF file names.--subject: optional PDF subject metadata.--keywords: optional comma-separated PDF keywords.--publisher: optional publisher/editorial metadata included in the subject/keywords.--series: optional series metadata included in the subject/keywords.
Generated PDFs now include embedded metadata (title with chapter index, author, subject/keywords, creation/modification date, creator, producer), not only metadata in the file name.
Example project (test/)
Run the executable example script that creates a sample .cbz, generates a PDF, and verifies embedded metadata:
python test/test.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comic_parser-1.1-py3-none-any.whl.
File metadata
- Download URL: comic_parser-1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc765f15d5e206dd6c51e401229e919c07abba3eb5d48aac7cacc7ae761889c2
|
|
| MD5 |
a911aa3af64c392257ca8e60a35c93a5
|
|
| BLAKE2b-256 |
df217c330c27701519b8a9a72f54d9276e559d28ce4471d7e3ed03f8d22e81fd
|