Rotate PDF easily from command line
Project description
rotatepdf
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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abbd5a07cd406062cd21dc67ef16e4f63cddee20c28bb0ee6026401e64233d5a
|
|
| MD5 |
e868e62f94c0bf3ddef38a5ba553e1bc
|
|
| BLAKE2b-256 |
b99f6dd16527cee3d5d643b91e702aa9b09ea8fbfa9a31d28c6e8a7442751d6c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb954721241641b3905e4585b053716f10ecf8a07e2cddd193de418516a8a477
|
|
| MD5 |
0a09e35457a083b0776d92b3937d90af
|
|
| BLAKE2b-256 |
b22d3359b66ddfd336032f836a4324728cc0df840a76602f0619574b625dee02
|