# FormFill
FormFill is a CLI tool that uses LLMs to automatically fill out PDF forms.
## Installation
### Prerequisites
On Mac, pdf2image requires installation of poppler:
```bash
$ brew install poppler
```
### Installing FormFill
```bash
$ pip install -e .
```
### Authentication
You must provide your Anthropic API key via environment variable:
```bash
$ export ANTHROPIC_API_KEY=sk-ant-api-***
```
## Usage
FormFill can take input data either directly as a string or from a CSV file:
```bash
# 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "formfill",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "pdf form fill automation claude anthropic",
"author": "William Horton",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/15/6b/4e49198be7c607c7120d5fb6e224a8ff4e071c535740045d2815c7927776/formfill-0.1.0.tar.gz",
"platform": null,
"description": "# FormFill\n\nFormFill is a CLI tool that uses LLMs to automatically fill out PDF forms.\n\n## Installation\n\n### Prerequisites\n\nOn Mac, pdf2image requires installation of poppler:\n```bash\n$ brew install poppler\n```\n\n### Installing FormFill\n\n```bash\n$ pip install -e .\n```\n\n### Authentication\n\nYou must provide your Anthropic API key via environment variable:\n```bash\n$ export ANTHROPIC_API_KEY=sk-ant-api-***\n```\n\n## Usage\n\nFormFill can take input data either directly as a string or from a CSV file:\n\n```bash\n# Using a string input\n$ formfill path/to/form.pdf -s \"Name: John Smith, Age: 30, Occupation: Engineer\"\n\n# Using a file\n$ formfill path/to/form.pdf -f data.csv\n```\n\nThe filled form will be saved as `{original_name}_filled.pdf` in the same directory as the command is run.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A CLI tool for automatically filling PDF forms using Claude",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [
"pdf",
"form",
"fill",
"automation",
"claude",
"anthropic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "61f8e29df6971b325a9bfbdf20334f0ba408e81ff340d7b4227a6a2275381045",
"md5": "e39161cbfd4ae8545d6300fa895da3f4",
"sha256": "3f8244a8759d8a56b81274881fcd7628fa6138d3f72794aaef1ab1cf0d870286"
},
"downloads": -1,
"filename": "formfill-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e39161cbfd4ae8545d6300fa895da3f4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 17998,
"upload_time": "2024-10-28T01:59:49",
"upload_time_iso_8601": "2024-10-28T01:59:49.780730Z",
"url": "https://files.pythonhosted.org/packages/61/f8/e29df6971b325a9bfbdf20334f0ba408e81ff340d7b4227a6a2275381045/formfill-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "156b4e49198be7c607c7120d5fb6e224a8ff4e071c535740045d2815c7927776",
"md5": "3340634ce107bc51e450b835b3ee76bb",
"sha256": "cb54762d1d75830637dfa648d3fb67e00ff82547f1a83cfec0dd59415f8185fd"
},
"downloads": -1,
"filename": "formfill-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "3340634ce107bc51e450b835b3ee76bb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 15026,
"upload_time": "2024-10-28T01:59:51",
"upload_time_iso_8601": "2024-10-28T01:59:51.372269Z",
"url": "https://files.pythonhosted.org/packages/15/6b/4e49198be7c607c7120d5fb6e224a8ff4e071c535740045d2815c7927776/formfill-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-28 01:59:51",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "formfill"
}