Skip to main content

countpdfwords

countpdfwords is a lightweight command-line tool and Python package for counting words in PDF files.

Source code: https://github.com/Ezharjan/countpdfwords

Features

  • Count words in a single PDF file
  • Count words in multiple PDF files in one run
  • Outputs results as a simple table
  • Provides package API for integration in other Python scripts

Installation

pip install countpdfwords

Note: countpdfwords installs pdfplumber automatically as a dependency.

Usage

CLI

countpdfwords file1.pdf file2.pdf

Python API

from countpdfwords import count_words

count = count_words("file1.pdf")
print(count)

License

MIT License © 2026 Alexander Ezharjan

Release files for countpdfwords 0.0.1

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

Source distribution (sdist)

Source distribution for countpdfwords 0.0.1
File Size Uploaded
countpdfwords-0.0.1.tar.gz 3.4 kB Details

Built distribution (wheel)

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

Total release size: 7.7 kB

Release files / countpdfwords-0.0.1.tar.gz

Download URL countpdfwords-0.0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4e8470fa29c1fb1a122ad1ff06904f3d4084e589aff450a23bd85586d7dc9ac1
BLAKE2b-256 checksum
How to use checksums
10c1321dc47fcf1317a26d7dae62fd7abae71f4a12dec6e12d1168fcc7b82203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / countpdfwords-0.0.1-py3-none-any.whl

Download URL countpdfwords-0.0.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a4228cc599d43dfe6b6608ccc5a5fc8a44f96dddf53c3ee72a498d6b234bb99
BLAKE2b-256 checksum
How to use checksums
79c80acf28428b96f00e9cfc927092b50e8da8a04915183344dca6b1924742e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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