Skip to content

strahb/paperless-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PDF Splitter, Renamer, and Uploader

The script automatically splits, renames, and uploads the PDF pages to a defined Paperless-NGX instance.


Prerequisites

  • Python 3.8 or higher
  • Pip-installed dependencies:
    • pypdf
    • requests
    • python-dotenv

Environment Variables

Use a .env file in the root of your project to configure the following variables:

API_BASE_URL=https://your-paperless-ngx-instance.com/api/documents/
API_TOKEN=your_api_token
CONSUME_FOLDER=/path/to/input/folder
OUTPUT_FOLDER=/path/to/output/folder

About

Takes the PDFs in a consume folder, splits and uploads them to a paperless-ngx endpoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages