The PDF Management Tool is a Python-based web application designed to help users efficiently manage their PDF documents. It provides an easy-to-use interface for various operations, including:
- Converting PDF to DOCX and DOCX to PDF
- Extracting images from PDFs
- Merging multiple PDFs
- Splitting PDFs into separate files
- Encrypting PDFs with a password
This tool simplifies PDF handling and enhances document accessibility.
Ensure you have Python installed. To install all dependencies, run:
pip install -r requirements.txtPoppler is necessary for processing PDF images.
- Download Poppler for Windows.
- Extract the downloaded files.
- Set the
poppler_pathin the code:poppler_path = r"C:\path\to\poppler\bin"
Install Poppler using the following commands:
sudo apt install poppler-utils # Ubuntu/Debian brew install poppler # macOSpdf_management_tool/ │── static/ # Static assets (CSS, JS) │── templates/ # HTML templates │ ├── index.html │── uploads/ # Temporary storage for uploaded files │── app.py # Flask backend logic │── requirements.txt # Dependencies list │── README.md # Project documentation Follow these steps to set up and run the web application:
git clone https://github.com/prashant-g0/pdf-management-tool-python.git cd pdf-management-toolpip install -r requirements.txtpython app.pyOnce the server starts, open your browser and go to:
http://127.0.0.1:5000/ Developed by Prashant Gupta