Skip to main content
Help us improve Python packaging – donate today!

A command-line tool to make ebook of comics.

Project Description

ComicGen is the commandline tool to make ebooks formatted by mobi file format from jpeg images. This is convinience when you want make own ebook comics scaned by yourself.

Install

Install it by easy way through pip:

pip install comicgen

or use easy_install:

easy_install comicgen

If you have not use virtualenv and virtualenvwrapper yet, it is very nice tool to make a depended environment:

mkvirtualenv comicgen
pip install comicgen

See details on virtualenvwrapper document.

Usage

First of all, you have to make the dir containig image of pages:

./comic_title
    |- 0001.jpg
    |- 0002.jpg
    |- 0003.jpg
    |- 0004.jpg
    |- 0005.jpg
    |- 0006.jpg
    +- 0007.jpg

You also have to download the kindlegen package from the official site and unpacked it:

$ wget http://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip
$ unzip KindleGen_Mac_i386_v2_9.zip

If you finished to make it and install the depended libraries, run its command:

$ mkdir output
$ comicgen --title 'Hello Comic' --author 'Takahiro Fujiwara' --publisher 'ComicGen' --output ./output -k ./kindlegen ./comic_title

A mobi file will appear in the output dir that you set as the option of comicgen:

$ ls ./output
Hello Comic.mobi

Advanced Usage

When you buy so many comics and scan them, comicgen-volumes command is nice.

Separate volumes by each directories:

./comic_title
    +- 0001
    |   |- 0001.jpg
    |   |- 0002.jpg
    |   +- 0003.jpg
    +- 0002
        |- 0001.jpg
        +- 0002.jpg

And run it:

$ comicgen-volumes --title-template 'Hello Comic %(volume)i' --author 'Takahiro Fujiwara' --publisher 'ComicGen' --output ./output -k ./kindlegen ./comic_title

License

ComicGen is released under the MIT License. http://www.opensource.org/licenses/mit-license

Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
comicgen-0.3-py2.7.egg (7.9 kB) Copy SHA256 hash SHA256 Egg 2.7 Mar 3, 2014
comicgen-0.3.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None Mar 3, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page