The "Secured2EditablePDF" project is an advanced Python script designed to unlock password-protected PDF files, perform find-replace operations, convert them into editable DOCX and plain text files, and finally organize the output into separate directories.
- Python (version X.X.X)
- Pip (Python package manager)
-
Prerequisites:
- Make sure you have Python installed on your system. You can download Python from the official Python website: python.org/downloads
- Ensure that the
pippackage manager is installed along with Python. You can verify this by runningpip --versionin the terminal/command prompt.
-
Install required packages:
- Open a terminal or command prompt.
- Navigate to the directory where the script is located.
- Run the following command to install the required packages:
pip install -r requirements.txt
-
Run the script:
-
Follow the on-screen prompts:
- The script will guide you through the process of unlocking, converting, and modifying PDF files.
- Unlock password-protected PDFs and create decrypted versions.
- Convert decrypted PDFs to editable DOCX files and text files.
- Perform find-replace operations in DOCX files and text files.
- Organize output by creating separate directories for DOCX, text, and PDF files.
- Automatically install missing Python packages.
- Error handling to handle and display informative error messages.
- Color-coded output for better visibility and distinction.
- This script is provided for educational and hobby purposes only. It is not intended to be used for illegal activities or to remove watermarks from copyrighted materials. Please use this script responsibly and respect intellectual property rights.
- This script was developed as a hobby project to learn Python and explore the capabilities of ChatGPT. It is not intended as a professional-grade tool and may have limitations. Any feedback or suggestions for improvement are welcome.
- If you would like to contribute to this project, please just email me or push updates
- This project is licensed under the MIT License.
- If you have any questions or feedback, feel free to reach out to the project maintainers:
- Spraten - UncraftedSpraten@gmail.com

