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
Release history Release notifications | RSS feed
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.4.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
comicepub-0.2.4-py3-none-any.whl
(11.0 kB
view details)
File details
Details for the file comicepub-0.2.4.tar.gz.
File metadata
- Download URL: comicepub-0.2.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
076ba1a540b907cd65c255cc77daded6dfbd9fd0e0ef7a4f71222bad6c4517ad
|
|
| MD5 |
8e3228bc6b9db2234c60b09db981363b
|
|
| BLAKE2b-256 |
e2c2bb78d7d17527757503ae7f3862ec57a1a1465719ea11331027a6dfe6e666
|
File details
Details for the file comicepub-0.2.4-py3-none-any.whl.
File metadata
- Download URL: comicepub-0.2.4-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d159e054f5e09e6f0d8275b16a67435389bf8f276eb17ab5b4b379787c9345c
|
|
| MD5 |
d8aa7358aad6c67d87b3eda38984eed0
|
|
| BLAKE2b-256 |
9d7581260804ccc4cb871badd0ab7cf333d59fef1e264927b47910de82d5cb53
|