Skip to content

Suresh-Chaudhary-9315/PDF-Merger-Using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📄 Merge Multiple PDFs Using Python

A simple Python project that demonstrates how to merge multiple PDF files into a single PDF using the pikepdf library.

🚀 Features

  • Merge multiple PDF files into one document
  • Preserves the original page order
  • Lightweight and beginner-friendly
  • Easy to customize for your own projects

🛠️ Tech Stack

  • Python 3
  • pikepdf

📁 Project Structure

.
├── pdf_merger.py
├── requirements.txt
├── .gitignore
└── README.md

📦 Installation

  1. Clone the repository:
git clone https://github.com/Suresh-Chaudhary-9315/PDF-Merger-Using-Python.git
  1. Navigate to the project folder:
cd Merge-Multiple-PDFs-Using-Python
  1. Install the required package:
pip install -r requirements.txt

▶️ Usage

  1. Place the PDF files you want to merge in your preferred location.
  2. Update the file paths in pdf_merger.py.
  3. Run the script:
python pdf_merger.py
  1. The merged PDF will be created at the output location specified in the script.

📚 What You'll Learn

  • Working with pikepdf library
  • Reading and writing PDF files
  • File handling in Python
  • Automating repetitive tasks

💡 Future Improvements

  • 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

🤝 Contributing

Contributions are welcome! Feel free to fork this repository and submit a pull request.

⭐ Support

If you found this project helpful, please consider giving it a ⭐ on GitHub.

📄 License

This project is licensed under the MIT License.

About

Merge multiple PDF files into a single PDF using Python and pikepdf.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages