Skip to main content

A tool to add a title page to CBZ comic book archives

Project description

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

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

comibat-0.1.5.tar.gz (17.6 kB view hashes)

Uploaded Source

Built Distribution

comibat-0.1.5-py3-none-any.whl (17.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page