Skip to main content

Utility to convert a pdf for viewing in landscape mode

Project description

landscape-pdf

Utility to convert a pdf for viewing in landscape mode using PyPDF2 package. This makes it easier to read papers and other documents meant to a4 or letter format on ereader devices like the remarkable2 which do not make it easy to read content in landscape. Each page is converted to two overlapping pages covering the top and bottom of the original page.

before after

Installation

Can be installed using pip with

pip install landscape_pdf

Running

Installation places a script called landscape-pdf in the path which takes two arguments, the name of the pdf file to convert and the name of the output file. For example

landscape-pdf 2012.13391.pdf 2012.13391_landscape.pdf

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

landscape_pdf-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

landscape_pdf-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file landscape_pdf-0.0.2.tar.gz.

File metadata

  • Download URL: landscape_pdf-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for landscape_pdf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4be1e2e3f19ef2e37eecd54697554c8a94e87ad22f3abd61eec1c30285507ac6
MD5 30097762e99da48235a4c5e585be452d
BLAKE2b-256 4a00a3066ef26513c960c7d03f1f749e3bb4262488faaa0d962b94422cdf575d

See more details on using hashes here.

File details

Details for the file landscape_pdf-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: landscape_pdf-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for landscape_pdf-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba841bc08c65be9ac781a672aea902be0c4c3578e1c06cced329cf5bd5fcc96e
MD5 4abcd66a1f6bfec471da061a776f917a
BLAKE2b-256 9b4a03d03a9002e56ef97963ad0bc0c93d5b04f85acc544368ffea6b70e5a4d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page