Skip to main content

ComiBat

PyPI - Python Version

Buy Me a Coffee at ko-fi.com

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

Metadata

Release files for comibat 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comibat 0.1.6
File Size Uploaded
comibat-0.1.6.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for comibat 0.1.6
File Interpreter ABI Platform
comibat-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 35.5 kB

Release files / comibat-0.1.6.tar.gz

Download URL comibat-0.1.6.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bfc87c0419942660f265242ab41c3a575419d497ab44034f16bbbb9bcda8bfb1
BLAKE2b-256 checksum
How to use checksums
ebcea42bd53f9c7c4628398982f40f14e0900c361591b1fe070a9081573f3941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / comibat-0.1.6-py3-none-any.whl

Download URL comibat-0.1.6-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aecde552344a966f4679f646b12ea39dac8905db3eab9b01dd3b0934d665cde3
BLAKE2b-256 checksum
How to use checksums
7fa2669060b5b62f6c0cd4e83cabd0ae83edcd3afebeba0053968677675616b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page