Skip to main content

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.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

pdfebook-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pdfebook-0.1.0.tar.gz.

File metadata

  • Download URL: pdfebook-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for pdfebook-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0841601c478ab97d69a7d4de807e3509572cc4199bf6fe17c9bf10ea537ac9ad
MD5 c8fd6d2265ae5e6d04e3a37183d3003b
BLAKE2b-256 5982e96fddcfc8545f348db8ed7adb9fd9433b77ef90396c71a97ef409a91970

See more details on using hashes here.

File details

Details for the file pdfebook-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdfebook-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for pdfebook-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f6c5ba69d706c377df52be0f76b02c230c6d276067f4030cf2e7b2954520e8
MD5 6be1cf5eeff8ebf470d361744ad2bc6d
BLAKE2b-256 01620084ee2592097f9c9a20ee914eab504c287f97b64a4b843d5177643fda0b

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