Is it possible to create .mobi files with python? if so, how?
Asked Answered
F

1

12

I want to be able to create .mobi files with python, but i haven't found anything about it after an hour of searching. I don't want to use Calibre or softwares like it, just plain python.

Felly answered 4/6, 2012 at 18:43 Comment(1)
calibre is an open source software that is written in python ... download their source and look at it to see what its doing.... and look at the file definition for mobi files wiki.mobileread.com/wiki/MOBICharcuterie
L
10

I'd recommend to take a look at this repo, if you don't want to use calibre (which is great and has a CLI). While this script has created for creating a .mobi for the Guardian, you can modify it to your taste.

Lamentation answered 5/6, 2012 at 7:59 Comment(1)
As far as I understand the script (see last lines), the mobi conversion is handled by kindlegen.Decollate

© 2022 - 2024 — McMap. All rights reserved.