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 ebookconverter
- The following directories should exist:
$PRIVATE/logs
$PRIVATE/logs/json
$PRIVATE/logs/json/backup
$PRIVATE/logs/notifications
$PRIVATE/logs/dopush
$PRIVATE/logs/dopush/backup
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ebookconverter-0.7.4.tar.gz
.
File metadata
- Download URL: ebookconverter-0.7.4.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ebb1a12b5b88033618b96a5fd2dd749e4a8773236e29e39c44ce2bdff9e5d1 |
|
MD5 | b703547afd556656dfa657672521a43a |
|
BLAKE2b-256 | f5ac6c910e528096c99363ac84ce585f6407018afe75e46d1bac1adb079fc876 |