If you ever need to remove solutions from an exam solutions PDF so you can take the exam, try this script!
It scrubs out colorful text from a PDF. Generally, solutions are printed in color.
Run pip install -r requirements.txt
to install the requirements and then run ./remove-solutions with-solutions.pdf without-solutions.pdf