Metadata-Version: 2.4
Name: countpdfwords
Version: 0.0.1
Summary: Terminal toolkit to count words in one or more PDF files.
Author: Alexander Ezharjan
License: MIT
Project-URL: Homepage, https://github.com/Ezharjan/countpdfwords
Project-URL: Repository, https://github.com/Ezharjan/countpdfwords
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pdfplumber>=0.8.0
Dynamic: license-file

# 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

```bash
pip install countpdfwords
```

> Note: `countpdfwords` installs `pdfplumber` automatically as a dependency.

## Usage

### CLI

```bash
countpdfwords file1.pdf file2.pdf
```

### Python API

```python
from countpdfwords import count_words

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

## License

MIT License © 2026 Alexander Ezharjan
