Skip to main content

The Project Gutenberg tool to orchestrate ebook generation.

Project description

# ebookconverter code that orchestrates ebook conversion for project gutenberg

EbookConverter manages the creation and update of ebook assets for Project Gutenberg. It uses a postgres database to keep track of both ebook metadata and ebook files. the postgress database is managed by the libgutenberg package.

The cron-rebuild-files.sh script runs as a cron job, rebuilding 2100 books per day, so as to rebuild every book roughly once a month.

ebookconverter talks to the gutenberg database to build a list of ebookmaker jobs. These jobs require some metadata about the book, and a target file to process.

ebookconverter expects source files to be in numbered directories in a ‘files’ directory. The location of the files directory is given by the FILESDIR config parameter.

Config parameters should be set in a file at /etc/ebookconverter.conf or ~/.ebookconverter

ebookconverter has been tested on Python 3.6.7. It’s not expected to run on python 2.7

## Installing

pipenv install -e git+https://github.com/gutenbergtools/libgutenberg.git@dev#egg=libgutenberg[covers,postgres] pipenv install -e git+https://github.com/gutenbergtools/ebookmaker@dev#egg=ebookmaker pipenv install -e git+https://github.com/gutenbergtools/ebookconverter.git@dev#egg=ebookconverter

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

ebookconverter-0.5.1.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file ebookconverter-0.5.1.tar.gz.

File metadata

  • Download URL: ebookconverter-0.5.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for ebookconverter-0.5.1.tar.gz
Algorithm Hash digest
SHA256 91aaf2ef610a93983faf5470a3fdf8799d9ba2c8359268b19939070a5bab652b
MD5 ff7b1f9c9bd63d49ee25bf3999b55799
BLAKE2b-256 ec130bbe9fe25cb767495c20110dc64fec80b71011a620e7f0e9cbf9390d7558

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