PDF Extractor Docs

Start the application

Local setup

Requirements

  • Python 3.11 or later.
  • The uv command.
  • A LlamaCloud API key for live extraction.

Steps

  1. Open a PowerShell terminal in the project directory.
  2. Copy .env.example to .env.
  3. Set LLAMA_CLOUD_API_KEY in .env.
  4. Run uv sync.
  5. Run uv run first.
  6. Open http://127.0.0.1:8000.

Useful commands

uv sync
uv run first
uv run python -m compileall -q src

Local data

The application creates data/extractor.db when it starts. This file contains local job records and extracted JSON. Keep this file private.