Skip to main content

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.

Metadata

Release files for pdfebook 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdfebook 0.1.4
File Size Uploaded Provenance
pdfebook-0.1.4.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pdfebook 0.1.4
File Interpreter ABI Platform
pdfebook-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / pdfebook-0.1.4.tar.gz

Download URL pdfebook-0.1.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8bf114cc2ca0581f6107ff8f009d367ebba91b913da013ea01de0babcf82beb9
BLAKE2b-256 checksum
How to use checksums
4b57324ffbfb3147f28e3dbb4c0f4441ba7c1bc7a1842e1a353d85f17788f80f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Release files / pdfebook-0.1.4-py3-none-any.whl

Download URL pdfebook-0.1.4-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6f9a7c804bd4a11e13db2aa0107471f1448865819c533fc167c0e1df8d89872
BLAKE2b-256 checksum
How to use checksums
dd92c1d048c56276e929e10490861cbf8b388fa51080048f498b2362517bf36c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Security for pdfebook 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page