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.

Source Distribution

comicepub-0.2.3.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

comicepub-0.2.3-py2-none-any.whl (10.4 kB view hashes)

Uploaded Python 2

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