Skip to content

mvarshney/pdf_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Tool

A command-line tool for PDF manipulation, built as a self-contained executable.

Installation

./install.sh

Usage

# Remove 36 points from all sides
pdf-tool document.pdf 36 36

# Remove different margins: left=20, top=30, right=25, bottom=35
pdf-tool document.pdf 20 30 25 35

# Works with absolute paths
pdf-tool /path/to/file.pdf 50 40

Features

  • ✅ Self-contained executable (no Python installation required)
  • ✅ Fast startup (~0.1-0.3 seconds)
  • ✅ Works from any directory
  • ✅ Error handling and validation

Examples

# Crop margins from a report
pdf-tool report.pdf 36 36

# Remove header/footer space
pdf-tool document.pdf 0 50 0 30

# Symmetric cropping
pdf-tool presentation.pdf 25 25

Development

Rebuilding:

./install.sh

Manual build:

pyinstaller pdf-tool.spec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published