A CLI tool for automatically filling PDF forms using Claude
Project description
FormFill
FormFill is a CLI tool that uses LLMs to automatically fill out PDF forms.
Installation
Prerequisites
On Mac, pdf2image requires installation of poppler:
$ brew install poppler
Installing FormFill
$ pip install -e .
Authentication
You must provide your Anthropic API key via environment variable:
$ export ANTHROPIC_API_KEY=sk-ant-api-***
Usage
FormFill can take input data either directly as a string or from a CSV file:
# Using a string input
$ formfill path/to/form.pdf -s "Name: John Smith, Age: 30, Occupation: Engineer"
# Using a file
$ formfill path/to/form.pdf -f data.csv
The filled form will be saved as {original_name}_filled.pdf
in the same directory as the command is run.
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
formfill-0.1.0.tar.gz
(15.0 kB
view hashes)
Built Distribution
formfill-0.1.0-py3-none-any.whl
(18.0 kB
view hashes)