Split PDFs with multiple student records into individual PDFs.
If the pyPDF program is unavialble or does not work, see these backup instructions
pyPDF_split searches a PDF for the string StudentID:NNNNNNN
and splits the PDF into individual PDFs in a sub-folder with the StudentID embedded in the new file name.
pyPDF_split can handle student IDs in the following formats:
StudentID:123456
;StudentId:123456
;STUDENTID:123456
;studentid:123456
- upper/lower case is ignored in all cases
Student ID:123456
;Student ID: 123456
pyPDF_split pairs nicely with the insertFiles and create_folders scripts.
Contact Information: [email protected]
- Unzip the zip file
- Locate the pyPDF_split application in the newly unzipped folder and drag it into your
Applications
folder - Locate the pyPDF_split application in the
Applications
folder and RIGHT CLICK on the application.
- When prompted, locate a PDF that needs to be split by clicking on the
Browse
button -- this will launch a Finder window allowing you find and choose a single PDF file - Click
Ok
when ready - pyPDF_split will split the PDF into a sub-folder within the same folder as the original pdf:
- Split another PDF by clicking
Browse
orCancel
to quit
Build this script in a pyenv/pipenv with TK built in.
- See this Gist for complete instructions for setting up a working pyenv with TK, pipenv and Jupyter
- Set up a Python 3+ jupyter kernel for further editing from within this repo directory:
$ pipenv --3 install ipykernel
$ projectName=$(basename `pipenv --venv`)
$ pipenv run python -m ipykernel install --user --name="${projectName}"
- Make any edits needed and then rebuild the program with:
$ ./build.sh
- The executable will be created in the
./dist/
folder.