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
Metadata
Release files for pypdf-merge-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypdf_merge_cli-0.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypdf_merge_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / pypdf_merge_cli-0.1.0.tar.gz
| Download URL | pypdf_merge_cli-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0673a4dee7734c6b4d46e1eb5ebe92a1842d30b63aec2a3145a68d4a0d429a8f
|
|
BLAKE2b-256 checksum How to use checksums |
2734bf53b847cea3f1a4d802f06ab997c284581d2c843e2a083ac30d0f8b04e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency logRelease files / pypdf_merge_cli-0.1.0-py3-none-any.whl
| Download URL | pypdf_merge_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45c3e469578ba7d26c4d2e07565fb1d088869acc8e4daa1489d3a2619bf80d11
|
|
BLAKE2b-256 checksum How to use checksums |
91f95c2d34c0a33f8d275d7c4d52647256cc6861948b361b8c443294dbc2049f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency log