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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file tetebeche-0.1.1.tar.gz.

File metadata

  • Download URL: tetebeche-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for tetebeche-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5eaa0477206833b584a119ec692f80db6a2faedb7f32ecf9e0d21d1c1a0220d9
MD5 dd0e93cd168b20c351e2357d21c6be1e
BLAKE2b-256 ba004d45477b0ea4bd1c0131d09d639d4381b95f72268558f8330985eb8407a1

See more details on using hashes here.

File details

Details for the file tetebeche-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tetebeche-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for tetebeche-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5faa122d4a4348bec583bec5328109b10479381b17e83b617eb12b20952cff33
MD5 08a8f6cfb0c624b6c30c4c154136fc56
BLAKE2b-256 42bf76af59e2a22e24f68efc0d4a597c6a46fd25a419153b343d4da8a5950b91

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