Skip to content

Initial release

Latest

Choose a tag to compare

@Inggo Inggo released this 09 Feb 15:18
· 1 commit to main since this release

pdfsplitter-cli

This is a standalone PDF splitter based on patterns.

Requirements

  • Python 3.8+
  • pypdf
  • rclone (optional, if you want uploads/links)

Usage

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.