Skip to main content

Rotate PDF easily from command line

Project description

rotatepdf

Tests PyPI release PyPI version

Rotate pdf pages from command line.

How to use

Here is an example for rotating page 1 to page 3 by 90 degrees clockwise.

rotatepdf.py --src src.pdf --dst dst.pdf --rotate-right 1-3

It's also possible to rotate in multiple ways in one go.

rotatepdf.py --src src.pdf --dst dst.pdf --rotate-right 1-3 --rotate-180 4-10

Installing

pip install -e git://github.com/AndreMiras/rotatepdf.git#egg=rotatepdf

Dev

Run tests:

make pytest
# or
tox -e py

Lint:

make lint

Format:

make format

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

rotatepdf-2025.3.25.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

rotatepdf-2025.3.25-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file rotatepdf-2025.3.25.tar.gz.

File metadata

  • Download URL: rotatepdf-2025.3.25.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for rotatepdf-2025.3.25.tar.gz
Algorithm Hash digest
SHA256 abbd5a07cd406062cd21dc67ef16e4f63cddee20c28bb0ee6026401e64233d5a
MD5 e868e62f94c0bf3ddef38a5ba553e1bc
BLAKE2b-256 b99f6dd16527cee3d5d643b91e702aa9b09ea8fbfa9a31d28c6e8a7442751d6c

See more details on using hashes here.

File details

Details for the file rotatepdf-2025.3.25-py3-none-any.whl.

File metadata

  • Download URL: rotatepdf-2025.3.25-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for rotatepdf-2025.3.25-py3-none-any.whl
Algorithm Hash digest
SHA256 fb954721241641b3905e4585b053716f10ecf8a07e2cddd193de418516a8a477
MD5 0a09e35457a083b0776d92b3937d90af
BLAKE2b-256 b22d3359b66ddfd336032f836a4324728cc0df840a76602f0619574b625dee02

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