Metadata-Version: 2.1
Name: pdf-cli
Version: 0.2.0
Summary: command line pdf tools
Home-page: https://github.com/saxix/pdfcli.git
License: MIT
Keywords: pdf
Author: Stefano Apostolico
Author-email: s.apostolico@gmail.com
Requires-Python: >3.6
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: click (>=7.1.1,<8.0.0)
Requires-Dist: pyPdf4 (>=1.27.0,<2.0.0)
Project-URL: Repository, https://github.com/saxix/pdfcli.git
Description-Content-Type: text/markdown

# pdfcli

pdfcli is a command line utility to work with pdf.

It is able to split,join,reorder,extract pdf.

    $ pdfcli --help
    Usage: pdfcli [OPTIONS] COMMAND [ARGS]...
    
    Options:
      --help  Show this message and exit.
    
    Commands:
      decrypt    decrypt pdf
      encrypt    encrypt pdf
      extract    extract one or multiple pages and build a new document.
      info       dump pdf informations.
      join       join multiple pdf together in a single file
      rotate     rotate selected pages Rotate selected pages and outputs in new...
      split      split pdf into single page file
      watermark  use first page of pdf and add it as watermark to other
                 document...
### Examples

Extract pages 1, and from 5 to 9 one file for page

    pdfcli split source.pdf -p 1,5-9
    
Create a new pdf using pages 1, and from 5 to 9 

    pdfcli extract source.pdf  -p 1,5-9 -o new.pdf


