Skip to main content

Merge pdf

Merge by name, all pdfs in the current folder, or specific list of files, into a single pdf file

Install

$ pip install merge-pdf

How to use

# Import module
from merge_pdf import merge

# Path of the output pdf file
output_file = "c:\\output\\merged_files.pdf"

# Folder of the output file
output_file_folder = "c:\\output"

# Folder within have pdf files
folder_files_pdf = "c:\\pdf_files"

# List of specific pdf files
files_list = [
    "c:\\pdf_files\\01.pdf",
    "c:\\pdf_files\\02.pdf",
    "c:\\pdf_files\\03.pdf"
]

# Merge the files inside of specific folder and save in output file
merge.Merge (output_file).merge_folder (folder_files_pdf)

# Use a folder to generate the output file with the default name in this folder
merge.Merge (output_file_folder).merge_folder (folder_files_pdf)

# Merge specific list of files
merge.Merge (output_file, replace= True).merge_file_list (files_list)

# Merge files and allow replace existing file output
merge.Merge (output_file, replace=True).merge_folder (folder_files_pdf)

# Merge files and print the status of the program
merge.Merge (output_file, debug=True).merge_folder (folder_files_pdf)

Metadata

Release files for merge-pdf 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for merge-pdf 1.0.1
File Size Uploaded Provenance
merge_pdf-1.0.1.tar.gz 3.6 kB Without provenance Details

Release files / merge_pdf-1.0.1.tar.gz

Download URL merge_pdf-1.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
52dd19e67fa419bf2469c6e76936a3dc5e1dec0411fe5c15d3e2b83d07609d6e
BLAKE2b-256 checksum
How to use checksums
5927f8e0f9ab665ab7b80709037ce216bdab1ad1a956e945b0e937edc1155775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.16

Security for merge-pdf 1.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

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