Skip to main content

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.

Release files for getbook 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getbook 0.3
File Size Uploaded
getbook-0.3.tar.gz 41.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for getbook 0.3
File Interpreter ABI Platform
getbook-0.3-py2-none-any.whl Python 2 none any Details

Total release size: 92.7 kB

Release files / getbook-0.3.tar.gz

Download URL getbook-0.3.tar.gz
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a095cc1594022d881dcac0250915d1894f02562542a9ead001ae4b42b2deea6b
BLAKE2b-256 checksum
How to use checksums
7aa74a532e2d49941fed08ac9a225a4ceed25fefe2e3cdca7d38518afbcb4598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / getbook-0.3-py2-none-any.whl

Download URL getbook-0.3-py2-none-any.whl
Size 51.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
82a8120d56a4eae20fb7d6fa184f6e9697f3cd9cba960f6fa904004a5fe60ce7
BLAKE2b-256 checksum
How to use checksums
9493cc177112e97c0ec5d1360eac93827c261db12ec18e988ddce08f8a8de857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page