Skip to content

A series of Python based PDF manipulation utilities. (Work In Progress)

License

Notifications You must be signed in to change notification settings

mholiv/pdf-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf-utils

A utility to handle commonly done PDF related tasks..

Usage

PDF Joining

pdf-utils will enable you to join a directory of PDFs into a singe large pdf.

To use this feature you run the command:

./pdf-utils join myPdfDirectory/ largepdf.pdf

Password Removal

To Be Added

Watermarking

pdf-utils will enable you to watermark pdfs.

Warning: this function will not work with very large PDFs

To use this feature you run the command ./pdf-utils watermark sourcepdf.pdf destinationpdf.pdf 'My watermark string here.'

Linux/OS X Installation (Setup)

  1. Create a directory to set up virtualenv and code.
  • Run the command mkdir pdf-utils
  1. Create a virtual environment using virtualenv and python3
  • Run the command virtualenv -p python3 pdf-utils
  1. Enter and activate the newly created directory.
  • Run the command cd pdf-utils
  • Run the command source bin/activate
  1. Acquire pdf-utils
  • Run the command git clone https://github.com/mholiv/pdf-utils.git
  1. Install the dependencies in the virtual environment.
  • Run the command pip install click pypdf2
  1. Mark 'pdf-utils' as executable.
  • chmod +x pdf-utils

Requirements

  1. Python 3.x
  2. Python package virtualenv
  3. Python package click
  4. Python package pypdf2

About

A series of Python based PDF manipulation utilities. (Work In Progress)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages