Split a fat scanned PDF of stapled documents into separate files.
You fed a stack of mail into the scanner and got one big PDF. unstaple reads the text layer, finds where one document ends and the next begins, and writes each out separately with sensible names.
Available on PyPI
AI-assisted boundary detection
Preserves text layers in output PDFs