Calibre.Convert

Description

This Task converts text documents between a multitude of different file formats: azw, azw3, azw4, cbz, cbr, cbc, chm, djvu, docx, epub, fb2, html, htmlz, lit, lrf, mobi, odt, pdf, prc, pdb, pml, rb, rtf, snb, tcr, txt and txtz.

As its name suggests Calibre.Convert works with the open-source ebook management program Calibre under the hood.

Arguments

  • ebookconvert_executable (optional) is a string of the full path to your ebook-convert binary.
# ebookconvert_executable = '/Applications/calibre.app/Contents/MacOS/ebook-convert'  # default
ebookconvert_executable = '/my/non-default/ebook-convert'
  • extension (optional) is a string specifying your desired output format. Has to be one of the above list. Do not prefix a dot.
# extension = 'mobi'  # default
extension = 'epub'

Requirements

Python (Non-Standard-Library Packages)

None.

External Executables

API Credentials

None.

Resources