simplicity-cli
CLI for AI-assisted PDF form filling through the Simplicity Form-Filler API.
PyPI package name: ai-pdf-filler
Installed command: simplicity-cli
Install
pip install ai-pdf-filler
Or with uv:
uv tool install ai-pdf-filler
Authentication
Create an account and get API keys from simplicity.ai.
Recommended (secure): save once with hidden prompt:
simplicity-cli login
Non-interactive secure input (stdin):
printf '%s' "$SIMPLICITY_AI_API_KEY" | simplicity-cli login --api-key-stdin
Or set env var:
export SIMPLICITY_AI_API_KEY="your_api_key"
Legacy compatibility: global --api-key is still supported, but avoid it because command-line args may leak via shell history and process lists.
Auth precedence:
--api-keySIMPLICITY_AI_API_KEY- saved local key (from
simplicity-cli login,--api-key-stdin, or--api-key)
Quick start
Get a one-page CLI guide:
simplicity-cli help
Create and autofill from a local form PDF using text context:
simplicity-cli new \
--form-file ./form.pdf \
--context "first_name: John; last_name: Smoke; dob: 1990-07-07"
Create and autofill using uploaded source documents:
simplicity-cli new \
--form-file ./form.pdf \
--source-file ./w2.pdf \
--source-file ./drivers_license.pdf
Autofill an existing form:
simplicity-cli existing FORM_ID --context "first_name: John; last_name: Smoke; dob: 1990-07-07"
--context is the source data used to fill form fields.
--instructions is optional guidance for how autofill should behave.
Check or wait on tasks:
simplicity-cli status TASK_ID
simplicity-cli wait TASK_ID
Command reference
For full syntax/examples at any time, run:
simplicity-cli help
new
Create a digital form from a PDF and run autofill.
Common usage:
simplicity-cli new --form-file ./form.pdf --context "first_name: John; last_name: Smoke; dob: 1990-07-07"
simplicity-cli new --form-file ./form.pdf --source-file ./w2.pdf --source-file ./id.pdf
simplicity-cli new --form-url https://example.com/form.pdf --source-url https://example.com/source.pdf
Validation rules:
- Exactly one of
--form-fileor--form-urlis required. - You must provide at least one source via
--source-file/--source-urlor--context/--context-file. --contextand--context-fileare mutually exclusive.--instructionsand--instructions-fileare mutually exclusive.--outputcannot be used with--no-download.
Useful flags:
--no-waitreturns immediately with a task ID.--no-downloadskips PDF download after completion.--output PATHwrites downloaded output to a specific path.--poll-interval-secondsand--max-wait-secondscontrol polling behavior.
existing
Autofill an existing form ID.
Common usage:
simplicity-cli existing FORM_ID --context "first_name: John; last_name: Smoke; dob: 1990-07-07"
simplicity-cli existing FORM_ID --context-file ./context.txt --output ./filled.pdf
simplicity-cli existing FORM_ID --no-wait --no-download
Context and instructions semantics:
--context/--context-fileprovide the data to populate form fields.--instructions/--instructions-fileprovide optional behavior guidance and do not replace form data.
Validation rules:
FORM_IDis required.--contextand--context-fileare mutually exclusive.--instructionsand--instructions-fileare mutually exclusive.--outputcannot be used with--no-download.
status
Get current task details.
simplicity-cli status TASK_ID
wait
Poll until completion, failure, or timeout.
simplicity-cli wait TASK_ID --poll-interval-seconds 2 --max-wait-seconds 1800
Legacy aliases
Backward-compatible nested commands are still accepted:
simplicity-cli fill new ...simplicity-cli fill existing ...simplicity-cli task status ...simplicity-cli task wait ...
Output modes
Human-readable output is default. Use strict JSON for scripts:
simplicity-cli --json status TASK_ID
In --json mode, each command writes exactly one JSON object.
Exit codes
0: success2: usage/validation/auth missing3: auth rejected (401/403)4: API/request error5: task failed6: wait timeout7: download error
Metadata
Release files for ai-pdf-filler 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_pdf_filler-0.1.5.tar.gz | 15.6 kB | Without provenance | Details for ai_pdf_filler-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_pdf_filler-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for ai_pdf_filler-0.1.5-py3-none-any.whl |
Total release size: 31.5 kB
Release files / ai_pdf_filler-0.1.5.tar.gz
| Download URL | ai_pdf_filler-0.1.5.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a037590e638ac38684474174d7858c872f7859758457e89740d8f432934f116b
|
|
BLAKE2b-256 checksum How to use checksums |
da08d1fd4cfb02e6e138fd8bac47b8955558edb71c2b2c2a76a1056ad2991622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Release files / ai_pdf_filler-0.1.5-py3-none-any.whl
| Download URL | ai_pdf_filler-0.1.5-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd7176cfd82366766d25b7639792df76e235f9cfafc9821e06476a6ff857ff33
|
|
BLAKE2b-256 checksum How to use checksums |
10bfd480a7d616594be4f41c55e9ebf3f11d3628a74414a79ed35d071e37f98c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Security for ai-pdf-filler 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.