Skip to main content

An experimental alternative of TeX/pdfcrop tool

Project description

pdfcrop

An experimental alternative of TeX/pdfcrop tool

Install from source

pip install git+https://github.com/Jordan-Haidee/pdfcrop.git

Install from PyPI

pip install pdfcrop-cli

Usage

$ pdfcrop.exe --help
usage: pdfcrop [-h] [OPTIONS]

╭─ options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮   -h, --help              show this help message and exit                                                                                           --input PATH, -i PATH   The input pdf file. (required)                                                                                            --output {None}|PATH, -o {None}|PATH                                                                                                                                      The output path. (default: None)                                                                                          --pages {None}|{[INT [INT ...]]}                                                                                                                                          The page numbers to crop. None denotes all pages. (default: None)                                                         --margins {None}|{[INT [INT ...]]}                                                                                                                                        The margins to reserve. None denotes all 0. If one number is given, it will be applied to four borders. (default:                                 None)                                                                                                                    
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ 

You can use examples/example.pdf to test whether pdfcrop works.

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

pdfcrop_cli-0.3.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

pdfcrop_cli-0.3.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file pdfcrop_cli-0.3.0.tar.gz.

File metadata

  • Download URL: pdfcrop_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for pdfcrop_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 520e5aa78c4e792578b70f2348f428fdbd4b7565015df2dca037744e13087eab
MD5 608c781d9b24c3ae9e6bebb140b7001d
BLAKE2b-256 494208f813bce1019e33329c405c888a1e320bb218163c303a2a4cedae8ba87d

See more details on using hashes here.

File details

Details for the file pdfcrop_cli-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pdfcrop_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca68870c3e195633051179c0b7161eb774ef57ced59452280430e061523ec1bd
MD5 09c6c085c96eaa78a4e2dd4b2e4a9f0b
BLAKE2b-256 a2554b46d74e99def931b34cd3e0358fc1f92b68f8fb42e2280b9e4682e1a9ae

See more details on using hashes here.

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