Skip to main content

A pure-python CLI application to manipulate PDF files

Project description

Code style: black PyPI version GitHub last commit Python Support

pdfly

pdfly (say: PDF-li) is a pure-python cli application for manipulating PDF files.

Installation

pip install -U pdfly

As pdfly is an application, you might want to install it with pipx.

Usage

$ pdfly --help
Usage: pdfly [OPTIONS] COMMAND [ARGS]...

  pdfly is a pure-python cli application for manipulating PDF files.

Options:
  --version
  --help     Show this message and exit.

Commands:
  2-up            Create a booklet-style PDF from a single input.
  cat             Concatenate pages from PDF files into a single PDF file.
  compress        Compress a PDF.
  extract-images  Extract images from PDF without resampling or altering.
  extract-text    Extract text from a PDF file.
  meta            Show metadata of a PDF file

You can see the help of every subcommand by typing:

$ pdfly 2-up --help
Usage: pdfly 2-up [OPTIONS] PDF OUT

  Create a booklet-style PDF from a single input.

  Pairs of two pages will be put on one page (left and right)

  usage: python 2-up.py input_file output_file

Arguments:
  PDF  [required]
  OUT  [required]

Options:
  --help  Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfly-0.0.8.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

pdfly-0.0.8-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page