🛠️Installation
There are several ways to install LatteReview:
1. Install from PyPI (Recommended)¶
You can also install additional features using these extras:
# Development tools
pip install "lattereview[dev]"
# Documentation tools
pip install "lattereview[docs]"
# All extras
pip install "lattereview[all]"
2. Install from Source Code¶
Option A: Using Git¶
Option B: Using ZIP Download¶
- Go to https://github.com/PouriaRouzrokh/LatteReview
- Click the green "Code" button
- Select "Download ZIP"
- Extract the ZIP file and navigate to the directory:
After obtaining the source code through either option, you can install it using one of these methods:
# Basic installation
pip install .
# Development installation (editable, with all optional dependencies)
pip install -e ".[all]"
You can also install directly from GitHub without cloning:
Verify Installation¶
Requirements¶
- Python 3.10 or later (on Python 3.9,
pipinstalls LatteReview 1.1.1, the last release that supports it) - Core dependencies (automatically installed):
- litellm (>=1.94.0)
- openai (>=1.57.4)
- google-genai (>=1.51.0)
- ollama (>=0.5.3)
- pandas (>=2.2.2)
- pydantic (>=2.10.3)
- And others as specified in
pyproject.toml
Set Up API Keys¶
To call hosted LLMs you need API keys for the providers you plan to use (e.g., OPENAI_API_KEY, GEMINI_API_KEY, ANTHROPIC_API_KEY). See Step 1 of the Quick Start guide for the details. No keys are needed for local models served through Ollama.
Troubleshooting¶
If you encounter installation issues: