pypdf-merge-cli
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0673a4dee7734c6b4d46e1eb5ebe92a1842d30b63aec2a3145a68d4a0d429a8f
|
|
| MD5 |
afde8ba995867115859131cdb70f1352
|
|
| BLAKE2b-256 |
2734bf53b847cea3f1a4d802f06ab997c284581d2c843e2a083ac30d0f8b04e0
|
Provenance
The following attestation bundles were made for pypdf_merge_cli-0.1.0.tar.gz:
Publisher:
publish.yml on jeffersongoncalves/pypdf-merge-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypdf_merge_cli-0.1.0.tar.gz -
Subject digest:
0673a4dee7734c6b4d46e1eb5ebe92a1842d30b63aec2a3145a68d4a0d429a8f - Sigstore transparency entry: 2625673046
- Sigstore integration time:
-
Permalink:
jeffersongoncalves/pypdf-merge-cli@a3ce6b71842c992f2094c3f7b2a2cac2d873f166 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/jeffersongoncalves
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3ce6b71842c992f2094c3f7b2a2cac2d873f166 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pypdf_merge_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pypdf_merge_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45c3e469578ba7d26c4d2e07565fb1d088869acc8e4daa1489d3a2619bf80d11
|
|
| MD5 |
a8749b273983427467d3dc286fa29628
|
|
| BLAKE2b-256 |
91f95c2d34c0a33f8d275d7c4d52647256cc6861948b361b8c443294dbc2049f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypdf_merge_cli-0.1.0-py3-none-any.whl -
Subject digest:
45c3e469578ba7d26c4d2e07565fb1d088869acc8e4daa1489d3a2619bf80d11 - Sigstore transparency entry: 2625673085
- Sigstore integration time:
-
Permalink:
jeffersongoncalves/pypdf-merge-cli@a3ce6b71842c992f2094c3f7b2a2cac2d873f166 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/jeffersongoncalves
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3ce6b71842c992f2094c3f7b2a2cac2d873f166 -
Trigger Event:
release
-
Statement type: