{"id":20438695,"url":"https://github.com/anurag1101/pdf_merger","last_synced_at":"2026-05-09T13:36:55.238Z","repository":{"id":261420669,"uuid":"884256712","full_name":"Anurag1101/PDF_Merger","owner":"Anurag1101","description":"Python script to merge multiple PDF files into a single PDF, using PyPDF2. Includes error handling and user feedback for a smooth merging experience.","archived":false,"fork":false,"pushed_at":"2024-12-12T16:46:07.000Z","size":288,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T19:55:11.001Z","etag":null,"topics":["package","pdf","pdf-merger","pypdf2","python","python-script","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anurag1101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-06T12:34:25.000Z","updated_at":"2024-12-12T16:46:11.000Z","dependencies_parsed_at":"2024-11-06T13:49:23.365Z","dependency_job_id":"6f5f4e93-b482-423f-a5e0-5aa664ba3aea","html_url":"https://github.com/Anurag1101/PDF_Merger","commit_stats":null,"previous_names":["anurag1101/pdf_merger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FPDF_Merger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FPDF_Merger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FPDF_Merger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anurag1101%2FPDF_Merger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anurag1101","download_url":"https://codeload.github.com/Anurag1101/PDF_Merger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241983957,"owners_count":20052789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package","pdf","pdf-merger","pypdf2","python","python-script","python3"],"created_at":"2024-11-15T09:12:59.202Z","updated_at":"2026-05-09T13:36:50.212Z","avatar_url":"https://github.com/Anurag1101.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Merger\n\nA Python utility for merging multiple `PDF` files into a single `PDF`. This script, using the `PyPDF2` library, reads a list of specified `PDF` files, merges them, and saves the result as a single `PDF` file. It also includes error handling to ensure smooth operation.\n\n## Features:\n\n- Combines multiple `PDF` files into one.\n\n- Simple to set up and use.\n  \n- Handles common errors, such as missing files.\n\n- Provides feedback on each file added and the final output.\n\n## Requirements:\n\n- Python 3.x\n\n- PyPDF2 library\n\nYou can install the PyPDF2 library with pip:\n\n    pip install PyPDF2\n\n## Setup:\n\n- Clone or download this repository.\n  \n- Place the `PDF` files you want to merge into the project folder.\n  \n## Usage:\n\n### Open the script file and modify the pdfiles list with the names of the PDFs you want to merge.\n\n**Example:**\n\n    pdfiles = [\"ps.pdf\", \"py.pdf\"]\n\n### Run the script:\n\n    python PDF_Merger.py\n\n### The merged PDF will be saved as `merged.pdf` in the same directory.\n\n## Error Handling:\n\n### The script includes error handling for:\n\n- FileNotFoundError: Checks if the specified PDF files are present. If not, it alerts the user.\n  \n- General Exceptions: Catches any other unexpected errors that may occur during file processing.\n\n## Output\nThe merged PDF file is saved as `merged.pdf` in the project folder. Each time the script is run, it will overwrite any existing `merged.pdf` file in the directory.\n\n## Contributions:\n\n`Contributions`, `suggestions`, and `bug reports` are welcome. Feel free to fork the repository and make your changes.\n\n## License:\n\nThis project is licensed under the `MIT` License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanurag1101%2Fpdf_merger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanurag1101%2Fpdf_merger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanurag1101%2Fpdf_merger/lists"}