Skip to main content

Japanese comic EPUB3 generate tool

Project description

comicepub

digital comic epub3 generator

Install

pip3 install comicepub

Usage

comicepub --help
usage: comicepub [-h] -t TITLE --author AUTHOR [--publisher PUBLISHER] [--language LANGUAGE] -i INPUT -o OUTPUT
                 [--cover COVER] [--version]

optional arguments:
  -h, --help            show this help message and exit
  -t TITLE, --title TITLE
                        Book title
  --author AUTHOR       Book author
  --publisher PUBLISHER
                        Book publisher
  --language LANGUAGE   Book language
  -i INPUT, --input INPUT
                        Source images directory of comic book
  -o OUTPUT, --output OUTPUT
                        Output filename of comic book
  --cover COVER         cover image file of comic book
  --version             show program's version number and exit
comicepub \
  -i /path/to/your/comicdir \
  -o /path/to/save/output.epub \
  --title "Comicbook" \
  --author "comicepub" \
  --language "zh"
from comicepub import ComicEpub

comicepub = ComicEpub("path/to/output.epub")

comicepub.title = ("Title", "Title")
comicepub.authors = [("Author 1", "Author 1")]
comicepub.publisher = ('Comicbook', 'Comicbook')
comicepub.language = "ja"

comicepub.add_comic_page(cover_data, cover_ext, cover=True)
for image_data, image_ext in images:
	comicepub.add_comic_page(image_data, image_ext, cover=False)

comicepub.save()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for comicepub, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size comicepub-0.2.1.tar.gz (7.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page