kindle_maker is a Python tool which, given a set of html files and a plain text file with toc message, creates a MOBI file that you can directly use on you Amazon Kindle (or any other device that supports MOBI documents).
Want to see what it looks like? Take a look at examples!
pip install git+https://github.com/jachinlin/kindle_maker.git
from kindle_maker import make_mobi source_dir = 'put the source dir here' output_dir = 'where you want to put the output mobi file' make_mobi(source_dir, output_dir)
make_mobi <source_dir> <output_dir>
This will create a
<output dir>. You can now transfer this
file to your device.
see examples at examples.