comicpy
Tool to create CBR or CBZ files.
Extracts images from PDF, ZIP, CBR files, generating comic files respecting their original order.
The original files are not altered.
Installation
pip install comicpy
Usage
>>> from comicpy import ComicPy
>>>
>>> pdf_file = 'pdf_comic.PDF'
>>>
>>> comic = ComicPy(unit='mb')
>>> data = comic.process_pdf(filename=pdf_file, compressor='zip')
>>>
>>> metaFileCompress = comic.write_cbz(currentFileZip=data)
>>> print(metaFileCompress)
{'name': 'FNAE CAPS 01-04 (TOMO1).cbz', 'size': '76.63 MB'}
>>>
>>> comic.check_integrity(filename=metaFileCompress['name'])
File is valid?: "True"
True
>>> comic.check_integrity(filename=metaFileCompress['name'], show=False)
True
Release files for comicpy 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| comicpy-0.1.1.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comicpy-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.9 kB
Release files / comicpy-0.1.1.tar.gz
| Download URL | comicpy-0.1.1.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7649c68b867b20f46c276c86cecc18fde1758043894aea4a79849d7638c7f055
|
|
BLAKE2b-256 checksum How to use checksums |
22e97b8b9a44537ed50e878ae29ce9aec35522a91a68f71184f929c16dd3515c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.6 Linux/6.6.8-100.fc38.x86_64
|
Release files / comicpy-0.1.1-py3-none-any.whl
| Download URL | comicpy-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08af2227ca5918101fcade05a9ee20897a621a8831a5aa8fc581192255dab770
|
|
BLAKE2b-256 checksum How to use checksums |
41536c8f618ada413982a93dab4a1912d5e4c3ae292ad40d9963449419b4c3ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.6 Linux/6.6.8-100.fc38.x86_64
|