This is a standalone PDF splitter based on patterns.
- Python 3.8+
- pypdf
- rclone (optional, if you want uploads/links)
python3 pdf_splitter.py --input path/to/input.pdf --output-dir var/output --as csv
To upload outputs via rclone and get links:
python3 pdf_splitter.py --input path/to/input.pdf --output-dir var/output --as csv --rclone remote:folder
Notes
- The script looks for the pattern YYYY-NNNNN and an "overview" text block by default.