Skip to content
/ pdfly Public

Basic CLI tool for extracting and merging PDFs

License

Notifications You must be signed in to change notification settings

jabalazs/pdfly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdfly

Simple script for extracting pages from or merging PDF files.

Dependencies

  • Python 3
  • pikepdf

Installation

git clone https://github.com/jabalazs/pdfly
cd pdfly
pip install -r requirements.txt

Usage Examples

Extracting pages

To extract the first 3 pages of document1.pdf and save them as out.pdf we can execute:

python pdfly.py extract document1.pdf out.pdf 1 3

Merging PDF files

To merge document1.pdf, document2.pdf and document3.pdf into merged.pdf we can execute:

python pdfly.py merge document1.pdf document2.pdf document3.pdf -o merged.pdf

About

Basic CLI tool for extracting and merging PDFs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages