A pthyon script that splits a pdf-file into it's pages and writes the pages as separate file into a newly created subfolder. Uses PyPDF2 3. Simply provide the pdf to be split as an argument when executing the script. The subfolder will be named after the original file.
python3 split.py file.pdf