Skip to main content

pypdf-merge-cli

pypdf-merge-cli

License: MIT Python

Tiny CLI to merge PDF files into one. Wraps pypdf (pure Python, no system dependencies).

Install

pip install -e .

Requires Python 3.9+.

Usage

pypdfmerge a.pdf b.pdf c.pdf                  # writes merged.pdf
pypdfmerge a.pdf b.pdf -o combined.pdf        # explicit output path
Argument Required Description
pdfs yes PDF files to merge, in order (2 or more)
-o, --output no Output PDF path (default: merged.pdf)

On success, prints the output path, page count, and file size:

merged.pdf (12 pages, 48213 bytes)

Exits non-zero with an error message if any input file doesn't exist.

Development

pip install -e .
python tests/test_merge.py

License

MIT © Jefferson Gonçalves

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypdf_merge_cli-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

pypdf_merge_cli-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pypdf_merge_cli-0.1.0.tar.gz.

File metadata

  • Download URL: pypdf_merge_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pypdf_merge_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0673a4dee7734c6b4d46e1eb5ebe92a1842d30b63aec2a3145a68d4a0d429a8f
MD5 afde8ba995867115859131cdb70f1352
BLAKE2b-256 2734bf53b847cea3f1a4d802f06ab997c284581d2c843e2a083ac30d0f8b04e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypdf_merge_cli-0.1.0.tar.gz:

Publisher: publish.yml on jeffersongoncalves/pypdf-merge-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pypdf_merge_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pypdf_merge_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45c3e469578ba7d26c4d2e07565fb1d088869acc8e4daa1489d3a2619bf80d11
MD5 a8749b273983427467d3dc286fa29628
BLAKE2b-256 91f95c2d34c0a33f8d275d7c4d52647256cc6861948b361b8c443294dbc2049f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypdf_merge_cli-0.1.0-py3-none-any.whl:

Publisher: publish.yml on jeffersongoncalves/pypdf-merge-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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