Combine all the PDFs on working directory /archivos_pdfs into a single PDF on parent folder
This project was build with the use of:
- Python v3.11.4
Create a Python virtual environment
OS X & Linux:
$ python -m venv ./venv
$ source ./venv/bin/activate
$ pip install --upgrade pip
$ pip3 install -r requirements.txt
(venv) $
Windows:
$ python -m venv venv
$ .\venv\Scripts\activate
$ pip3 install -r requirements.txt
(venv) $
Windows 10 with Git bash terminal:
$ python -m venv venv
$ source ./venv/Scripts/activate
$ pip3 install -r requirements.txt
(venv) $
Windows 10 with powershell terminal:
PS> python -m venv venv
PS> .\.venv\Scripts\Activate.ps1
PS> pip3 install -r requirements.txt
(.venv) PS>
This prompt may vary if you use another shell configuration, like pk10 or git bash
Later, to deactivate the virtual environment OS X & Linux & Windows:
(venv) $ deactivate
$
Before run this project, be sure this folder exist:
- archivos_pdfs/
Copy some PDF files on this folder
Then, you can execute the program:
python combine_pdfs.py
python combine_pdfs.py
- ./PDF_combinado.pdf, PDF file with the merge document from all the extracted pages
- Fork it (https://github.com/FernandoTorresL/combine_pdfs/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request