Skip to main content
INSTALLATION

    $ pip3 install pagpdf

HELP

    $ pagpdf -h

USAGE

    $ pagpdf [-h] [-V] [-c] [-n] [-r] [-t] [-T] [file [file ...]]


Print number of PAGes in PDF files.

This simple utility prints file counter, number of pages and filename
for each given pdf file. Fields are separated by a '\t' (horizontal tab)
character.

Non-pdf files are silently skipped.

Empty or erroneous pdf files are reported as containing zero pages.

Examples:

    $ pagpdf * # list number of pages of all pdf files in current path

    $ pagpdf * 2>/dev/null # leave out warnings from pdfrw.PdfReader

POSITIONAL ARGUMENTS

  file                 files to be listed (non-pdf files are silently skipped)

OPTIONAL ARGUMENTS

  -h, --help           show this help message and exit
  -V, --version        show program's version number and exit
  -c, --csv-header     print CSV header as first line (default: don't)
  -n, --sort-by-pages  sort files by number of pages (default: sort by
                       filename)
  -r, --reverse        sort files in descending order (default: sort in
                       ascending order)
  -t, --total-too      print file list and total line (default: print file
                       list)
  -T, --total-only     print total line only (default: print file list)

Metadata

Release files for pagpdf 0.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pagpdf 0.9.2
File Size Uploaded Provenance
pagpdf-0.9.2.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pagpdf 0.9.2
File Interpreter ABI Platform
pagpdf-0.9.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / pagpdf-0.9.2.tar.gz

Download URL pagpdf-0.9.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3d13229f149faa65507cccaac0d0fd29c5ec4d10a0eae11e54ad900b35769100
BLAKE2b-256 checksum
How to use checksums
29d8ef2f3329890b8a1f1db1b7944f68fc4ffd1263a0525f6f69464f305003b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

Release files / pagpdf-0.9.2-py3-none-any.whl

Download URL pagpdf-0.9.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4aa4ac68d5f477effae084ea46ab07bfe87d4b8d3080c7663e9d15a1d73344b
BLAKE2b-256 checksum
How to use checksums
c5461bd48201f5df339134ece54fd785037d4584f0d3527171e09dcf15a74ab5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.23.0

Security for pagpdf 0.9.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page