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.
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.1.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file pdfebook-0.1.1.tar.gz
.
File metadata
- Download URL: pdfebook-0.1.1.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 | 74878fa8d7a7f35b00a82f34786ec1e0d4693e26af349a3af5fa8107fead2eb9 |
|
MD5 | e4c5ebfd6c788b4d5d56640553be5873 |
|
BLAKE2b-256 | 0e67ba5f4a3cf6cd195308ddf55ae7e635f5356e955881e6d8ac62a57dabb510 |
File details
Details for the file pdfebook-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pdfebook-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 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 | c98e638671911948a2c83e704c06e8fb270fcbf67310a2700c7621efc9433a8f |
|
MD5 | e621fe8cfb9dfc26cbbc59d14e6fe732 |
|
BLAKE2b-256 | db4e3929629f0fa19bbec247b63526a2dd1402e8d7b296cf8f58ad53dd244cb5 |