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.

Source Distribution

getbook-0.2.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

getbook-0.2-py3-none-any.whl (44.2 kB view details)

Uploaded Python 3

File details

Details for the file getbook-0.2.tar.gz.

File metadata

  • Download URL: getbook-0.2.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3

File hashes

Hashes for getbook-0.2.tar.gz
Algorithm Hash digest
SHA256 2711eeb564cb92fa064ae944d1e556ba926abde65de9b51f6fa6cfcf43c25d2f
MD5 aa7501dde7346ed2e46388566ab6e5cb
BLAKE2b-256 9632d252a9d155eafbf40b3f4971b801bd9cf2e715ef6718de17ed2281034500

See more details on using hashes here.

File details

Details for the file getbook-0.2-py3-none-any.whl.

File metadata

  • Download URL: getbook-0.2-py3-none-any.whl
  • Upload date:
  • Size: 44.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.3

File hashes

Hashes for getbook-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 885088eb676030f757ee1124ab0d4d8d47feb05e934a85f4e907ff83fa60c483
MD5 9351332a2617dac1123b503f00a2b00b
BLAKE2b-256 c0f61b3026b9c2e544e5c7770319d91fa7b437f6ddc8d57eb89dca6d63792f4a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page