A tool to add a title page to CBZ comic book archives
Project description
ComiBat
A tool to add a title page to CBZ comic book archives if it doesn't already exist. It uses the first image file in the archive as the title page, and also adds a Pages node with all the other pages to the ComicInfo.xml
file during the process.
This tool works only with CBZ files, as CBR and CB7 files are not supported and proprietary.
Requirements
- Python 3.5 or higher
- pip
Installation
ComiBat is available on PyPI. To install it, run the following command:
pip3 install comibat
Usage
To add a title page to a CBZ file, run the following command:
comibat <path/to/cbz/file>
This will add a title page to the CBZ file, and save it as a new CBZ file with the same name but with a (FIXED)
suffix.
If you do not specify any files, ComiBat will look for CBZ files in the current directory (not recursive).
Examples
Add a title page to a single CBZ file
comibat 'Maou-jou de Oyasumi Ch.310.cbz'
Add a title page to all CBZ files in the current directory
comibat
Add a title page to all CBZ files in the current directory recursively
comibat -r
Add a title page to all CBZ files in the current directory and output to a different directory
comibat -o 'C:\Users\User\Documents\Comic Books'
Add a title page to all CBZ files in the current directory recursively
comibat -r
Add a title page to all CBZ files in the current directory and output to a different directory
comibat -o 'C:\Users\User\Documents\Comic Books'
Add a title page to specific CBZ files using wildcards
comibat 'Maou-jou de Oyasumi Ch.*.cbz'
in a specific directory
comibat '/home/user/comics/*.cbz'
License
ComiBat is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.
About
By recoskyler - 2024
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file comibat-0.1.6.tar.gz
.
File metadata
- Download URL: comibat-0.1.6.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc87c0419942660f265242ab41c3a575419d497ab44034f16bbbb9bcda8bfb1 |
|
MD5 | 721c32cb37fd102d0409647ab1a0be42 |
|
BLAKE2b-256 | ebcea42bd53f9c7c4628398982f40f14e0900c361591b1fe070a9081573f3941 |
File details
Details for the file comibat-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: comibat-0.1.6-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aecde552344a966f4679f646b12ea39dac8905db3eab9b01dd3b0934d665cde3 |
|
MD5 | 3ef843838b1459619bee250a997ad7de |
|
BLAKE2b-256 | 7fa2669060b5b62f6c0cd4e83cabd0ae83edcd3afebeba0053968677675616b8 |