Installation¶
Requirements¶
- Python 3.10 or newer
- Network access for literature APIs (OpenAlex, Unpaywall) when not in dry-run
- Optional: Ollama or another OpenAI-compatible LLM server
- Optional: NVIDIA GPU / Apple MPS for faster PDF → markdown (Marker)
Create a virtual environment¶
Install LitCurate¶
| Extra | Purpose |
|---|---|
openalex |
OpenAlex client (pyalex) |
dev |
pytest, ruff |
docs |
MkDocs Material (this site) |
Verify:
Optional: local LLM (Ollama)¶
Set OPENAI_API_KEY to any non-empty value in .env (for example ollama). Configure provider / base_url / model in your YAML — see LLM providers.
Check the dry-run¶
Expected
The pipeline completes using sample payloads when dry_run: true in the config. No API keys required for this smoke test.
To run the real pipeline, open configs/config.yaml and change:
Then run the same command:
With dry_run: false, LitCurate performs live searches, network downloads, and
configured LLM calls. Set the required environment variables before running.
Next: First steps.