Skip to main content

command line pdf tools

Project description

pdf-cli

Pypi Test coverage Documentation Supported Python versions

pdfcli is a command line utility to work with pdf.

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

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

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

Commands:
  decrypt    Remove password protection from PDF files.
  encrypt    Add password protection to PDF files.
  extract    extract one or multiple pages and build a new document.
  info       dump pdf information.
  join       join multiple pdf together in a single file.
  ocr        Extract text from PDF using OCR (requires tesseract)
  rotate     Rotate selected pages and outputs in new pdf
  split      split pdf into multiple 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

pdf split source.pdf -p 1,5-9

Create a new pdf using pages 1, and from 5 to 9

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

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

pdf_cli-1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf_cli-1.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file pdf_cli-1.0.tar.gz.

File metadata

  • Download URL: pdf_cli-1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pdf_cli-1.0.tar.gz
Algorithm Hash digest
SHA256 c3fdb70af7157a58e8c7313f4094b0da039bb2f9eb58e446c874df73bef47cca
MD5 990615c599d5aabf70fc06528644aa89
BLAKE2b-256 b321ed693faabca9255cba694b07e9f283ec6a5a8492dac9248c69738b5bea45

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdf_cli-1.0.tar.gz:

Publisher: release.yml on saxix/pdfcli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pdf_cli-1.0-py3-none-any.whl.

File metadata

  • Download URL: pdf_cli-1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pdf_cli-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48e07a0cfe647c725af93f6bf4929b90e5ff6dace0a5b7cb95931a73640480cb
MD5 e20b412d9b64078e3d99e6c9f2b4c481
BLAKE2b-256 6350d0f498695a5f7b565ad891efd1af86fc2794f04f3755b7b0f26d5bf953ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdf_cli-1.0-py3-none-any.whl:

Publisher: release.yml on saxix/pdfcli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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