Skip to main content

A CLI to splice and dice your PDFs

Project description

PDFSplicer

Repository License PyPi

A CLI to splice and dice your PDFs

Install

Some variation of

pip install pdfsplicer

or

pipx install pdfsplicer

Usage

The pdfsplicer command line application takes several input file PDFs, each with a list of page indices or ranges to slice, and concatenates the result, writing to an output PDF.

For example, the following will take pages one and three from foo.pdf, all except the first and last pages of bar.pdf, and will write the result to baz.pdf:

pdfsplicer -f foo.pdf 1 3 -f bar.pdf 2:-1 -o baz.pdf

Rearranged for clarity:

pdfsplicer \
    -f foo.pdf 1 3 \
    -f bar.pdf 2:-1 \
    -o baz.pdf

Pages can be sliced from PDFs with 1-based indices. See --help for more information.

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

pdfsplicer-0.0.3.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

pdfsplicer-0.0.3-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file pdfsplicer-0.0.3.tar.gz.

File metadata

  • Download URL: pdfsplicer-0.0.3.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for pdfsplicer-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b86780cf205289ec6c2e4e1284facdca43f9c6e7370b371e801d2713b68e6c5b
MD5 83af85728465c3f3cac40a1cac13d43c
BLAKE2b-256 ea13ba1a9d236c4e73aeed88c6a4b88dadbcd1376d27763a65706f52769ae46e

See more details on using hashes here.

File details

Details for the file pdfsplicer-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pdfsplicer-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for pdfsplicer-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 08b82b07e775dd454b0ce9ad59682ba7fcc6217f78ef840229b38bd4fbc5ccc9
MD5 b4247094920d6b90e656cf1f8e5d9969
BLAKE2b-256 7e34c93f2b25479fefe1f5992dcdc272f954b20075f4268c1975b2308c0b361f

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