Skip to main content

Generate e-books in EPUB or MOBI from websites

Project description

Generate ebooks in epub (for iBooks) or mobi (for Kindle) from a collection of web links and feeds.

Donate lepture Latest Version Wheel Status

Installation

Install with pip:

$ pip install getbook

Note: this program only works on Python3.5+.

You may need to install kindlegen to create mobi format books.

Guide

There are serval ways to generate books.

  1. You can generate a book from a feed:

    $ getbook -u http://example.com/feed
    
  2. It is also possible to generate books from a config JSON file:

    $ getbook -f ./book.json
    

Use --format=mobi to generate mobi file for kindle:

$ getbook -f ./book.json --format=mobi

JSON Format

The required fields in book.json are:

  1. uid: the filename of the book
  2. title: book title
  3. author: author of the book
  4. chapters or sections

Get some examples in https://github.com/lepture/getbook/tree/master/demo

License

This program is licensed under APGL.

Project details


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
getbook-0.2-py3-none-any.whl (44.2 kB) Copy SHA256 hash SHA256 Wheel py3
getbook-0.2.tar.gz (43.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

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