PDF editor is a Python project that is used to edit PDF files through various ways, by using graphics (pygame) and various other python libraries to access the PDFs.
By using PDF editor you will be able to:
- Convert an image to PDF
- Split a PDF file into its pages
- Merge two or more PDF files into one new file
- Detect words inside a PDF file
- Extract tables from PDF files (beta)
Ensure you have Python installed on your system. You can download it from python.org.
-
Clone the repository:
git clone https://github.com/etecnos/pdfeditor.git cd pdfeditor
-
Install the required Python libraries:
pip install PyPDF2 Pillow tabula-py pygame
-
Run the main program:
python main.py
-
Convert an Image to PDF:
- Select the first image to convert an image to a PDF.
-
Split a PDF File:
- Select the second image to split a PDF file into its pages.
-
Merge PDF Files:
- Select the third image to merge multiple PDF files into one.
-
Detect Words in a PDF:
- Select the fourth image to search for specific words in a PDF.
-
Extract Tables from PDF:
- Select the fifth image to extract tables from a PDF (beta).
The following window will open while running main.py:
Each image corresponds to a certain function executed by the program. After finishing an operation you can close the window and have your PDF ready!
Thank you for considering contributing to PDF Editor! Here are some guidelines to help you get started:
- Fork the repository.
- Clone your fork:
git clone https://github.com/your-username/pdfeditor.git
- Create a branch for your feature or bug fix:
git checkout -b feature-name
- Make your changes.
- Commit your changes:
git commit -am 'Add new feature'
- Push to the branch:
git push origin feature-name
- Create a pull request.
Please ensure that your code passes all tests before submitting a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Massive thanks to Jimvar
~eTecnos