Skip to main content

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

Metadata

Release files for rotatepdf 2025.3.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rotatepdf 2025.3.25
File Size Uploaded
rotatepdf-2025.3.25.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rotatepdf 2025.3.25
File Interpreter ABI Platform
rotatepdf-2025.3.25-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / rotatepdf-2025.3.25.tar.gz

Download URL rotatepdf-2025.3.25.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
abbd5a07cd406062cd21dc67ef16e4f63cddee20c28bb0ee6026401e64233d5a
BLAKE2b-256 checksum
How to use checksums
b99f6dd16527cee3d5d643b91e702aa9b09ea8fbfa9a31d28c6e8a7442751d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / rotatepdf-2025.3.25-py3-none-any.whl

Download URL rotatepdf-2025.3.25-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb954721241641b3905e4585b053716f10ecf8a07e2cddd193de418516a8a477
BLAKE2b-256 checksum
How to use checksums
b22d3359b66ddfd336032f836a4324728cc0df840a76602f0619574b625dee02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

2025.3.25 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page