Terminal toolkit to count words in one or more PDF files.
Project description
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:
countpdfwordsinstallspdfplumberautomatically 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file countpdfwords-0.0.1.tar.gz.
File metadata
- Download URL: countpdfwords-0.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e8470fa29c1fb1a122ad1ff06904f3d4084e589aff450a23bd85586d7dc9ac1
|
|
| MD5 |
f800bc535c4bd2f1ef3ea73c22579b9a
|
|
| BLAKE2b-256 |
10c1321dc47fcf1317a26d7dae62fd7abae71f4a12dec6e12d1168fcc7b82203
|
File details
Details for the file countpdfwords-0.0.1-py3-none-any.whl.
File metadata
- Download URL: countpdfwords-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a4228cc599d43dfe6b6608ccc5a5fc8a44f96dddf53c3ee72a498d6b234bb99
|
|
| MD5 |
843a416dc84d4c050f00f044cdd59274
|
|
| BLAKE2b-256 |
79c80acf28428b96f00e9cfc927092b50e8da8a04915183344dca6b1924742e5
|