A simple Python project that demonstrates how to merge multiple PDF files into a single PDF using the pikepdf library.
- Merge multiple PDF files into one document
- Preserves the original page order
- Lightweight and beginner-friendly
- Easy to customize for your own projects
- Python 3
- pikepdf
.
├── pdf_merger.py
├── requirements.txt
├── .gitignore
└── README.md
- Clone the repository:
git clone https://github.com/Suresh-Chaudhary-9315/PDF-Merger-Using-Python.git- Navigate to the project folder:
cd Merge-Multiple-PDFs-Using-Python- Install the required package:
pip install -r requirements.txt- Place the PDF files you want to merge in your preferred location.
- Update the file paths in
pdf_merger.py. - Run the script:
python pdf_merger.py- The merged PDF will be created at the output location specified in the script.
- Working with pikepdf library
- Reading and writing PDF files
- File handling in Python
- Automating repetitive tasks
- Merge all PDFs from a folder automatically
- Drag-and-drop support
- Graphical User Interface (GUI)
- Command-line arguments
- Allow users to reorder PDF files before merging
Contributions are welcome! Feel free to fork this repository and submit a pull request.
If you found this project helpful, please consider giving it a ⭐ on GitHub.
This project is licensed under the MIT License.