Skip to main content

Script to generate a tėte-bêche book from two pdfs

Project description

tetebeche

This is a tiny script of use only to eccentric publishers. It uses PyPDF2 to create a tête-bêche book from two input pdfs. The two pdfs are merged, with the second reversed and rotated 180°.

The user should ensure that the input PDFs have the same page dimensions and that both have an even number of pages.

Installation

pip install tetebeche

Usage

usage: tetebeche [-h] book1 book2 merged

positional arguments:
  book1       path to first (non-reversed) book
  book2       path to second (reversed) book
  merged      path to merged output file

options:
  -h, --help  show this help message and exit

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

tetebeche-0.1.1.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

tetebeche-0.1.1-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

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