Metadata-Version: 2.1
Name: pdf-to-cb
Version: 1.0.0
Summary: PDF to Comic Book format
License: Apache-2.0
Author: Marco Ceppi
Author-email: marco@ceppi.net
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: pdf2image (>=1.17.0,<2.0.0)
Requires-Dist: rich (>=13.7.0,<14.0.0)
Requires-Dist: typer (>=0.9.0,<0.10.0)
Description-Content-Type: text/markdown

# PDF to Comic Book format

Python CLI to convert PDFs to either CBZ or CBR.

## Install

### Pre-requisites

poppler needs to be installed and available in path before using pdf-to-cb.

**Debian / Ubuntu**
```sh
sudo apt install poppler-utils
```

**RHEL / CentOS / Fedora**
```sh
sudo dnf install poppler poppler-utils
```

**Arch**
```sh
sudo pacman -S poppler
```

**Mac / OSX**
```sh
brew install poppler
```

**Windows**
This isn't tested or fully supported for this package. However, downloading and installing [poppler-windows](https://github.com/oschwartz10612/poppler-windows) into the system path may work.

### pipx

pipx is available for Linux, OSX, and Windows. Follow the [install instructions first for pipx](https://pipx.pypa.io/stable/installation/) then the following:

```
pipx install pdf-to-cb
```

## Usage

```sh
pdf-to-cb --format cbz *.pdf ~/complete/
```


Original inspiration: https://github.com/mathewskevin/pdf-to-cbz

