PDF Auto Highlighter
Project description
pah
PDF Auto Highlighter
Usage
pip install pah
As a CLI tool
$ uv run pah --help
usage: pah [-h] --output OUTPUT --model MODEL [--output-highlights OUTPUT_HIGHLIGHTS] [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}] input_pdf_path
pah: PDF AutoAuto Highlighter
positional arguments:
input_pdf_path Input PDF file
options:
-h, --help show this help message and exit
--output, -o OUTPUT Output PDF file with highlights
--model, -m MODEL LLM model to use (See https://litellm.vercel.app/docs/providers)
--output-highlights OUTPUT_HIGHLIGHTS
Output JSON file for highlights
--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
Logging level
pah input.pdf --output_pdf_path output.pdf --llm_model gpt-4o
As a Python library
from pah import PAH
pah = PAH(
input_pdf_path="input.pdf",
output_pdf_path="output.pdf",
llm_model="gpt-4o",
output_highlights_path="highlights.json"
)
pah.highlight()
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
pah-1.1.4.tar.gz
(46.3 kB
view details)
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
pah-1.1.4-py3-none-any.whl
(7.4 kB
view details)
File details
Details for the file pah-1.1.4.tar.gz.
File metadata
- Download URL: pah-1.1.4.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ce77aa4e1e108802bf5d2cba7f286baaa881f8bf9edb8f00ed763930398bbce
|
|
| MD5 |
3c4dbd74525d9a28c46447362e3395bc
|
|
| BLAKE2b-256 |
84a314cd49f91a056cb6fb2b063524e6b14c597b4436fb287e8822c7367aae6e
|
File details
Details for the file pah-1.1.4-py3-none-any.whl.
File metadata
- Download URL: pah-1.1.4-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d443cc753f95213d562f2949dbf9977421509f337522f76e03d65efb71a96a49
|
|
| MD5 |
cec0cf3ab20efd72ecad177ae1b9bc25
|
|
| BLAKE2b-256 |
fb8f7c65b11a29a495689c09e2c4eb0fd900167d771748c5f171ea4d72915055
|