A tool to produce a PDF ebook from an cover image and interior PDF
Project description
pdfebook
A tool to produce a PDF ebook from a cover image and interior PDF, or a ZIP archive containing a PDF ebook and an EPUB.
Installation
Python 3.12 or better is expected.
pip install pdfebook
Usage
To produce just a PDF:
pdfebook \
--cover cover.jpg \
--interior interior.pdf \
--author "An Author" \
--title "Title of Book" \
--outfile ebook.pdf
You can include a back cover, too:
pdfebook \
--cover cover.jpg \
--interior interior.pdf \
--author "An Author" \
--title "Title of Book" \
--back back_cover.jpg \
--outfile ebook.pdf
Or, if you have an EPUB, you can create a ZIP file with both formats:
pdfebook \
--cover cover.jpg \
--interior interior.jpg \
--author "Quite N. Author" \
--title "That Book" \
--outfile "that_book.zip"
In the latter case, the resulting ZIP file will contain a directory,
that_book
, itself containing files that_book.pdf
and that_book.epub
.
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
pdfebook-0.1.3.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file pdfebook-0.1.3.tar.gz
.
File metadata
- Download URL: pdfebook-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51d6061cd5bad3f92ddbca46a0fc9a7b8f43e143d00d977d157a8603b6ff09d |
|
MD5 | b058dbf205cc2fbc751ad898e5d1ba3b |
|
BLAKE2b-256 | 0f899c6119c1d977ec0d8db1b128b1c0dd88c5975e7bf3da3305501360d03596 |
File details
Details for the file pdfebook-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: pdfebook-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49663c39910710edd89ee838e5c8d3008ee2b08698090ad2550100f13401046 |
|
MD5 | e86e74a6bb65042ff9700941a67d3c43 |
|
BLAKE2b-256 | 203a4a018838844fdefa1ba63a9e146c2037179b9e1a582c2e093bb63ebb8134 |