📚 cbrtopdf
cbrtopdf is a command-line tool that converts CBR (Comic Book RAR) files into PDF, with proper support for:
-
Comics (left-to-right reading)
-
Manga (right-to-left reading)
-
Double-page spreads
-
Automatic page rotation
-
Chapter detection and PDF bookmarks
Built with a focus on correct reading order and clean output, without overcomplicated presets.
✨ Features
-
📦 Extracts .cbr archives
-
🖼️ Supports common image formats (JPG, PNG, WEBP, etc.)
-
✂️ Split horizontal double pages into two vertical pages
-
📖 Manga (RTL) and Comic (LTR) reading order
-
🔄 Rotate horizontal pages instead of splitting
-
📑 Automatically adds PDF bookmarks when chapters are detected
-
🧹 Optional cleanup of extracted files
-
🧠 Clear logs and predictable behavior
📦 Installation
pip install cbrtopdf
🔧 System Requirements
The following external tools must be installed on your system:
-
unrar
-
img2pdf
Debian / Ubuntu
sudo apt install unrar img2pdf
🚀 Usage
Basic conversion
cbrtopdf convert comic.cbr
This will generate:
comic.pdf
Metadata
Release files for cbrtopdf 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cbrtopdf-0.1.3.tar.gz | 4.4 kB | Without provenance | Details for cbrtopdf-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cbrtopdf-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for cbrtopdf-0.1.3-py3-none-any.whl |
Total release size: 10.1 kB
Release files / cbrtopdf-0.1.3.tar.gz
| Download URL | cbrtopdf-0.1.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7074856458d850cdec3b24df7dfcd2fcf0a991b15022d2626239e0193af8c38
|
|
BLAKE2b-256 checksum How to use checksums |
fe5ad2403c58e18e599948f35d7aa4b141bcd3038880a39a831db9c1f4ed940a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.12 Linux/5.15.0-161-generic
|
Release files / cbrtopdf-0.1.3-py3-none-any.whl
| Download URL | cbrtopdf-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f22c868198cdbfc04f19ddee901da6f4f68f633aaff1bdbecbcc9c62f03f9dd1
|
|
BLAKE2b-256 checksum How to use checksums |
820d85023a15fb2115912801fcfd4aab81b59ab6efcb8254b0fddc4c4c95179d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.12 Linux/5.15.0-161-generic
|
Security for cbrtopdf 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.