Skip to main content

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()

Release files for comicepub 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comicepub 0.2.4
File Size Uploaded
comicepub-0.2.4.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for comicepub 0.2.4
File Interpreter ABI Platform
comicepub-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 19.9 kB

Release files / comicepub-0.2.4.tar.gz

Download URL comicepub-0.2.4.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
076ba1a540b907cd65c255cc77daded6dfbd9fd0e0ef7a4f71222bad6c4517ad
BLAKE2b-256 checksum
How to use checksums
e2c2bb78d7d17527757503ae7f3862ec57a1a1465719ea11331027a6dfe6e666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.6

Release files / comicepub-0.2.4-py3-none-any.whl

Download URL comicepub-0.2.4-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d159e054f5e09e6f0d8275b16a67435389bf8f276eb17ab5b4b379787c9345c
BLAKE2b-256 checksum
How to use checksums
9d7581260804ccc4cb871badd0ab7cf333d59fef1e264927b47910de82d5cb53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.3

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page